createVideo

post

createVideo

Allow the creation of a Video metdata. To create successfully, the following input parameters are mandatory: name, category, subCategory, libraryUuid and tags.

Approach is to create a Library and retrieve the libraryUuid, prior to creating a Video metadata. Once the Video metadata has been created, proceed to upload the video asset using uploadMedia API.

Resource URL

https://tih-api.stb.gov.sg/media /v1/admin/video

Body Parameters

Name Values Description
video
(required)

Example

JSON which holds all the properties of the Video to be created

Request Attributes

Parameter Name Type Max Length Description Example

Response Error Details

HTTP Code Error Code Description
400 400 Bad Request
401 401 Unauthorized
404 404 Not found
409 409 Conflict
410 410 XSS Threat Detected

Resource Summary

Security Content Type Category

application/json

Video

Working...