GET Cameras
Returns all cameras.
Request Information
https://www.manitoba511.ca/api/v2/get/cameras
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
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": 1,
"Source": "Development",
"SourceId": "2ptoh4psgwm",
"Roadway": "Testing1234567",
"Direction": "Unknown",
"Latitude": 0,
"Longitude": 0,
"Location": "Testing12345",
"SortOrder": 0,
"Views": [
{
"Id": 599,
"Url": "https://www.manitoba511.ca/map/Cctv/599",
"Status": "Disabled",
"Description": "Testing12345678"
}
]
},
{
"Id": 2,
"Source": "Development",
"SourceId": "3go5io5lrf5",
"Roadway": "AAAAAAAAAAAAAAA",
"Direction": "Unknown",
"Latitude": 0,
"Longitude": 0,
"Location": "Testing",
"SortOrder": 0,
"Views": [
{
"Id": 600,
"Url": "https://www.manitoba511.ca/map/Cctv/600",
"Status": "Enabled",
"Description": "Testing"
}
]
}
]
XML
<CamerasList>
<Cameras>
<Id>1</Id>
<Source>Development</Source>
<SourceId>2ptoh4psgwm</SourceId>
<Roadway>Testing1234567</Roadway>
<Direction>Unknown</Direction>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<Location>Testing12345</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>599</Id>
<Url>https://www.manitoba511.ca/map/Cctv/599</Url>
<Status>Disabled</Status>
<Description>Testing12345678</Description>
</View>
</Views>
</Cameras>
<Cameras>
<Id>2</Id>
<Source>Development</Source>
<SourceId>3go5io5lrf5</SourceId>
<Roadway>AAAAAAAAAAAAAAA</Roadway>
<Direction>Unknown</Direction>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<Location>Testing</Location>
<SortOrder>0</SortOrder>
<Views>
<View>
<Id>600</Id>
<Url>https://www.manitoba511.ca/map/Cctv/600</Url>
<Status>Enabled</Status>
<Description>Testing</Description>
</View>
</Views>
</Cameras>
</CamerasList>