v1

Create media record by file name provided

post/v1/media

Request

Request body

fileNamestring required

File name which is unique uuid identifier

titlestring

Human readable media title

Example request

{
  "fileName": "812750e4-1cae-44e5-8212-a9a2f9776fca",
  "title": "Skin damage media"
}

Response

OK

idstring
createdAtstring

Date when media was uploaded to the bucket

updatedAtstring

Date when media status had been changed

titlestring

Human readable media title

statusstring

Captures whether we are currently scanning the media, or whether it is safe or not. Quarantined medias are inaccessible

Example response

{
  "id": "059d52b6-b2b0-4bd1-97df-082b1e2196c1",
  "createdAt": "2021-11-09T08:00:00.000Z",
  "updatedAt": "2021-11-09T08:00:00.000Z",
  "title": "Skin damage media",
  "status": "AVAILABLE"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.