Returns all SubAreas in the system.

GET /api/subareas 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 SubArea

Name Description
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
Streams Streams from the area that can be viewed online (if the area only consist of one location)

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,
    "days": [
      {
        "date": "2024-11-21",
        "name": "torsdag 21 november",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "openTimeSpan": "00:00–00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "ticketOpenTimespan": "00:00–00:00",
        "title": "sample string 2",
        "priceInfo": "sample string 3",
        "occationCount": 4
      },
      {
        "date": "2024-11-21",
        "name": "torsdag 21 november",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "openTimeSpan": "00:00–00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "ticketOpenTimespan": "00:00–00:00",
        "title": "sample string 2",
        "priceInfo": "sample string 3",
        "occationCount": 4
      }
    ],
    "streams": [
      {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      },
      {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      }
    ]
  },
  {
    "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,
    "days": [
      {
        "date": "2024-11-21",
        "name": "torsdag 21 november",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "openTimeSpan": "00:00–00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "ticketOpenTimespan": "00:00–00:00",
        "title": "sample string 2",
        "priceInfo": "sample string 3",
        "occationCount": 4
      },
      {
        "date": "2024-11-21",
        "name": "torsdag 21 november",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "openTimeSpan": "00:00–00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "ticketOpenTimespan": "00:00–00:00",
        "title": "sample string 2",
        "priceInfo": "sample string 3",
        "occationCount": 4
      }
    ],
    "streams": [
      {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      },
      {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      }
    ]
  }
]