Organization Themes

Replace a theme draft

put/themes/{id}/draft

Request

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

Path parameters

idstring required

Organization theme ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

expected_revisioninteger required

Draft revision loaded by the editor

namestring required

Theme family name

organization_idstring required

Organization ID

Example request

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

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://example.com/api/v1/schemas/Theme.json",
  "latest_published": {
    "$schema": "https://example.com/api/v1/schemas/PublishedRevision.json"
  }
}

Changes

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