Returns all SubAreas in the system.
GET /api/subareas HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json
No parameters
None
Collection of SubArea
Name | Description | Type | Additional information |
---|---|---|---|
ID | Area ID | Integer | None |
Name | Area name (short) | String | None |
FullName | Full name of the area | String | None |
Color | HTML color code | String | None |
Location | Location name (if the area only consist of one location) | String | None |
Address | Address from the location (if the area only consist of one location) | String | None |
Info | Short description | Translatable | None |
ExternalUrl | External URL for more information about the area | String | None |
EventCount | Number of events in the area | Integer | None |
OccationCount | Number of event occations in the area | Integer | None |
Days | The days when events take place in the area | Collection of AreaDay | None |
Streams | Streams from the area that can be viewed online (if the area only consist of one location) | Collection of Stream | None |
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-12-19",
"name": "torsdag 19 december",
"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-12-19",
"name": "torsdag 19 december",
"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-12-19",
"name": "torsdag 19 december",
"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-12-19",
"name": "torsdag 19 december",
"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
}
]
}
]