GET Cameras
Returns all cameras.
Request Information
https://511.gov.pe.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":"zjr3kyr1brj--1",
"Organization":"IBI Accounts",
"RoadwayName":"Peters Rd ",
"DirectionOfTravel":"Both Directions",
"Latitude":46.393,
"Longitude":-63.15003,
"Name":"Location Regression",
"Url":"https://pei.ibi511.com/map/Cctv/zjr3kyr1brj--1",
"Status":"Disabled",
"Description":"Regression Testing description "},
{
"Id":"RPEAL--2",
"Organization":"DTI",
"RoadwayName":"Albany Hwy 1 E",
"DirectionOfTravel":"Inbound",
"Latitude":46.2778,
"Longitude":-63.6207,
"Name":"Albany Hwy 1 E",
"Url":"https://pei.ibi511.com/map/Cctv/RPEAL--2",
"Status":"Enabled",
"Description":"N/A"}
]
XML
<CamerasList>
<Cameras>
<Id>zjr3kyr1brj--1</Id>
<Organization>IBI Accounts</Organization>
<RoadwayName>Peters Rd </RoadwayName>
<DirectionOfTravel>Both Directions</DirectionOfTravel>
<Latitude>46.393</Latitude>
<Longitude>-63.15003</Longitude>
<Name>Location Regression</Name>
<Url>https://pei.ibi511.com/map/Cctv/zjr3kyr1brj--1</Url>
<Status>Disabled</Status>
<Description>Regression Testing description </Description>
</Cameras>
<Cameras>
<Id>RPEAL--2</Id>
<Organization>DTI</Organization>
<RoadwayName>Albany Hwy 1 E</RoadwayName>
<DirectionOfTravel>Inbound</DirectionOfTravel>
<Latitude>46.2778</Latitude>
<Longitude>-63.6207</Longitude>
<Name>Albany Hwy 1 E</Name>
<Url>https://pei.ibi511.com/map/Cctv/RPEAL--2</Url>
<Status>Enabled</Status>
<Description>N/A</Description>
</Cameras>
</CamerasList>