Themes allow you to upload a completely custom set of HTML and CSS to take complete control over the look at feel of your status page.

Endpoint & Available Methods

https://api.sorryapp.com/v1/pages/:page_id/theme

The Theme Object

These are the attributes which represent the object, most of which can be posted too and received in response to the actions.

Attribute Name Description
created_at The date/time the record was created.
updated_at The date/time the record was last updated.

Retrieve Theme

GET https://api.sorryapp.com/v1/pages/:page_id/theme

Example Request

curl -X GET https://api.sorryapp.com/v1/pages/:page_id/theme \
  -H "Authorization: Bearer 0526ff9fdbb3ca728daa3d17781eac1a15a1c3f0917abc53394d17ecdc8a8751"

Example Response

{"response":{"created_at":"2016-02-09 14:39:21 +0000","updated_at":"2016-02-09 14:39:21 +0000"}}

Update Theme

PATCH https://api.sorryapp.com/v1/pages/:page_id/theme

Example Request

curl -F -X PATCH https://api.sorryapp.com/v1/pages/:page_id/theme \
  -d zip="@theme.zip" \
  -H "Authorization: Bearer 0526ff9fdbb3ca728daa3d17781eac1a15a1c3f0917abc53394d17ecdc8a8751"

Special Request Parameters

These attributes are not part of the standard resource and only apply on this specific action.

Attribute Name Description
zip The ZIP file which contains your theme.

Example Response

{"response":{"created_at":"2016-02-09 14:39:21 +0000","updated_at":"2016-02-09 14:39:21 +0000"}}

Delete Theme

DELETE https://api.sorryapp.com/v1/pages/:page_id/theme

Example Request

curl -X DELETE https://api.sorryapp.com/v1/pages/:page_id/theme \
  -H "Authorization: Bearer 0526ff9fdbb3ca728daa3d17781eac1a15a1c3f0917abc53394d17ecdc8a8751"