v1
latestOpenAPI 3.0.02026-07-2417611.8 MBRetrieve an existing rendition.
Use this endpoint to retrieve an existing rendition from the database. Access the rendition applied through the media link. The generated rendition link will depend on the parameters provided. The scale parameter is required to resize. LocationX, locationY, width and height parameters are required to crop.<br />User roles: admin, manager, editor, viewer
Path parameters
Provide the ID of the rendition that you want to retrieve.
Query parameters
Only the rendition fields that are specified here are returned for each result. Any renditions field is a valid value and these can be specified in a comma-separated list. For example, to list the renditions fields name and ID, provide the value ID, and name. All renditions fields are returned by default.
Additional renditions fields that are specified here are returned. Currently, only the links field can be included. Fields are to be provided as a comma-separated list.
Response
Successfully retrieved the rendition.
Example response
{
"locationX": 50,
"locationY": 100,
"width": 200,
"height": 200,
"scale": 1.5,
"asset": {
"id": "27c621ed48921b7338b84b4f415cba6b"
},
"id": "0a800487f06d71eaf4cffdfde1ab28bc",
"rev": "2-c839bbb8844549c2e298275c4b2adcb8",
"resource": "67c621ed48921b7338b84b4f415cba6b",
"links": {
"self": {
"href": "/authoring/v1/renditions/0a800487f06d71eaf4cffdfde1ab28bc"
},
"media": {
"href": "/authoring/v1/resources/67c621ed48921b7338b84b4f415cba6b?resize=1.5xw:1.5xh&crop=200:200;50:100"
},
"asset": {
"href": "/authoring/v1/assets/27c621ed48921b7338b84b4f415cba6b"
},
"resource": {
"href": "/authoring/v1/resources/67c621ed48921b7338b84b4f415cba6b"
}
}
}