Party Controller

Start Party

Path: /api/party/start

Method: POST

Example Http Request

POST /api/party/start HTTP/1.1
Content-Type: application/json
Content-Length: 436
Host: localhost:8080

{"notificationType":null,"fromPlayerId":null,"toPlayerId":null,"partyInfo":{"timestamp":null,"partyId":null,"hostPlayerId":null,"partyName":"My Party","accessType":"PRIVATE","partyPeople":[],"partyStatus":null,"hostPeerId":"TheHostPeerID1234","hostAudioStatus":null,"hostPartyCallStatus":null,"partyActivities":null,"partyApps":null},"fromPlayerPeerId":null,"textMessage":null,"dataMessage":null,"sessionId":null,"rejectedPartyId":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: 325

{"timestamp":"25/01/2026 17:06:11.237","partyId":"872b538c-f4ce-4e88-8184-00d1a32dff81","hostPlayerId":"null","partyName":"My Party","accessType":"PRIVATE","partyPeople":[],"partyStatus":"STARTED","hostPeerId":"TheHostPeerID1234","hostAudioStatus":null,"hostPartyCallStatus":"CONNECTED","partyActivities":[],"partyApps":null}

Example Curl Request

$ curl 'http://localhost:8080/api/party/start' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"notificationType":null,"fromPlayerId":null,"toPlayerId":null,"partyInfo":{"timestamp":null,"partyId":null,"hostPlayerId":null,"partyName":"My Party","accessType":"PRIVATE","partyPeople":[],"partyStatus":null,"hostPeerId":"TheHostPeerID1234","hostAudioStatus":null,"hostPartyCallStatus":null,"partyActivities":null,"partyApps":null},"fromPlayerPeerId":null,"textMessage":null,"dataMessage":null,"sessionId":null,"rejectedPartyId":null}'

Party Controller Footer