Party Controller

Send Party Activity Message

Path: /api/party/activity-message

Method: POST

Example Http Request

POST /api/party/activity-message HTTP/1.1
Content-Type: application/json
Content-Length: 189
Host: localhost:8080

{"activityId":"4de8da62-1802-43c8-a11c-68cdffd5aeb0","fromPlayerId":null,"partyActivityCode":"GAME_ACTION","message":"Player performed action","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: 253

{"recipients":[],"partyActivityMessage":{"activityId":"4de8da62-1802-43c8-a11c-68cdffd5aeb0","fromPlayerId":"null","partyActivityCode":"GAME_ACTION","message":"Player performed action","sessionId":null,"timestamp":"03/12/2025 12:36:58.280","data":null}}

Example Curl Request

$ curl 'http://localhost:8080/api/party/activity-message' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"activityId":"4de8da62-1802-43c8-a11c-68cdffd5aeb0","fromPlayerId":null,"partyActivityCode":"GAME_ACTION","message":"Player performed action","sessionId":null,"timestamp":null,"data":null}'

Party Controller Footer