GET Cameras
Returns all cameras.
Request Information
https://511.alaska.gov/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 | 
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": 1,
        "Source": "ADOT&PF",
        "SourceId": "00",
        "Roadway": "Seward Highway",
        "Direction": "North",
        "Latitude": 60.818883,
        "Longitude": -148.975515,
        "Location": "Seward Highway @ Portage Glacier Road MP 78.9",
        "SortOrder": 99999,
        "Views": [
            {
                "Id": 459,
                "Url": "https://511.alaska.gov/map/Cctv/459",
                "Status": "Disabled",
                "Description": "N/A"
            },
            {
                "Id": 460,
                "Url": "https://511.alaska.gov/map/Cctv/460",
                "Status": "Disabled",
                "Description": "N/A"
            }
        ]
    },
    {
        "Id": 2,
        "Source": "ADOT&PF",
        "SourceId": "01",
        "Roadway": "Seward Highway",
        "Direction": "North",
        "Latitude": 60.929619,
        "Longitude": -149.346632,
        "Location": "Seward Highway @ Bird Point MP 96.3",
        "SortOrder": 0,
        "Views": [
            {
                "Id": 467,
                "Url": "https://511.alaska.gov/map/Cctv/467",
                "Status": "Enabled",
                "Description": "Both direction"
            }
        ]
    }
]XML
<CamerasList>
 <Cameras>
        <Id>1</Id>
        <Source>ADOT&PF</Source>
        <SourceId>00</SourceId>
        <Roadway>Seward Highway</Roadway>
        <Direction>North</Direction>
        <Latitude>60.818883</Latitude>
        <Longitude>-148.975515</Longitude>
        <Location>Seward Highway @ Portage Glacier Road MP 78.9</Location>
        <SortOrder>99999</SortOrder>
        <Views>
            <View>
                <Id>459</Id>
                <Url>https://511.alaska.gov/map/Cctv/459</Url>
                <Status>Disabled</Status>
                <Description>N/A</Description>
            </View>
            <View>
                <Id>460</Id>
                <Url>https://511.alaska.gov/map/Cctv/460</Url>
                <Status>Disabled</Status>
                <Description>N/A</Description>
            </View>            
        </Views>
    </Cameras>
    <Cameras>
        <Id>2</Id>
        <Source>ADOT&PF</Source>
        <SourceId>01</SourceId>
        <Roadway>Seward Highway</Roadway>
        <Direction>North</Direction>
        <Latitude>60.929619</Latitude>
        <Longitude>-149.346632</Longitude>
        <Location>Seward Highway @ Bird Point MP 96.3</Location>
        <SortOrder>0</SortOrder>
        <Views>
            <View>
                <Id>467</Id>
                <Url>https://511.alaska.gov/map/Cctv/467</Url>
                <Status>Enabled</Status>
                <Description>Both direction</Description>
            </View>            
        </Views>
    </Cameras>
</CamerasList>