Set Video Protection
PUT/v1/videos/:id/protection/
Encrypts its files (AES-128 or DRM), or keeps them in clear: every format is encoded again, and it doesn't play until one is. 400 for DRM where this server doesn't offer it, or if its storage has a public URL its CDN doesn't sign; 409 while it's encoding. Answers with the whole video.
Request
Responses
- 200
- 401
- 403
- 404
- 422
Successful Response
No token, or it's expired or revoked
The token's role is too low
It doesn't exist, or isn't in the token's project
Validation Error