Timezones API

get listing

GET /api/rest/admin/system/timezones

Parameters

Name Description
filter[id] id filter
filter[name] name filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzksInN1YiI6MjE5fQ.aoeqRpPJMbQNA7nEPP351_WnO_gMaz1gYNdT7cv13-4
Host: example.org
Cookie: 

Route

GET /api/rest/admin/system/timezones

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"e6567fba6a651e86d0e6e629e1fa82dc"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 0219a5c7-66d6-4ed1-a11c-12fafab97fa2
X-Runtime: 0.008176
Content-Length: 420

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "timezones",
      "links": {
        "self": "http://example.org/api/rest/admin/system/timezones/1"
      },
      "attributes": {
        "name": "UTC",
        "abbrev": "UTC",
        "utc-offset": "PT0S",
        "is-dst": false
      }
    }
  ],
  "meta": {
    "total-count": 1
  },
  "links": {
    "first": "http://example.org/api/rest/admin/system/timezones?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/system/timezones?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}