Party Controller
Change Party Access Level
Path: /api/party/access
Method: POST
Example Http Request
POST /api/party/access HTTP/1.1
Content-Type: application/json
Content-Length: 416
Host: localhost:8080
{"notificationType":null,"fromPlayerId":null,"toPlayerId":null,"partyInfo":{"timestamp":null,"partyId":null,"hostPlayerId":null,"partyName":null,"accessType":"PUBLIC","partyPeople":null,"partyStatus":null,"hostPeerId":null,"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: 335
{"timestamp":"03/12/2025 12:36:57.906","partyId":"eeb1dbe9-9354-406e-943f-ac97e6f1c60f","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/access' -i -X POST \
-H 'Content-Type: application/json' \
-d '{"notificationType":null,"fromPlayerId":null,"toPlayerId":null,"partyInfo":{"timestamp":null,"partyId":null,"hostPlayerId":null,"partyName":null,"accessType":"PUBLIC","partyPeople":null,"partyStatus":null,"hostPeerId":null,"hostAudioStatus":null,"hostPartyCallStatus":null,"partyActivities":null,"partyApps":null},"fromPlayerPeerId":null,"textMessage":null,"dataMessage":null,"sessionId":null,"rejectedPartyId":null}'
Party Controller Footer