public-camera
Retrieve public camera list
get/public-cameras/
Request
- Base URLhttps://api.angelcam.com/v1
- AuthOAuth 2Authorization codehttps://my.angelcam.com/oauth/authorize/, token URL https://my.angelcam.com/oauth/token/PasswordToken URL https://api.angelcam.com/oauth/token/Scopespublic_cameras_access
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
Limit result set. Example: 1.
offsetinteger
Return results starting at offset. Example: 10.
onlineboolean
1 for filtering only cameras that are online. 0 for filtering only cameras that are offline. Be aware that you cannot fully rely on this filtering. The camera status is checked every 10 minutes. Therefore the real status of camera can differ from API status.
Response
Returns public camera list.
Example response
{
"results": [
{
"id": 157,
"name": "Parkside Office",
"type": "h264",
"status": "online",
"live_snapshot": "http://m1.angelcam.com/stream/81/snapshot.jpg?token=eyJ0aW1lIjogMTQ5NjkzNDYyODE5NjIxOCwgInRpbWVvdXQiOiAzNjAwLCAiYWxpYXMiOiAiODEifQ==.85b552be2b7f0abaa0a3b5b4f412877f8af92f691c7d0c6db6b8c517ea8f921c",
"public_page_url": "https://some.url/camera/4564",
"streams": [
{
"format": "mjpeg",
"url": "http://e1.angelcam.com/stream/81/stream.mjpeg?token=eyJ0aW1lIjogMTQ5NjkzNDYyODE5NjIxOCwgInRpbWVvdXQiOiAzNjAwLCAiYWxpYXMiOiAiODEifQ==.85b552be2b7f0abaa0a3b5b4f412877f8af92f691c7d0c6db6b8c517ea8f921c"
},
{
"format": "mp4",
"url": "http://e1.angelcam.com/stream/81/stream.mp4?token=eyJ0aW1lIjogMTQ5NjkzNDYyODE5NjMxNiwgInRpbWVvdXQiOiAzNjAwLCAiYWxpYXMiOiAiODEifQ==.b5b4cf405cf054701a75b359f4069d2af8a102c5ffd8f33cbb560a4638c7cb71"
},
{
"format": "mpegts",
"url": "http://e1.angelcam.com/stream/81/stream.ts?token=eyJ0aW1lIjogMTQ5NjkzNDYyODE5NjMxNiwgInRpbWVvdXQiOiAzNjAwLCAiYWxpYXMiOiAiODEifQ==.b5b4cf405cf054701a75b359f4069d2af8a102c5ffd8f33cbb560a4638c7cb71"
},
{
"format": "hls",
"url": "http://e1.angelcam.com/stream/81/playlist.m3u8?token=eyJ0aW1lIjogMTQ5NjkzNDYyODE5NjQwMSwgInRpbWVvdXQiOiAzNjAwLCAiYWxpYXMiOiAiODEifQ==.8ac35b434e768e8f10161b2d74da492f5fd8a8c115c18cbb421017665acd908a"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.