Get Digital Item Native File by Slug

get

/content/management/api/v1.1/assets/.by.slug/{slug}/native

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

Request

Path Parameters
  • Slug value of the latest management Item. Any special characters in slug must be encoded.
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.
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