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.eyJleHAiOjE3MzE1Nzg3NjUsInN1YiI6MjM5fQ.7kVHOOifZCwM_B8AyZUidoSuSj3PBY9U9ummOTO4IjE
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: 8328787c-f83b-4198-ac3d-9ddedf11c4cd
X-Runtime: 0.008257
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"
  }
}