POST
/
api
/
public
/
media
{
  "mediaId": "<string>",
  "contentType": "<string>",
  "contentLength": 123,
  "uploadedAt": {},
  "url": "<string>",
  "urlExpiry": "<string>"
}

Response Description

Below you will see the description of the Get presigned upload URL response

mediaId
string
required

Unique identifier for the media.

contentType
string
required

MIME type of the media (e.g., “image/png”, “application/pdf”).

contentLength
integer
required

Size of the media in bytes.

uploadedAt
date-time
required

Timestamp indicating when the media was uploaded.

url
string
required

URL to access the media.

urlExpiry
string
required

Expiry information for the media URL.

Code Response

Exemples of Response Code

200

Request Successful Response

400

Request Failure