curl --request POST \
--url https://api2.rhombussystems.com/api/event/getSavedClipCount \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"deviceFilter": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"endTimeMs": 1641081600000,
"locationFilter": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"startTimeMs": 1640995200000
}
'import requests
url = "https://api2.rhombussystems.com/api/event/getSavedClipCount"
payload = {
"deviceFilter": ["AAAAAAAAAAAAAAAAAAAAAA"],
"endTimeMs": 1641081600000,
"locationFilter": ["AAAAAAAAAAAAAAAAAAAAAA"],
"startTimeMs": 1640995200000
}
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({
deviceFilter: ['AAAAAAAAAAAAAAAAAAAAAA'],
endTimeMs: 1641081600000,
locationFilter: ['AAAAAAAAAAAAAAAAAAAAAA'],
startTimeMs: 1640995200000
})
};
fetch('https://api2.rhombussystems.com/api/event/getSavedClipCount', 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/event/getSavedClipCount")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"deviceFilter\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"endTimeMs\": 1641081600000,\n \"locationFilter\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"startTimeMs\": 1640995200000\n}")
.asString();{
"count": 42,
"error": true,
"errorMsg": "<string>",
"privateCount": 10,
"warningMsg": "<string>"
}Get a count of saved clips in an organization
Get a count of saved clips in and organization
curl --request POST \
--url https://api2.rhombussystems.com/api/event/getSavedClipCount \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"deviceFilter": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"endTimeMs": 1641081600000,
"locationFilter": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"startTimeMs": 1640995200000
}
'import requests
url = "https://api2.rhombussystems.com/api/event/getSavedClipCount"
payload = {
"deviceFilter": ["AAAAAAAAAAAAAAAAAAAAAA"],
"endTimeMs": 1641081600000,
"locationFilter": ["AAAAAAAAAAAAAAAAAAAAAA"],
"startTimeMs": 1640995200000
}
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({
deviceFilter: ['AAAAAAAAAAAAAAAAAAAAAA'],
endTimeMs: 1641081600000,
locationFilter: ['AAAAAAAAAAAAAAAAAAAAAA'],
startTimeMs: 1640995200000
})
};
fetch('https://api2.rhombussystems.com/api/event/getSavedClipCount', 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/event/getSavedClipCount")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"deviceFilter\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"endTimeMs\": 1641081600000,\n \"locationFilter\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"startTimeMs\": 1640995200000\n}")
.asString();{
"count": 42,
"error": true,
"errorMsg": "<string>",
"privateCount": 10,
"warningMsg": "<string>"
}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 retrieving the count of saved clips with filtering options.
List of device UUIDs to filter clips by
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
End time in milliseconds for filtering clips
1641081600000
List of location UUIDs to filter clips by
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Start time in milliseconds for filtering clips
1640995200000
Response
OK
Response object containing the count of saved clips.