Video
Duplicate a video
POST
Create a copy of a local video, in the same channel.
The copy of a blocked video (that only moderators can duplicate) is blocked for the same reason.
Body
application/json
namestringName of the copy. Defaults to the name of the source video followed by "(Copy)"
Parameters
idid | UUIDv4 | shortUUIDrequiredpathThe object id, uuid or short uuid
Response
successful operation. Returns the identifiers of the new video
400Bad Request
incorrect parameters
403Forbidden
the user cannot manage this video, the video is not local, or the video is blocked and the user cannot manage blocks
404Not Found
video not found
409Conflict
video is already being processed
413Payload Too Large
the user video quota is exceeded
Authorization
OAuth2oauth2Authenticating via OAuth requires the following steps:
- Have an activated account
- Generate an access token for that account at
/api/v1/users/token. - Make requests with the Authorization: Bearer <token> header
- Profit, depending on the role assigned to the account
Note that the access token is valid for 1 day and is given along with a refresh token valid for 2 weeks.