Blog

Publish a blog theme version

POST https://demo.notifuse.com/api/blogThemes.publish

Makes a theme version the one the blog renders, and unpublishes the previous one in the same transaction. Any version can be published, so rolling back is publishing an older one. Requires the blog write permission.

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Query Parameters

workspace_id string required

The ID of the workspace. Passed in the query string, not the body.

  • Example: ws_1234567890

Body application/json

version integer required
  • Example: 4

Response

200 Theme version published object
success boolean
  • Example: true
message string
  • Example: Theme published successfully
400 Bad request - version missing or not found object
error string required

Error message

401 Unauthorized - invalid or missing authentication token object
error string required

Error message

403 Forbidden - missing the blog write permission object
error string required

Error message

resource string required

The permission resource the endpoint requires.

  • Example: blog
permission string required

The access level the endpoint requires on that resource.

  • Available options: read, write