Get Digital Item Native File by Slug with Filename
get
/content/management/api/v1.1/assets/.by.slug/{slug}/native/{filename}
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
-
filename: string
Name of the digital item. Special characters in name must be encoded
-
slug: string
Slug value of the latest management Item. Any special characters in slug must be encoded.
Query Parameters
-
asOf(optional): string
This parameter describes a specific item revision. Currently it only supports this value, latestPublished, which means the latest published version.
-
download(optional): boolean
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.
Response
Supported Media Types
- application/octet-stream
- application/json
200 Response
OK.
304 Response
Not modified.
400 Response
Bad request.
403 Response
Forbidden.
404 Response
Not found.
500 Response
Internal server error.