FOR OFFICIAL USE ONLY (FOUO) UNCLASSIFIED CONTROLLED INFORMATION (UCI)
UCI/FOUO may be distributed only after permission of the public information officer and the regional records access officer has granted and identified the recipient(s) and use of information. Mark conspicuously each part of an electronically transmitted message that contains UCI/FOUO information.

GET Cameras

Returns all cameras.

Request Information

https://511ny.org/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.

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

Sample:
[
  {
    "Id": 1,
    "Source": "WOOD",
    "Roadway": null,
    "Direction": "Unknown",
    "Latitude": 51.0405,
    "Longitude": -115.246,
    "Location": "ESS_AB_ABDOT_001-02 CANMORE",
    "Views": [
      {
        "Id": 1,
        "Url": "http://localhost:54134/map/Cctv/1",
        "Status": "Enabled",
        "Description": "E"
      },
      {
        "Id": 2,
        "Url": "http://localhost:54134/map/Cctv/2",
        "Status": "Enabled",
        "Description": "Road"
      },
      {
        "Id": 3,
        "Url": "http://localhost:54134/map/Cctv/3",
        "Status": "Enabled",
        "Description": "W"
      }
    ]
  },
  {
    "Id": 2,
    "Source": "WOOD",
    "Roadway": null,
    "Direction": "Unknown",
    "Latitude": 51.0873,
    "Longitude": -114.492,
    "Location": "ESS_AB_ABDOT_001-06 COCHRANE",
    "Views": [
      {
        "Id": 4,
        "Url": "http://localhost:54134/map/Cctv/4",
        "Status": "Enabled",
        "Description": "DMS"
      },
      {
        "Id": 5,
        "Url": "http://localhost:54134/map/Cctv/5",
        "Status": "Enabled",
        "Description": "E"
      },
      {
        "Id": 6,
        "Url": "http://localhost:54134/map/Cctv/6",
        "Status": "Enabled",
        "Description": "S"
      },
      {
        "Id": 7,
        "Url": "http://localhost:54134/map/Cctv/7",
        "Status": "Enabled",
        "Description": "W"
      }
    ]
  }
]

XML

Sample:
<CamerasList>
	<Cameras>
		<Id>1</Id>
		<Source>IBI_QA </Source>
		<SourceId>0sacj5ojwvx</SourceId>
		<Roadway>TestRoadway</Roadway>
		<Direction>Unknown</Direction>
		<Latitude>34.075607</Latitude>
		<Longitude>-84.29459</Longitude>
		<Location>TEST-1</Location>
		<Views>
			<View>
				<Id>3409</Id>
				<Url>https://www.511ga.org/map/Cctv/3409</Url>
				<Status>Enabled</Status>
				<Description>TEST-2</Description>
				<VideoUrl>https://vss1live.dot.ga.gov/lo/alph-cam-002.stream/playlist.m3u8</VideoUrl>
				<SortId>6788</SortId>
			</View>
		</Views>
	</Cameras>
	<Cameras>
		<Id>2</Id>
		<Source>IBI_QA </Source>
		<SourceId>0wq5rtw0sdu</SourceId>
		<Roadway>SR-6 Test</Roadway>
		<Direction>Unknown</Direction>
		<Latitude>34.071262</Latitude>
		<Longitude>-84.29672</Longitude>
		<Location>SR 9 at SR 120</Location>
		<Views>
			<View>
				<Id>3410</Id>
				<Url>https://www.511ga.org/map/Cctv/3410</Url>
				<Status>Disabled</Status>
				<Description>Test: Agency SR 9 at SR 120 </Description>
				<VideoUrl>https://vss1live.dot.ga.gov/lo/alph-cam-006.stream/playlist.m3u8</VideoUrl>
				<SortId>0</SortId>
			</View>
		</Views>
	</Cameras>
</CamerasList>