GET Cameras

Returns all cameras.

Request Information

https://511wi.gov/api/v2/get/cameras

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

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

string

Optional

Response Information

Resource Description


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 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
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 the camera video.

string
Status

The status of the camera.

string
Region

The name of the region where the camera is located.

string
County

The name of the county where the camera is located.

string

Response Formats

JSON

Sample:
[
	{
		"Id": "162--7",
		"Organization": "ATMS",
		"RoadwayName": "I-41/43/894",
		"DirectionOfTravel": "Unknown",
		"Latitude": 42.962255999999999,
		"Longitude": -88.018485,
		"Name": "I-41/43/894 @ 84th St",
		"Url": "https://511wi.gov/map/Cctv/162--7",
		"VideoUrl": "https://cctv1.dot.wi.gov:443/rtplive/CCTV-40-0028/playlist.m3u8",
		"Status": "Enabled",
		"Region": "Southeast Region",
		"County": "Milwaukee"
	},
	{
		"Id": "163--7",
		"Organization": "ATMS",
		"RoadwayName": "I-41/43/894",
		"DirectionOfTravel": "Unknown",
		"Latitude": 42.961406,
		"Longitude": -88.028422,
		"Name": "I-41/43/894 @ 92nd St",
		"Url": "https://511wi.gov/map/Cctv/163--7",
		"VideoUrl": "https://cctv1.dot.wi.gov:443/rtplive/CCTV-40-0029/playlist.m3u8",
		"Status": "Enabled",
		"Region": "Southeast Region",
		"County": "Milwaukee"
	}
]

XML

Sample:
<CamerasList>
    <Cameras>
        <Id>162--7</Id>
        <Organization>ATMS</Organization>
        <RoadwayName>I-41/43/894</RoadwayName>
        <DirectionOfTravel>Unknown</DirectionOfTravel>
        <Latitude>42.962255999999996</Latitude>
        <Longitude>-88.018485</Longitude>
        <Name>I-41/43/894 @ 84th St</Name>
        <Url>https://511wi.gov/map/Cctv/162--7</Url>
        <VideoUrl>https://cctv1.dot.wi.gov:443/rtplive/CCTV-40-0028/playlist.m3u8</VideoUrl>
        <Status>Enabled</Status>
        <Region>Southeast Region</Region>
        <County>Milwaukee</County>
    </Cameras>
    <Cameras>
        <Id>163--7</Id>
        <Organization>ATMS</Organization>
        <RoadwayName>I-41/43/894</RoadwayName>
        <DirectionOfTravel>Unknown</DirectionOfTravel>
        <Latitude>42.961406</Latitude>
        <Longitude>-88.028422</Longitude>
        <Name>I-41/43/894 @ 92nd St</Name>
        <Url>https://511wi.gov/map/Cctv/163--7</Url>
        <VideoUrl>https://cctv1.dot.wi.gov:443/rtplive/CCTV-40-0029/playlist.m3u8</VideoUrl>
        <Status>Enabled</Status>
        <Region>Southeast Region</Region>
        <County>Milwaukee</County>
    </Cameras>
</CamerasList>