Returns all Areas in the system.

GET /api/areas HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json

Request Information

Path Parameters

No parameters

Body Parameters

None


Response Information

Resource Description

Collection of Area

Name Description
SubAreaEventCount Number of events in a sub area belonging to the area
SubAreaOccationCount Number of event occations in a sub area belonging to the area
ID Area ID
Name Area name (short)
FullName Full name of the area
Color HTML color code
Location Location name (if the area only consist of one location)
Address Address from the location (if the area only consist of one location)
Info Short description
ExternalUrl External URL for more information about the area
EventCount Number of events in the area
OccationCount Number of event occations in the area
Days The days when events take place in the area

Response Formats

application/json (.json) text/json
[
  {
    "id": 1,
    "name": "sample string 2",
    "fullName": "sample string 3",
    "color": "sample string 4",
    "location": "sample string 5",
    "address": "sample string 6",
    "info": {
      "en": "english string 7",
      "sv": "swedish string 7"
    },
    "externalUrl": "sample string 8",
    "eventCount": 1,
    "occationCount": 1,
    "subAreaEventCount": 1,
    "subAreaOccationCount": 1,
    "days": [
      {
        "date": "2019-07-20",
        "name": "lördag 20 juli",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "priceInfo": "sample string 2",
        "occationCount": 3
      },
      {
        "date": "2019-07-20",
        "name": "lördag 20 juli",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "priceInfo": "sample string 2",
        "occationCount": 3
      }
    ]
  },
  {
    "id": 1,
    "name": "sample string 2",
    "fullName": "sample string 3",
    "color": "sample string 4",
    "location": "sample string 5",
    "address": "sample string 6",
    "info": {
      "en": "english string 7",
      "sv": "swedish string 7"
    },
    "externalUrl": "sample string 8",
    "eventCount": 1,
    "occationCount": 1,
    "subAreaEventCount": 1,
    "subAreaOccationCount": 1,
    "days": [
      {
        "date": "2019-07-20",
        "name": "lördag 20 juli",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "priceInfo": "sample string 2",
        "occationCount": 3
      },
      {
        "date": "2019-07-20",
        "name": "lördag 20 juli",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "priceInfo": "sample string 2",
        "occationCount": 3
      }
    ]
  }
]