Watch parties
Stay in without a stream
Stay in a watch party without an event stream
POST
Needs no token. For a player that cannot hold GET /v1/parties/{token}/events open: the first call joins as the stream does, and each call keeps the member in for 45 seconds and returns the party, its newest messages, and where it is. Ask every 2 seconds or so; compare state.version and message ids with what you have. Send POST /v1/parties/{token}/leave when the player closes. 403 when 10 guests are in.
token*stringLength
1 <= length <= 100application/json- body
memberKey*stringLength
16 <= length <= 100name?stringLength
1 <= length <= 40The party
application/json- response
hostName*string|nullfile*state*stateBy*|nullmembers*array<>memberId*string|nullmessages*array<>maxGuests*integercanJoin*booleanhostHere*booleanserverTime*integercurl -X POST 'https://fastwater.app/v1/parties/string/presence' \ -H 'Content-Type: application/json' \ -d '{ "memberKey": "stringstringstri"}'Example Response
{ "hostName": "string", "file": { "id": "string", "name": "string", "sizeBytes": 0, "type": "video", "playable": true, "durationSeconds": 0, "media": { "titleId": "string", "kind": "movie", "title": "string", "year": 0, "season": 0, "episode": 0, "episodeName": "string", "stillPath": "string", "posterPath": "string", "backdropPath": "string", "logoPath": "string" }, "thumbnailUrl": "string" }, "state": { "fileId": "string", "playing": true, "positionSeconds": 0, "updatedAt": 0, "version": 0, "hostOnly": true }, "stateBy": { "id": "string", "name": "string", "host": true }, "members": [ { "id": "string", "name": "string", "host": true } ], "memberId": "string", "messages": [ { "id": "string", "memberId": "string", "name": "string", "text": "string", "sentAt": "2019-08-24T14:15:22Z" } ], "maxGuests": 0, "canJoin": true, "hostHere": true, "serverTime": 0}