curl --request POST \
--url https://api2.rhombussystems.com/api/video/getLiveImage \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"cameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0"
}
'import requests
url = "https://api2.rhombussystems.com/api/video/getLiveImage"
payload = { "cameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0" }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({cameraUuid: 'AAAAAAAAAAAAAAAAAAAAAA.v0'})
};
fetch('https://api2.rhombussystems.com/api/video/getLiveImage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/video/getLiveImage")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"cameraUuid\": \"AAAAAAAAAAAAAAAAAAAAAA.v0\"\n}")
.asString();Get live image
Returns the most recent snapshot image the camera has captured, as a jpeg. Unlike getExactFrame this is not taken from recorded footage, so it only succeeds while the camera is online and actively capturing. Last-Modified carries the moment the camera captured the image.
curl --request POST \
--url https://api2.rhombussystems.com/api/video/getLiveImage \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"cameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0"
}
'import requests
url = "https://api2.rhombussystems.com/api/video/getLiveImage"
payload = { "cameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0" }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({cameraUuid: 'AAAAAAAAAAAAAAAAAAAAAA.v0'})
};
fetch('https://api2.rhombussystems.com/api/video/getLiveImage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/video/getLiveImage")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"cameraUuid\": \"AAAAAAAAAAAAAAAAAAAAAA.v0\"\n}")
.asString();Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Body
Request object for pulling the most recent snapshot image from a camera.
RUUID with optional appended facet information
"AAAAAAAAAAAAAAAAAAAAAA.v0"
Response
OK