Watch parties
Join and follow a party
Join a watch party and follow it
GET
Needs no token. Server-Sent Events, each data one JSON event: snapshot first, and again when the host changes the video; state when anyone plays, pauses, or seeks; members; message; ping every 15 seconds with the server's time; ended last. The member key is the member: make a random one per device and keep it. The member is in the party while the stream is open. 403 when 10 guests are in.
token*stringLength
1 <= length <= 100memberKey*stringLength
16 <= length <= 100name?stringLength
1 <= length <= 40The event stream
text/event-stream- response
type*"snapshot"Value in
"snapshot"party*curl -X GET 'https://fastwater.app/v1/parties/string/events?memberKey=stringstringstri'Example Response
{ "type": "snapshot", "party": { "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 }, "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 }}