GET Cameras

Returns all cameras.

Request Information

https://511la.org/api/v2/get/cameras

URI Parameters

NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


NameDescriptionType
Id

A unique identifier.

string
Organization

The name of the organization that provided this camera.

string
RoadwayName

The roadway on which this camera is on.

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
Name

A name assigned to the camera. It will contain a fairly good description of the location where the camera is deployed.

string
Url

The url to fetch the camera image.

string
VideoUrl

The url to fetch camera life video stream.

string
Status

The status of the camera.

string
Description

Additional information about a camera.

string

Response Formats

JSON

Sample:
[
  {
    "Id":"LADOTD--100",
    "Organization":"LADOTD",
    "RoadwayName":"I-20",
    "Latitude":32.538889,
    "Longitude":-93.630833,
    "Name":"I-20 at I-220 Off Ramp",
    "Url":"https://lu.ibi511.com/map/Cctv/100-1",
    "VideoUrl":"https://test.gov/public/streams/playlist.m3u8",
    "Status":"Enabled",
    "Description":"Traffic closest to this camera is traveling eastbound on I-20."
  },
  {
    "Id":"LADOTD--101",
    "Organization":"LADOTD",
    "RoadwayName":"I-20",
    "Latitude":32.4609,
    "Longitude":-93.83,
    "Name":"I-20 at Monkhouse Drive",
    "Url":"https://lu.ibi511.com/map/Cctv/101--1",
    "VideoUrl":"https://test.gov/public/streams/playlist.m3u8",
    "Status":"Enabled",
    "Description": "Traffic closest to this camera is traveling eastbound on I-20."
  }
]

XML

Sample:
<CamerasList>
    <Cameras>
        <Id>LADOTD--100</Id>
        <Organization>LADOTD</Organization>
        <RoadwayName>I-20</RoadwayName>
        <Latitude>32.538889</Latitude>
        <Longitude>-93.630833</Longitude>
        <Name>I-20 at I-220 Off Ramp</Name>
        <Url>https://lu.ibi511.com/map/Cctv/100-1</Url>
        <VideoUrl>https://test.gov/public/streams/playlist.m3u8</VideoUrl>
        <Status>Enabled</Status>
        <Description>Traffic closest to this camera is traveling eastbound on I-20. </Description>
    </Cameras>
    <Cameras>
        <Id>LADOTD--101</Id>
        <Organization>LADOTD</Organization>
        <RoadwayName>I-20</RoadwayName>
        <Latitude>32.4609</Latitude>
        <Longitude>-93.83</Longitude>
        <Name>I-20 at Monkhouse Drive</Name>
       <Url>https://lu.ibi511.com/map/Cctv/101--1</Url>
       <VideoUrl>https://test.gov/public/streams/playlist.m3u8</VideoUrl>
        <Status>Enabled</Status>
        <Description> Traffic closest to this camera is traveling eastbound on I-20. </Description>
    </Cameras>
</CamerasList>