Party Controller
End Party Activity
Path: /api/party/end-activity
Method: POST
Example Http Request
POST /api/party/end-activity HTTP/1.1
Content-Type: application/json
Content-Length: 159
Host: localhost:8080
{"activityId":"d1b42578-63d5-4b3f-8c50-9d4b9933689a","fromPlayerId":null,"partyActivityCode":null,"message":null,"sessionId":null,"timestamp":null,"data":null}
Example Http Response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 335
{"timestamp":"26/11/2026 02:01:19.017","partyId":"864d87f4-0998-428c-8722-f5aa37eee2aa","hostPlayerId":"null","partyName":"My Party","accessType":"PRIVATE","partyPeople":[],"partyStatus":"STARTED","hostPeerId":"UpdatedGuestPeerID5678","hostAudioStatus":"DEFAULT","hostPartyCallStatus":"CONNECTED","partyActivities":[],"partyApps":null}
Example Curl Request
$ curl 'http://localhost:8080/api/party/end-activity' -i -X POST \
-H 'Content-Type: application/json' \
-d '{"activityId":"d1b42578-63d5-4b3f-8c50-9d4b9933689a","fromPlayerId":null,"partyActivityCode":null,"message":null,"sessionId":null,"timestamp":null,"data":null}'
Party Controller Footer