Watch a movie from the dashboard
POST
/movies/{id}/preview/write Change: creates or edits. Scopes
A short-lived link to play the movie yourself. It opens a viewing session, closed with DELETE on the same address (opening another title closes it too). A title played by redirect answers its source link and no session.
Path parameters
idstring (uuid)requiredThe movie's id.
Response
200 OK
urlstringrequiredThe link to open in a player. It works for a short while.
session_idstringrequiredcan be nullThe viewing session it opened, to close with DELETE on the same address. Null for a title played by redirect.
serverstringThe playing server's instance id.
containerstringvideo_codecstringaudio_codecstringduration_secondsintegercan be null
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 409 No file is ready yet.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.
- 503 No server can play it now.