curl --request POST \
--url https://api2.rhombussystems.com/api/doorbellcamera/createSharedLiveVideoStream \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"doorbellCameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"vodEnabled": true,
"audioGatewayUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"expirationTimeSecs": 86400,
"invertSchedule": false,
"name": "Front Door Stream",
"password": "mypassword123",
"scheduleUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'import requests
url = "https://api2.rhombussystems.com/api/doorbellcamera/createSharedLiveVideoStream"
payload = {
"doorbellCameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"vodEnabled": True,
"audioGatewayUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"expirationTimeSecs": 86400,
"invertSchedule": False,
"name": "Front Door Stream",
"password": "mypassword123",
"scheduleUuid": "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({
doorbellCameraUuid: 'AAAAAAAAAAAAAAAAAAAAAA.v0',
vodEnabled: true,
audioGatewayUuid: 'AAAAAAAAAAAAAAAAAAAAAA.v0',
expirationTimeSecs: 86400,
invertSchedule: false,
name: 'Front Door Stream',
password: 'mypassword123',
scheduleUuid: 'AAAAAAAAAAAAAAAAAAAAAA'
})
};
fetch('https://api2.rhombussystems.com/api/doorbellcamera/createSharedLiveVideoStream', 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/doorbellcamera/createSharedLiveVideoStream")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"doorbellCameraUuid\": \"AAAAAAAAAAAAAAAAAAAAAA.v0\",\n \"vodEnabled\": true,\n \"audioGatewayUuid\": \"AAAAAAAAAAAAAAAAAAAAAA.v0\",\n \"expirationTimeSecs\": 86400,\n \"invertSchedule\": false,\n \"name\": \"Front Door Stream\",\n \"password\": \"mypassword123\",\n \"scheduleUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"sharedLiveM3U8StreamUrl": "https://example.com/live/m3u8/stream",
"sharedLiveVideoStreamUrl": "https://example.com/live/video/stream",
"sharedLiveVideoStreamUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"warningMsg": "<string>"
}Share an live video stream for a doorbell camera
Share an live video stream for a doorbell camera
curl --request POST \
--url https://api2.rhombussystems.com/api/doorbellcamera/createSharedLiveVideoStream \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"doorbellCameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"vodEnabled": true,
"audioGatewayUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"expirationTimeSecs": 86400,
"invertSchedule": false,
"name": "Front Door Stream",
"password": "mypassword123",
"scheduleUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'import requests
url = "https://api2.rhombussystems.com/api/doorbellcamera/createSharedLiveVideoStream"
payload = {
"doorbellCameraUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"vodEnabled": True,
"audioGatewayUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
"expirationTimeSecs": 86400,
"invertSchedule": False,
"name": "Front Door Stream",
"password": "mypassword123",
"scheduleUuid": "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({
doorbellCameraUuid: 'AAAAAAAAAAAAAAAAAAAAAA.v0',
vodEnabled: true,
audioGatewayUuid: 'AAAAAAAAAAAAAAAAAAAAAA.v0',
expirationTimeSecs: 86400,
invertSchedule: false,
name: 'Front Door Stream',
password: 'mypassword123',
scheduleUuid: 'AAAAAAAAAAAAAAAAAAAAAA'
})
};
fetch('https://api2.rhombussystems.com/api/doorbellcamera/createSharedLiveVideoStream', 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/doorbellcamera/createSharedLiveVideoStream")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"doorbellCameraUuid\": \"AAAAAAAAAAAAAAAAAAAAAA.v0\",\n \"vodEnabled\": true,\n \"audioGatewayUuid\": \"AAAAAAAAAAAAAAAAAAAAAA.v0\",\n \"expirationTimeSecs\": 86400,\n \"invertSchedule\": false,\n \"name\": \"Front Door Stream\",\n \"password\": \"mypassword123\",\n \"scheduleUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"sharedLiveM3U8StreamUrl": "https://example.com/live/m3u8/stream",
"sharedLiveVideoStreamUrl": "https://example.com/live/video/stream",
"sharedLiveVideoStreamUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"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 creating a shared live video stream for a doorbell camera.
RUUID with optional appended facet information
"AAAAAAAAAAAAAAAAAAAAAA.v0"
USER, ALARM_MONITORING, DICE, LUMEO, INFORMACAST, RAPIDSOS, UNKNOWN Enables recording of live footage to a VOD
true
RUUID with optional appended facet information
"AAAAAAAAAAAAAAAAAAAAAA.v0"
Add a expiration date for accessing the stream in seconds
86400
If given a schedule uuid, will hide the stream during the schedule instead and show it otherwise
false
If not provided, will be named 'Unnamed'
"Front Door Stream"
Add a password to allow access to your shared stream. If null or blank password is not set.
"mypassword123"
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Response
OK
Response object for creating a shared live video stream for a doorbell camera.
M3U8 URL for the shared live video stream
"https://example.com/live/m3u8/stream"
URL for the shared live video stream
"https://example.com/live/video/stream"
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"