https://demo.notifuse.com/api/blogThemes.update Edits an unpublished theme version in place. Only the files named in files are replaced. The published version cannot be edited: create a new version, or edit an older one, and publish that instead. Requires the blog write permission.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Query Parameters
The ID of the workspace. Passed in the query string, not the body.
- Example: ws_1234567890
Body application/json
An unpublished theme version.
- Example: 4
Only the files named here are replaced; the others keep their stored content. Send a file as "" to empty it.
Show child attributes
The blog home page.
A category page.
A post page.
Snippets shared by the other templates.
Kept as stored when omitted.
Response
200 Theme version updated object
Show child attributes
Assigned on creation, one above the highest existing version.
- Example: 4
Present only on the theme currently live on the blog.
The user or API key that published it. Present only on the live theme.
The theme's source files. Liquid files render the blog's pages; see the blog theme guide for the variables each one receives.
Show child attributes
The blog home page.
A category page.
A post page.
Snippets shared by the other templates.
- Example: Darker header, larger body text.
400 Bad request - version missing, not found or published object
Error message
401 Unauthorized - invalid or missing authentication token object
Error message
403 Forbidden - missing the blog write permission object
Error message
The permission resource the endpoint requires.
- Example: blog
The access level the endpoint requires on that resource.
- Available options: read, write