curl --request POST \
--url https://api2.rhombussystems.com/api/relay/assignThirdPartyMultiFacetCameraToNVR \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"discoveredCameraMacAddress": "<string>",
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"name": "Loading Dock Bispectrum",
"nvruuid": "AAAAAAAAAAAAAAAAAAAAAA",
"rtspUrls": [
"<string>"
]
}
'import requests
url = "https://api2.rhombussystems.com/api/relay/assignThirdPartyMultiFacetCameraToNVR"
payload = {
"discoveredCameraMacAddress": "<string>",
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"name": "Loading Dock Bispectrum",
"nvruuid": "AAAAAAAAAAAAAAAAAAAAAA",
"rtspUrls": ["<string>"]
}
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({
discoveredCameraMacAddress: '<string>',
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
name: 'Loading Dock Bispectrum',
nvruuid: 'AAAAAAAAAAAAAAAAAAAAAA',
rtspUrls: ['<string>']
})
};
fetch('https://api2.rhombussystems.com/api/relay/assignThirdPartyMultiFacetCameraToNVR', 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/assignThirdPartyMultiFacetCameraToNVR")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"discoveredCameraMacAddress\": \"<string>\",\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"name\": \"Loading Dock Bispectrum\",\n \"nvruuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"rtspUrls\": [\n \"<string>\"\n ]\n}")
.asString();{
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"error": true,
"errorMsg": "<string>",
"facetCount": 123,
"warningMsg": "<string>"
}Assign multi-facet third party camera to NVR
Assign a multi-sensor third party camera to an NVR as one camera with multiple video facets (gated on the multiFacetThirdPartyCameraEnabled org flag)
curl --request POST \
--url https://api2.rhombussystems.com/api/relay/assignThirdPartyMultiFacetCameraToNVR \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"discoveredCameraMacAddress": "<string>",
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"name": "Loading Dock Bispectrum",
"nvruuid": "AAAAAAAAAAAAAAAAAAAAAA",
"rtspUrls": [
"<string>"
]
}
'import requests
url = "https://api2.rhombussystems.com/api/relay/assignThirdPartyMultiFacetCameraToNVR"
payload = {
"discoveredCameraMacAddress": "<string>",
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"name": "Loading Dock Bispectrum",
"nvruuid": "AAAAAAAAAAAAAAAAAAAAAA",
"rtspUrls": ["<string>"]
}
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({
discoveredCameraMacAddress: '<string>',
locationUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
name: 'Loading Dock Bispectrum',
nvruuid: 'AAAAAAAAAAAAAAAAAAAAAA',
rtspUrls: ['<string>']
})
};
fetch('https://api2.rhombussystems.com/api/relay/assignThirdPartyMultiFacetCameraToNVR', 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/assignThirdPartyMultiFacetCameraToNVR")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"discoveredCameraMacAddress\": \"<string>\",\n \"locationUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"name\": \"Loading Dock Bispectrum\",\n \"nvruuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"rtspUrls\": [\n \"<string>\"\n ]\n}")
.asString();{
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"error": true,
"errorMsg": "<string>",
"facetCount": 123,
"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 to assign a multi-sensor third-party camera to an NVR as one multi-facet camera.
MAC address of the discovered multi-sensor camera to assign
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Name for the multi-facet third-party camera
"Loading Dock Bispectrum"
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Ordered RTSP URLs, one per sensor/lens; index 0 -> VIDEO_0 (primary), index 1 -> VIDEO_1, ...
Ordered RTSP URLs, one per sensor/lens; index 0 -> VIDEO_0 (primary), index 1 -> VIDEO_1, ...
Response
OK
Response object for assigning a multi-sensor third-party camera as one multi-facet camera.