v1

latestSwagger 2.0Apache 2.02026-07-13123128517.6 KB
media

Get a specific media

Get media resource by id

get/media/{id}

Path parameters

idinteger required

An id of a media resource

Query parameters

fieldsstring

Limit fields received in response. E.g. fields: id, name or fields items (id, name), see more at partial response page.

Response

successful operation

idinteger

An id of a media file

accountIdinteger

~

namestring

A name of a media file

createdinteger

The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000

lengthInBytesinteger

A size of a media file in bytes

mediaTypestring

A MIME type of media file, ex: image/jpeg, image/png, video/mp4, audio/mp3, etc

publicUrlstring

A public URL of a media file