Themes (Custom Cloud)
The Custom Cloud Theme API provides methods for managing any custom Cloud themes you have created.
If you want to manage your themes for a particular user, see the Theme (User) API.
If you want to manage your themes for a particular user, see the Theme (User) API.
In this topic:
Fields
- theme_name (string)
Name given to a theme (ex: "My Red Theme")
- created_date (timestamp)
Date (Unix epoch) when the theme was added. - updated_date (timestamp)
Date (Unix epoch) when the theme was last updated to the user's account.
- theme_zip (url)
Publicly accessible url that points to the zip file containing the theme contents. This is only used when adding a theme to a site (ex: "http://myhost.com/custom_theme.zip")
GET /hosts/themes
Lists all custom Cloud themes you've created.
Example CURL Request
Example Response
POST /hosts/themes
Adds a new custom Cloud theme to your repository.
Note: The theme zip must be publicly accessible and follow the structure for custom themes.
Example CURL Request
Example Response
Updates a given theme. You can update the following:
- theme_name
Example CURL Request
Example Response
DELETE /hosts/themes/THEME_ID
Deletes the given theme.
Example CURL Request
No response body is sent.