GET Grouped Cameras
Return all group cameras.
Request Information
https://511la.org/api/v2/get/groupedcameras
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
Developer Key |
string |
Required |
format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
Response Information
Resource Description
Name | Description | Type |
---|---|---|
Id |
A unique identifier. |
string |
Organization |
The name of the organization that provided this camera. |
string |
RoadwayName |
The roadway on which this camera is located. |
string |
DirectionOfTravel |
One of the following directions of travel: None, All Directions, Northbound, Eastbound, Southbound, Westbound, Inbound, Outbound, Both Directions. |
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 |
Views |
Views of a camera. |
string |
Response Formats
JSON
[ { "Id": "0rzqh2v2vmx|1", "Organization": "DOTD", "RoadwayName": "I-22", "DirectionOfTravel": "Unknown", "Latitude": 32.538889, "Longitude": -93.630833, "Views": [ { "Id": "0rzqh2v2vmx--1", "Name": "test", "Url": "https://511la.org/map/Cctv/0rzqh2v2vmx--1", "Status": "Disabled", "Description": "test", "VideoUrl": null } ] }, { "Id": "100|1", "Organization": "DOTD", "RoadwayName": "I-20", "DirectionOfTravel": "Unknown", "Latitude": 32.538889, "Longitude": -93.630833, "Views": [ { "Id": "100--1", "Name": "I-20 at I-220 Off Ramp", "Url": "https://511la.org/map/Cctv/100--1", "Status": "Enabled", "Description": "Traffic closest to this camera is traveling eastbound on I-20.", "VideoUrl": "https://ITSStreamingBR2.dotd.la.gov/public/shr-cam-030.streams/playlist.m3u8" } ] } ]
XML
<GroupedCamerasList> <GroupedCameras> <Id>0rzqh2v2vmx|1</Id> <Organization>DOTD</Organization> <RoadwayName>I-22</RoadwayName> <DirectionOfTravel>Unknown</DirectionOfTravel> <Latitude>32.538889</Latitude> <Longitude>-93.630833</Longitude> <Views> <View> <Id>0rzqh2v2vmx--1</Id> <Name>test</Name> <Url>https://511la.org/map/Cctv/0rzqh2v2vmx--1</Url> <Status>Disabled</Status> <Description>test</Description> <VideoUrl/> </View> </Views> </GroupedCameras> <GroupedCameras> <Id>100|1</Id> <Organization>DOTD</Organization> <RoadwayName>I-20</RoadwayName> <DirectionOfTravel>Unknown</DirectionOfTravel> <Latitude>32.538889</Latitude> <Longitude>-93.630833</Longitude> <Views> <View> <Id>100--1</Id> <Name>I-20 at I-220 Off Ramp</Name> <Url>https://511la.org/map/Cctv/100--1</Url> <Status>Enabled</Status> <Description>Traffic closest to this camera is traveling eastbound on I-20.</Description> <VideoUrl>https://ITSStreamingBR2.dotd.la.gov/public/shr-cam-030.streams/playlist.m3u8</VideoUrl> </View> </Views> </GroupedCameras> </GroupedCamerasList>