Get Rendition of a Digital Item

get

/content/management/api/v1.1/assets/{id}/{rendition}

Get a specific rendition of the digital item. Content-type header in the response is set to the correct value for the file type.

Request

Path Parameters
Query Parameters
  • This parameter describes a specific item revision. Currently it only supports this value, latestPublished, which means the latest published version.
  • By default, for files of type image, audio and video are rendered inline. For all other file types are downloaded. User can specify the query parameter download=true/false in a request to override this default.
  • Format of the digital item's rendition file. When the rendition has only one format, the format query parameter may be omitted.
  • Rendition type of the digital item.
Back to Top

Response

Supported Media Types

200 Response

OK.

304 Response

Not modified.

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 render a digital item (using a digital item ID and rendition type) by submission of a GET request on the REST resource using cURL:

Note:

All the digital item IDs starts with CONT.

curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/assets/{id}/{rendition}'

Example:

Response Body

Digital Item is Displayed.
Back to Top