Videos
Update a discarded video object
Restore a discarded video
patch/discarded/videos/{videoId}
Path parameters
videoIdstring required
The video ID for the video you want to restore.
Request body
Example request
{
"discarded": false
}Response
Success
Example response
{
"videoId": "vi4k0jvEUuaTdRAEjQ4Jfrgz",
"title": "Maths video",
"description": "An amazing video explaining the string theory",
"language": "en",
"languageOrigin": "api",
"tags": [
"maths",
"string theory",
"video"
],
"metadata": [
{
"key": "Author",
"value": "John Doe"
},
{
"key": "Format",
"value": "Tutorial"
}
],
"createdAt": "2024-03-03T12:52:03+00:00",
"publishedAt": "2024-07-14T23:36:07+00:00",
"discarded": false,
"discardedAt": null,
"deletesAt": null,
"actions": [
"video_delete",
"video_download",
"video_update"
]
}Changes
Changed in 3 of the 50 revisions of this API.13
- ○
added the optional property
languageto the response with the200statusresponse-optional-property-added
- ○
added the optional property
languageOriginto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 32 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 50 revisions, 1 has no diff computed.