Add rendition to a given item.

post

/content/management/api/v1.1/items/{id}/renditions

This is applicable only for Video plus items of DigitalAssetType category and only supports Asynchronous mode of interaction

Request

Supported Media Types
Path Parameters
Query Parameters
Header Parameters
Body ()
Rendition is added based on the given information in the payload.
Root Schema : rendition
Type: object
rendition
Show Source
Nested Schema : formats
Type: array
formats of the rendition
Show Source
Nested Schema : renditionSource
Type: object
renditionSource
Show Source
Nested Schema : RenditionFormatBean
Type: object
Show Source
Nested Schema : Metadata
Type: object
Metadata
Show Source
Back to Top

Response

Supported Media Types

202 Response

Accepted.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

Example:

The following example shows how to add rendition to an item by submission of a POST request on the REST resource using cURL:

curl -X POST -H 'Content-Type: application/json' -H 'X-Requested-With: XMLHttpRequest' 'https://host:port/content/management/api/v1.1/items/CONTFFFEC388CFD044D8A34D2F8C46EA5786/renditions'

This add a new rendition to an item from an external source. Replace payload with your own data.

Request Payload

{
  "name": "renditionName",
  "source": {
    "externalId": "2342135",
    "storageProvider": "kaltura"
  }
}

Request Headers

{
     "Content-Type": "application/json",
     "X-Requested-With": "XMLHttpRequest"
}

Response Headers

{
   "Location": "https://<hostname>/content/management/api/v1.1/items/CONTFFFEC388CFD044D8A34D2F8C46EA5786/renditions/.status/205D91EAEEDD46E8AEF6065EDBD1BED2"
}
Back to Top