Timezones
Get a quick list of available Timezones on the system, any of which can be used when creating or updating a Status Page to set the format in which times should be displayed on the public page.
Endpoints
https://api.sorryapp.com/v1/timezones
Objects
These are the attributes which represent the object, most of which can be posted too and received in response to the available methods.
Properties
- Name
name
- Description
The friendly name for the timezone. This is what should be passed along with any future requests when setting a timezone.
- Name
offset
- Description
This is the offset in hours of the timezone when compared to UST.
GET/v1/timezones
List timezones
This endpoint displays a list of all subscribers in a single status page.
Request
GET
/v1/pages/12ab34cd/subscriberscurl -X GET https://api.sorryapp.com/v1/timezones
-H "Authorization: Bearer {token}"
Response
{
"response": [
...
{
"offset": "(GMT-02:00) Greenland",
"name": "Greenland"
},
{
"offset": "(GMT-02:00) Mid-Atlantic",
"name": "Mid-Atlantic"
},
{
"offset": "(GMT-01:00) Azores",
"name": "Azores"
},
{
"offset": "(GMT-01:00) Cape Verde Is.",
"name": "Cape Verde Is."
},
{
"offset": "(GMT+00:00) Edinburgh",
"name": "Edinburgh"
},
{
"offset": "(GMT+00:00) Lisbon",
"name": "Lisbon"
},
{
"offset": "(GMT+00:00) London",
"name": "London"
},
{
"offset": "(GMT+00:00) Monrovia",
"name": "Monrovia"
},
{
"offset": "(GMT+00:00) UTC",
"name": "UTC"
},
...
],
"count": 149
}