Get Published Digital Assets Native File by Slug

get

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

Renders the native file. In the content-type header received in the response has the media type information.

Request Headers (Optional):
Header NameHeader Value
channelToken{valid channel token value}

Request

Path Parameters
  • Slug value of the published Item. Any special characters in slug must be encoded.
Query Parameters
  • Channel token of the publish target. A channel token must be provided as either a query parameter or a request header.
  • 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

Successful operation.

304 Response

Not changed. The request honors requests with e-tag.

400 Response

Bad Request. The server is unable to process the request on the client side due to malformed syntax, invalid data or message framing.

403 Response

Forbidden. Client is not authorized to perform this request.

404 Response

The requested resource was not found.

500 Response

Internal server error. An unexpected error condition encountered in the system.
Back to Top