Time Zones¶
Display system time zones¶
-
GET
/api/v1/system/timezones/
¶ Retrieve the information of the time zones available in the system.
Example request:
GET /api/v1/system/timezones/ HTTP/1.1 Host: example.com
Example response:
HTTP/1.1 200 OK Content-Type: "application/json" { "timeZones": [ { "name": "Europe/Brussels", "description": "(GMT+02: 00) Europe/Brussels" }, { "name": "America/St_Johns", "description": "(GMT-02: 30) (Canada) Newfoundland" }, { "name": "America/Halifax", "description": "(GMT-03: 00) (Canada) Atlantic Time" } ] }
- Response JSON Object:
timeZones (array) – a list of time zone objects as defined as Time Zone attributes.
- Status Codes:
200 OK – no error