Media

Toggle favorite status of a media attachment

patch/media/{id}/favorite

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/media/{id}/favorite
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

idstring required

Media ID

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

is_favoriteboolean required

Updated favorite status

Example response

{
  "$schema": "https://example.com/api/v1/schemas/UpdateMediaFavoriteOutputBody.json"
}

Changes

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