createImage
post
createImage
Allow the creation of an Image metadata. 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 an Image metadata. Once the Image metadata has been created, proceed to upload the image asset using uploadMedia API.
Approach is to create a Library and retrieve the libraryUuid, prior to creating an Image metadata. Once the Image metadata has been created, proceed to upload the image asset using uploadMedia API.
Resource URL
https://tih-api.stb.gov.sg/media /v1/admin/image
Body Parameters
Example
JSON which holds all the properties of the Image 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 |
Image |
Working...