Media

Get media

One image or video: ready once its file arrived, with its size, dimensions and length, and a link to view it that works for a few hours.

get/media/{id}

Request

  • Base URL
    https://api.rizamo.com/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

The media's id (med_).

Response

OK

idstring required
type'image' | 'video' | 'document' required

document: a PDF, which LinkedIn publishes as a document post.

urlstring nullable required

A link that expires after a few hours: get the media again for a fresh one. Null until the file is uploaded.

altstring required
status'uploading' | 'ready' | 'failed' required

uploading: waiting for its file. Only ready media can go on a post.

contentTypestring required
sizeinteger required

Bytes, once uploaded.

widthinteger nullable required

Pixels, as shown: read from the file once it is uploaded.

heightinteger nullable required
durationnumber nullable required

Seconds, for video.

pagesinteger nullable required

Pages, for a PDF: read from the file once it is uploaded. Null when they could not be read.

profileIdstring nullable required

The profile it belongs to: the one it was added for, or else the first post that used it. Null until then, when only whoever added it and people who reach every profile reach it. Keys and people limited to some profiles reach their own media and their profiles'.

Changes

No recorded changes to this operation across all 1 revision of this API.