Skip to content

Get media by ID

GET
/media/{mediaId}

Get media by ID

Parameters

Path Parameters

mediaId
required
integer format: int64

ID of media that needs to be fetched

Responses

200

Successful operation

object
id
required

The unique identifier for the media.

string
type
required
string
urls
required
Array<object>
object
variant
required
string
url
required
string

Headers

X-Trace-Id
string

A unique identifier for the request. This is useful for debugging and tracing requests.

404

Media not found

Headers

X-Trace-Id
string

A unique identifier for the request. This is useful for debugging and tracing requests.