Dimension Service API  2.0.0
api indexresource index

GET dimensions

since: 0.6
Returns a list of all accessible dimensions. Accept-Language HTTP Header will be used to set the languages the client is able to understand, and which locale variant is preferred.

Request Headers

pros-dimension-consistency
0.13optional
string
pros-dimension-consistency is an optional HTTP header used to define the data consistency level of the request. There is a trade off between data consistency and service availability and performance: higher data consistency can result in lower availability and slower performance, while lower data consistency can result in higher availability and faster performance.
0.13 valid values:
  • HIGHEST
  • HIGH
  • NORMAL
  • LOW
  • LOWEST
Accept-Language
0.13optional
string
The Accept-Language request HTTP header advertises which languages the client is able to understand, and which locale variant is preferred.

Resource Information

Response Content
json
Response Object
array of Dimension
Success Statuses
200  OK
Other Methods

Example 1

Request:

Response:
HTTP/1.1  200  OK

[
  {
    "id"   :"c689acc7-ee13-3482-aa7b-c6a13419431c",
    "name" :"LARGE_CITIES",
    "label":{
      "locale":"en",
      "value" :"Large Cities"
    }
  },
  {
    "id"   :"d91bd190-fede-11e2-b778-0800200c9a66",
    "name" :"dimension2",
    "label":{
      "locale":"en",
      "value" :"Some <Other> Dimension"
    }
  }
]