Party Controller
Reject Join Request
Path: /api/party/join-request/reject
Method: POST
Example Http Request
POST /api/party/join-request/reject HTTP/1.1
Content-Type: application/json
Content-Length: 228
Host: localhost:8080
{"notificationType":null,"fromPlayerId":"test-player-bb6ec91e-e78d-4006-9a20-86cb05bc380f","toPlayerId":null,"partyInfo":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":"24/09/2026 08:31:31.818","partyId":"896c004e-3820-452d-ae0f-f42b3b6dae8f","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/join-request/reject' -i -X POST \
-H 'Content-Type: application/json' \
-d '{"notificationType":null,"fromPlayerId":"test-player-bb6ec91e-e78d-4006-9a20-86cb05bc380f","toPlayerId":null,"partyInfo":null,"fromPlayerPeerId":null,"textMessage":null,"dataMessage":null,"sessionId":null,"rejectedPartyId":null}'
Party Controller Footer