Media

Get media by ID

Returns one uploaded media item: its type, size and the URL used when posting. Media is deleted automatically once every post using it has published, after which the ID stops resolving.

get/v1/media/{id}

Request

  • Base URL
    https://api.post-bridge.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

idstring required

Media ID

Response

Media item retrieved successfully.

idstring required

The unique identifier of the media object

mime_typestring nullable required

The MIME type of the media object

Example response

{
  "object": {
    "size_bytes": 1024
  }
}

Changes

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