GET Cameras
Returns all cameras.
Request Information
https://511.alberta.ca/api/v2/get/cameras
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
lang |
Valid values are 'en' or 'fr', default 'en'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
Id |
A unique identifier. |
integer |
Source |
The name of the source that provided this camera. |
string |
SourceId |
The source id of the camera. |
string |
Roadway |
The roadway on which this camera is located. |
string |
Direction |
The wind direction at the time of reported maximum wind speed over the last 10 minutes |
string |
Latitude |
The latitude describing the location. Format: double between -90 and 90. |
double |
Longitude |
The longitude describing the location. Format: double between -180 and 180. |
double |
Location |
The location of the camera. |
string |
SortOrder |
Given sort order for camera |
integer |
Views |
Display all camera views. |
object |
Response Formats
JSON
[
{
"Id": 11,
"Source": "Banff",
"SourceId": "banff11cam",
"Roadway": "Rimrock",
"Direction": "Unknown",
"Latitude": 51.152068,
"Longitude": -115.560434,
"Location": "Rimrock-North",
"SortOrder": 0,
"Views": [
{
"Id": 11,
"Url": "https://511.alberta.ca/map/Cctv/11",
"Status": "Enabled",
"Description": "Road"
}
]
},
{
"Id": 12,
"Source": "Banff",
"SourceId": "banff12cam",
"Roadway": "Rimrock",
"Direction": "Unknown",
"Latitude": 51.152011,
"Longitude": -115.560371,
"Location": "Rimrock-South",
"SortOrder": 0,
"Views": [
{
"Id": 12,
"Url": "https://511.alberta.ca/map/Cctv/12",
"Status": "Enabled",
"Description": "Road"
}
]
}
]
XML
<CamerasList>
<Cameras>
<Id>11</Id>
<Source>Banff</Source>
<SourceId>banff11cam</SourceId>
<Roadway>Rimrock</Roadway>
<Direction>Unknown</Direction>
<Latitude>51.152068</Latitude>
<Longitude>-115.560434</Longitude>
<Location>Rimrock-North</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>11</Id>
<Url>https://511.alberta.ca/map/Cctv/11</Url>
<Status>Enabled</Status>
<Description>Road</Description>
</View>
</Views>
</Cameras>
<Cameras>
<Id>12</Id>
<Source>Banff</Source>
<SourceId>banff12cam</SourceId>
<Roadway>Rimrock</Roadway>
<Direction>Unknown</Direction>
<Latitude>51.152011</Latitude>
<Longitude>-115.560371</Longitude>
<Location>Rimrock-South</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>12</Id>
<Url>https://511.alberta.ca/map/Cctv/12</Url>
<Status>Enabled</Status>
<Description>Road</Description>
</View>
</Views>
</Cameras>
</CamerasList>