Downloads a specific file from within a permitted ZIP media item

Prev Next
Get
/v{version}/Media/{mediaId}/Content/{fileName}

Returns a 404 Not Found response if the media item, ZIP archive, or specified file does not exist, or if the user does not have permission to access the media item. Returns a 400 Bad Request response if the media item is not a ZIP archive. The response supports range processing for efficient file downloads.

Security
API Key: api_key
Header parameter nameX-ApiKey

Api Key

API Key: session_id
Header parameter nameX-Session-Id

Session Id

Path parameters
fileName
stringRequired

The name of the file to extract and download from the ZIP archive.

mediaId
integer (int32) Required

The unique identifier of the media item containing the ZIP archive.

version
stringRequired

The requested API version

Responses
200

File download

string (binary)
string (binary)
400

Bad request

Expand All
object
ValidationErrors
object
property*
Array of string additionalProperties
string
Expand All
object
ValidationErrors
object
property*
Array of string additionalProperties
string
401

Unauthorized

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
403

Access denied

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
404

Not Found

Expand All
object
Detail
string
Instance
string
Status
integer (int32)
Title
string
Type
string
property*
object additionalProperties
Expand All
object
Detail
string
Instance
string
Status
integer (int32)
Title
string
Type
string
property*
object additionalProperties
500

Unexpected error

Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties
Expand All
object
Id
string
Message
string
Type
string
Values
object
property*
object additionalProperties