Media

Update media metadata

patch/media/{id}

Request

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

Path parameters

idstring required

Media ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

alt_textstring

Alt text for accessibility

original_filenamestring

User-visible filename; the file extension cannot be changed

Example request

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

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

messagestring required

Success message

Example response

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

Changes

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