curl --request POST \
--url https://api2.rhombussystems.com/api/relay/executeThirdPartyCameraDiscovery \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"additionalScanCidrs": [
"<string>"
],
"deviceFilter": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"locationFilter": [
"AAAAAAAAAAAAAAAAAAAAAA"
]
}
'import requests
url = "https://api2.rhombussystems.com/api/relay/executeThirdPartyCameraDiscovery"
payload = {
"additionalScanCidrs": ["<string>"],
"deviceFilter": ["AAAAAAAAAAAAAAAAAAAAAA"],
"locationFilter": ["AAAAAAAAAAAAAAAAAAAAAA"]
}
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({
additionalScanCidrs: ['<string>'],
deviceFilter: ['AAAAAAAAAAAAAAAAAAAAAA'],
locationFilter: ['AAAAAAAAAAAAAAAAAAAAAA']
})
};
fetch('https://api2.rhombussystems.com/api/relay/executeThirdPartyCameraDiscovery', 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/relay/executeThirdPartyCameraDiscovery")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"additionalScanCidrs\": [\n \"<string>\"\n ],\n \"deviceFilter\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"locationFilter\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ]\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"scanId": "<string>",
"warningMsg": "<string>"
}Execute third party camera discovery
Trigger a discovery of cameras on the local LANs
curl --request POST \
--url https://api2.rhombussystems.com/api/relay/executeThirdPartyCameraDiscovery \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"additionalScanCidrs": [
"<string>"
],
"deviceFilter": [
"AAAAAAAAAAAAAAAAAAAAAA"
],
"locationFilter": [
"AAAAAAAAAAAAAAAAAAAAAA"
]
}
'import requests
url = "https://api2.rhombussystems.com/api/relay/executeThirdPartyCameraDiscovery"
payload = {
"additionalScanCidrs": ["<string>"],
"deviceFilter": ["AAAAAAAAAAAAAAAAAAAAAA"],
"locationFilter": ["AAAAAAAAAAAAAAAAAAAAAA"]
}
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({
additionalScanCidrs: ['<string>'],
deviceFilter: ['AAAAAAAAAAAAAAAAAAAAAA'],
locationFilter: ['AAAAAAAAAAAAAAAAAAAAAA']
})
};
fetch('https://api2.rhombussystems.com/api/relay/executeThirdPartyCameraDiscovery', 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/relay/executeThirdPartyCameraDiscovery")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"additionalScanCidrs\": [\n \"<string>\"\n ],\n \"deviceFilter\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ],\n \"locationFilter\": [\n \"AAAAAAAAAAAAAAAAAAAAAA\"\n ]\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"scanId": "<string>",
"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 executing third-party camera discovery.
Optional list of additional IPv4 CIDRs (e.g. "10.5.0.0/24") to scan for cameras on routed subnets that the NVR is not directly attached to. When empty (the default), discovery only covers the NVR's own directly-attached subnets. Multicast/WS-Discovery cannot cross routers, so these subnets are covered by an RTSP port scan followed by unicast ONVIF probes. At most 8 entries, each /16 or smaller.
Optional list of additional IPv4 CIDRs (e.g. "10.5.0.0/24") to scan for cameras on routed subnets that the NVR is not directly attached to. When empty (the default), discovery only covers the NVR's own directly-attached subnets. Multicast/WS-Discovery cannot cross routers, so these subnets are covered by an RTSP port scan followed by unicast ONVIF probes. At most 8 entries, each /16 or smaller.
Set of device UUIDs to filter discovery by
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Set of location UUIDs to filter discovery by
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Response
OK