{"info":{"_postman_id":"f9d26352-37a9-48d8-8525-f3a4021a15a2","name":"Bhaskar's Home - Smart Devices","description":"<html><head></head><body><p>Bhaskar's Home Smart Devices APIs provide a comprehensive interface for integrating and controlling various smart devices in a modern home environment. These APIs offer seamless connectivity and control over devices such as smart thermostats, lighting systems, security cameras, and home entertainment units.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15482145","collectionId":"f9d26352-37a9-48d8-8525-f3a4021a15a2","publishedId":"TzXtK1Pu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303045","highlight":"EF5B55"},"publishDate":"2021-05-23T10:46:59.000Z"},"item":[{"name":"Cameras","item":[{"name":"Cameras for a location","id":"9e58400a-f704-405e-8258-f4b6a4b79354","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apiKey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.bhaskar.com/v2/devices/cameras?apiKey&locationId=123123123","description":"<h1 id=\"cameras-endpoint\">Cameras Endpoint</h1>\n<p>Use this endpoint to retrieve the data for all the cameras in a given location.</p>\n<h2 id=\"retrieve-camera-data\">Retrieve camera data</h2>\n<p>To retrieve the cameras data, include your <code>apikey</code> and intended <code>locationId</code> as <em>query parameters</em>.</p>\n<p><strong>Method</strong>: <code>GET</code></p>\n<p><strong>Endpoint</strong>: <code>https://api.bhaskar.com/v2/devices/cameras</code></p>\n<p><strong>Response body</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-JSON\">[\n  {\n    \"model\": \"C1\",\n    \"serial\": \"1909ZB39822\",\n    \"maxResolution\": \"1280x720\",\n    \"firmwareVer\": \"v1.89_20210506\",\n    \"deviceClass\": \"Camera\",\n    \"deviceType\": \"C1\",\n    \"deviceID\": \"33795f78-f531-2f45-bd5c-321gg73f34fr\",\n    \"userDefinedDeviceName\": \"frontCamera\",\n    \"isAlive\": true,\n    \"isUpgrading\": false,\n    \"isProvisioned\": true,\n    \"macID\": \"34FA38C8932\"\n  }\n]\n\n</code></pre>\n<h2 id=\"cameras_parameters\">Cameras_Parameters</h2>\n<h3 id=\"cameras-request-query_parameters\">Cameras Request Query_Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>apikey</td>\n<td>Your API Key</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>locationId</td>\n<td>Location ID for which cameras data should be retrieved</td>\n<td>Required</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"cameras-response-body_parameters\">Cameras Response body_parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>model</td>\n<td>String</td>\n<td>Model of the camera</td>\n</tr>\n<tr>\n<td>serial</td>\n<td>String</td>\n<td>Serial Number of the camera</td>\n</tr>\n<tr>\n<td>maxResolution</td>\n<td>String</td>\n<td>Max recording/display resolution of the camera (e.g., \"1280x720\")</td>\n</tr>\n<tr>\n<td>firmwareVer</td>\n<td>String</td>\n<td>Cameras Current running firmware version</td>\n</tr>\n<tr>\n<td>deviceClass</td>\n<td>String</td>\n<td>Class of the device (e.g., \"Camera\", \"Thermostat\")</td>\n</tr>\n<tr>\n<td>deviceType</td>\n<td>String</td>\n<td>Type of the device</td>\n</tr>\n<tr>\n<td>deviceID</td>\n<td>String</td>\n<td>Unique ID of the device</td>\n</tr>\n<tr>\n<td>userDefinedDeviceName</td>\n<td>String</td>\n<td>User defined name of the device</td>\n</tr>\n<tr>\n<td>isAlive</td>\n<td>Boolean</td>\n<td>Shows if the Camera is currently online. True = currently online</td>\n</tr>\n<tr>\n<td>isUpgrading</td>\n<td>Boolean</td>\n<td>Shows if the Camera is currently upgrading firmware. True = currently upgrading</td>\n</tr>\n<tr>\n<td>isProvisioned</td>\n<td>Boolean</td>\n<td>Shows if the Camera is currently provisioned correctly. True/false</td>\n</tr>\n<tr>\n<td>macID</td>\n<td>String</td>\n<td>MacID of the device</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"cameras-status-codes\">Cameras Status Codes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n<th>API Specific description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n<td>JSON object with camera data for a location</td>\n</tr>\n<tr>\n<td>400</td>\n<td>BAD REQUEST</td>\n<td>The browser (or proxy) sent a request that this server could not understand.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>UNAUTHORIZED</td>\n<td>Authorization has been denied for this request</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["cameras"],"host":["https://api.bhaskar.com/v2/devices"],"query":[{"key":"apiKey","value":null},{"description":{"content":"<p>(Required) Location ID of the Camera</p>\n","type":"text/plain"},"key":"locationId","value":"123123123"}],"variable":[]}},"response":[{"id":"efe70591-76ef-4073-b1db-b7464eb3b555","name":"OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.bhaskar.com/v2/devices/cameras?locationId=12312&apiKey=<API Key>","protocol":"https","host":["api","bhaskar","com"],"path":["v2","devices","cameras"],"query":[{"key":"locationId","value":"12312"},{"key":"apiKey","value":"<API Key>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n {\n  \"model\": \"C1\",\n  \"serial\": \"1909ZB39822\",\n  \"maxResolution\": \"1280x720\",\n  \"firmwareVer\": \"v1.89_20210506\",\n  \"deviceClass\": \"Camera\",\n  \"deviceType\": \"C1\",\n  \"deviceID\": \"33795f78-f531-2f45-bd5c-321gg73f34fr\",\n  \"userDefinedDeviceName\": \"frontCamera\",\n  \"isAlive\": false,\n  \"isUpgrading\": false,\n  \"isProvisioned\": true,\n  \"macID\": \"34FA38C8932\"\n },\n {\n  \"model\": \"C1\",\n  \"serial\": \"1909ZB39822\",\n  \"maxResolution\": \"1280x720\",\n  \"firmwareVer\": \"v1.89_20210506\",\n  \"deviceClass\": \"Camera\",\n  \"deviceType\": \"C1\",\n  \"deviceID\": \"33795f78-f531-2f45-bd5c-321gg73f34fr\",\n  \"userDefinedDeviceName\": \"frontCamera\",\n  \"isAlive\": false,\n  \"isUpgrading\": false,\n  \"isProvisioned\": true,\n  \"macID\": \"34FA38C8932\"\n }\n]"},{"id":"c9ffdb86-0f47-4208-8b99-d73a12392dc5","name":"The browser (or proxy) sent a request that this server could not understand.","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.bhaskar.com/v2/devices/cameras?locationId=example&apiKey=<API Key>","host":["https://api.bhaskar.com/v2/devices"],"path":["cameras"],"query":[{"key":"locationId","value":"example"},{"key":"apiKey","value":"<API Key>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Bad Request\",\n \"message\": \"Invalid URL\"\n}"},{"id":"e14cf405-2558-476c-8877-eca2cce3094a","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.bhaskar.com/v2/devices/cameras?locationId=example&apiKey=<API Key>","host":["https://api.bhaskar.com/v2/devices"],"path":["cameras"],"query":[{"key":"locationId","value":"example"},{"key":"apiKey","value":"<API Key>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Unauthorized\",\n \"message\": \"Authorization has been denied for this request\"\n}"}],"_postman_id":"9e58400a-f704-405e-8258-f4b6a4b79354"},{"name":"Change Camera Configuration","id":"0312195c-fa40-4dc2-97ca-4b95935e8d9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apiKey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"version\": \"1.0\",\n  \"deviceId\": \"07182FC1FC35D69780DEE2E889E15BEBC1814624F260B04759827DBBD6E2EB6A\",\n  \"audioDetection\": \"on\",\n  \"audioSensitivity\": 33,\n  \"micStatus\": \"on\",\n  \"speakerStatus\": \"on\",\n  \"motionDetection\": \"on\",\n  \"motionArea\": [\n    {\n      \"startX\": 0,\n      \"startY\": 0,\n      \"width\": 699,\n      \"height\": 414,\n      \"sensitivity\": 99\n    },\n    {\n      \"startX\": 37,\n      \"startY\": 487,\n      \"width\": 206,\n      \"height\": 214,\n      \"sensitivity\": 99\n    }\n  ],\n  \"nightMode\": \"auto\",\n  \"ledStatus\": \"on\",\n  \"storagePlan\": \"day\",\n  \"motionZone\": \"rectangle\",\n  \"privacyMode\": \"off\",\n  \"geoFence\": \"on\"\n}"},"url":"https://api.bhaskar.com/v2/devices/cameras/:deviceId/config?locationId=Example","description":"<h1 id=\"camera-config-endpoint\">Camera Config Endpoint</h1>\n<p>Use the camera config endpoint to Change the configuration of a specific camera within a location.</p>\n<p><strong>Note</strong>: The entire configuration request object for a camera must be sent every time, including the unchanged values.</p>\n<h2 id=\"to-change-config\">To change config</h2>\n<p>To change the configuration of a specific camera, include your <code>apikey</code> and intended <code>locationId</code> as <em>query parameters</em>.</p>\n<p><strong>Method</strong>: <code>POST</code></p>\n<p><strong>Endpoint</strong>: <code>https://api.bhaskar.com/v2/devices/Cameras/{deviceId}/Config</code></p>\n<p><strong>Request body</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"version\": \"string\",\n  \"deviceId\": \"string\",\n  \"audioDetection\": \"string\",\n  \"audioSensitivity\": 0,\n  \"micStatus\": \"string\",\n  \"speakerStatus\": \"string\",\n  \"motionDetection\": \"string\",\n  \"motionArea\": [\n    {\n      \"startX\": 0,\n      \"startY\": 0,\n      \"width\": 10,\n      \"height\": 10,\n      \"sensitivity\": 33\n    },\n   {\n      \"startX\": 45,\n      \"startY\": 485,\n      \"width\": 15,\n      \"height\": 15,\n      \"sensitivity\": 99\n    }\n  ],\n  \"nightMode\": \"string\",\n  \"ledStatus\": \"string\",\n  \"storagePlan\": \"string\",\n  \"motionZone\": \"string\",\n  \"privacyMode\": \"string\",\n  \"geoFence\": \"string\"\n}\n\n</code></pre>\n<h3 id=\"camera-config_parameters\">Camera Config_Parameters</h3>\n<h4 id=\"config-request-path_parameters\">Config Request Path_parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>{deviceId}</td>\n<td>Device ID of the camera to change the configuration</td>\n<td>Required</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"config-request-query_parameters\">Config Request Query_parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>apikey</td>\n<td>Your API Key</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>locationId</td>\n<td>Location ID for which cameras data should be retrieved</td>\n<td>Required</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"config-request-body_parameters\">Config Request Body_parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Element</th>\n<th></th>\n<th>Type</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>version</td>\n<td></td>\n<td>String</td>\n<td>Version of the camera device</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>deviceId</td>\n<td></td>\n<td>String</td>\n<td>Device ID of the camera</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>audioDetection</td>\n<td></td>\n<td>String</td>\n<td>Camera's Audio detection on/off</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>audioSenstivity</td>\n<td></td>\n<td>Integer</td>\n<td>Camera's current audio sensitivity setting: 0-100</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>micStatus</td>\n<td></td>\n<td>String</td>\n<td>Camera's Microphone on/off</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>speakerStatus</td>\n<td></td>\n<td>String</td>\n<td>Camera's Speaker on/off</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>motionDetection</td>\n<td></td>\n<td>String</td>\n<td>Camera's Motion detection on/off</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>motionArea</td>\n<td></td>\n<td>Array</td>\n<td>Array defining Camera's all motion detection areas</td>\n<td>Required</td>\n</tr>\n<tr>\n<td></td>\n<td>motionArea.startX</td>\n<td>Integer</td>\n<td>Camera's Starting X resolution position of the area</td>\n<td>Required</td>\n</tr>\n<tr>\n<td></td>\n<td>motionArea.startY</td>\n<td>Integer</td>\n<td>Camera's Starting Y resolution position of the area</td>\n<td>Required</td>\n</tr>\n<tr>\n<td></td>\n<td>motionArea.width</td>\n<td>Integer</td>\n<td>Width of the Camera's detection area</td>\n<td>Required</td>\n</tr>\n<tr>\n<td></td>\n<td>motionArea.height</td>\n<td>Integer</td>\n<td>Height of the Camera's detection area</td>\n<td>Required</td>\n</tr>\n<tr>\n<td></td>\n<td>motionArea.sensitivity</td>\n<td>Integer</td>\n<td>Sensitivity level of Camera's motion detection for the area. Higher the value, greater the sensitivity. (0, 33, 66, 99)</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>nightMode</td>\n<td></td>\n<td>String</td>\n<td>Camera's Night vision mode toggle</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>ledStatus</td>\n<td></td>\n<td>String</td>\n<td>State of the Camera's front LED</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>storagePlan</td>\n<td></td>\n<td>String</td>\n<td>Camera's Video clip storage plan</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>motionZone</td>\n<td></td>\n<td>String</td>\n<td>Shape of the Camera's motion detection zone</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>privacyMode</td>\n<td></td>\n<td>String</td>\n<td>Camera's Privacy mode state</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>geoFence</td>\n<td></td>\n<td>String</td>\n<td>Geofencing state. Typically, this results in camera being OFF when home and ON when away.</td>\n<td>Required</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"config-status-codes\">Config Status Codes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n<th>API Specific description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n<td>JSON object with success message</td>\n</tr>\n<tr>\n<td>400</td>\n<td>BAD REQUEST</td>\n<td>The browser (or proxy) sent a request that this server could not understand.</td>\n</tr>\n<tr>\n<td>401</td>\n<td>UNAUTHORIZED</td>\n<td>Authorization has been denied for this request</td>\n</tr>\n<tr>\n<td>403</td>\n<td>FORBIDDEN</td>\n<td>Duplicate request</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["cameras",":deviceId","config"],"host":["https://api.bhaskar.com/v2/devices"],"query":[{"description":{"content":"<p>(Required) Location ID of the Camera</p>\n","type":"text/plain"},"key":"locationId","value":"Example"}],"variable":[{"description":{"content":"<p>(Required) ID of the camera to change the configuration.</p>\n","type":"text/plain"},"type":"any","value":"123123123","key":"deviceId"}]}},"response":[{"id":"987cd037-dd75-4f85-a85e-08e54ce34c4f","name":"OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"version\": \"1.0\",\n  \"deviceId\": \"07182FC1FC35D69780DEE2E889E15BEBC1814624F260B04759827DBBD6E2EB6A\",\n  \"audioDetection\": \"on\",\n  \"audioSensitivity\": 33,\n  \"micStatus\": \"on\",\n  \"speakerStatus\": \"on\",\n  \"motionDetection\": \"on\",\n  \"motionArea\": [\n    {\n      \"startX\": 0,\n      \"startY\": 0,\n      \"width\": 699,\n      \"height\": 414,\n      \"sensitivity\": 99\n    },\n    {\n      \"startX\": 37,\n      \"startY\": 487,\n      \"width\": 206,\n      \"height\": 214,\n      \"sensitivity\": 99\n    }\n  ],\n  \"nightMode\": \"auto\",\n  \"ledStatus\": \"on\",\n  \"storagePlan\": \"day\",\n  \"motionZone\": \"rectangle\",\n  \"privacyMode\": \"off\",\n  \"geoFence\": \"on\"\n}"},"url":{"raw":"https://api.bhaskar.com/v2/devices/cameras/:deviceId/config?locationId=1242&apiKey=<API Key>","protocol":"https","host":["api","bhaskar","com"],"path":["v2","devices","cameras",":deviceId","config"],"query":[{"key":"locationId","value":"1242"},{"key":"apiKey","value":"<API Key>"}],"variable":[{"key":"deviceId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"OK\",\n \"message\": \"Camera Configuration Updated!\"\n}"},{"id":"0a67a7ac-f3a4-438d-852d-2d02547adbae","name":"The browser (or proxy) sent a request that this server could not understand.","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"Ut magna sit officia dolore\",\n    \"deviceId\": \"est in ea velit\",\n    \"audioDetection\": \"in cupidatat dolore\",\n    \"audioSensitivity\": -72356782,\n    \"micStatus\": \"magna proident dolor culpa\",\n    \"speakerStatus\": \"magna velit pariatur\",\n    \"motionDetection\": \"pariatur officia\",\n    \"motionArea\": [\n        {\n            \"startX\": 24827738,\n            \"startY\": 55881096,\n            \"width\": 57426362,\n            \"height\": -88312129,\n            \"sensitivity\": -39226321\n        },\n        {\n            \"startX\": -58372786,\n            \"startY\": -13384432,\n            \"width\": -76752490,\n            \"height\": -51116002,\n            \"sensitivity\": 64333061\n        }\n    ],\n    \"nightMode\": \"eu sed Duis do\",\n    \"ledStatus\": \"tempor Ut\",\n    \"storagePlan\": \"in cillum\",\n    \"motionZone\": \"o\",\n    \"privacyMode\": \"dolor Duis quis anim\",\n    \"geoFence\": \"anim amet fugiat\"\n}"},"url":{"raw":"https://api.bhaskar.com/v2/devices/cameras/:deviceId/config?locationId=example&apiKey=<API Key>","host":["https://api.bhaskar.com/v2/devices"],"path":["cameras",":deviceId","config"],"query":[{"key":"locationId","value":"example"},{"key":"apiKey","value":"<API Key>"}],"variable":[{"key":"deviceId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Bad Request\",\n \"message\": \"Invalid URL\"\n}"},{"id":"ab51652f-f5a8-4c50-963c-472f3f3937b5","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"Ut magna sit officia dolore\",\n    \"deviceId\": \"est in ea velit\",\n    \"audioDetection\": \"in cupidatat dolore\",\n    \"audioSensitivity\": -72356782,\n    \"micStatus\": \"magna proident dolor culpa\",\n    \"speakerStatus\": \"magna velit pariatur\",\n    \"motionDetection\": \"pariatur officia\",\n    \"motionArea\": [\n        {\n            \"startX\": 24827738,\n            \"startY\": 55881096,\n            \"width\": 57426362,\n            \"height\": -88312129,\n            \"sensitivity\": -39226321\n        },\n        {\n            \"startX\": -58372786,\n            \"startY\": -13384432,\n            \"width\": -76752490,\n            \"height\": -51116002,\n            \"sensitivity\": 64333061\n        }\n    ],\n    \"nightMode\": \"eu sed Duis do\",\n    \"ledStatus\": \"tempor Ut\",\n    \"storagePlan\": \"in cillum\",\n    \"motionZone\": \"o\",\n    \"privacyMode\": \"dolor Duis quis anim\",\n    \"geoFence\": \"anim amet fugiat\"\n}"},"url":{"raw":"https://api.bhaskar.com/v2/devices/cameras/:deviceId/config?locationId=example&apiKey=<API Key>","host":["https://api.bhaskar.com/v2/devices"],"path":["cameras",":deviceId","config"],"query":[{"key":"locationId","value":"example"},{"key":"apiKey","value":"<API Key>"}],"variable":[{"key":"deviceId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Unauthorized\",\n \"message\": \"Authorization has been denied for this request\"\n}"},{"id":"03270623-5b29-4497-8208-ba2776ddaf7b","name":"Forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"version\": \"Ut magna sit officia dolore\",\n    \"deviceId\": \"est in ea velit\",\n    \"audioDetection\": \"in cupidatat dolore\",\n    \"audioSensitivity\": -72356782,\n    \"micStatus\": \"magna proident dolor culpa\",\n    \"speakerStatus\": \"magna velit pariatur\",\n    \"motionDetection\": \"pariatur officia\",\n    \"motionArea\": [\n        {\n            \"startX\": 24827738,\n            \"startY\": 55881096,\n            \"width\": 57426362,\n            \"height\": -88312129,\n            \"sensitivity\": -39226321\n        },\n        {\n            \"startX\": -58372786,\n            \"startY\": -13384432,\n            \"width\": -76752490,\n            \"height\": -51116002,\n            \"sensitivity\": 64333061\n        }\n    ],\n    \"nightMode\": \"eu sed Duis do\",\n    \"ledStatus\": \"tempor Ut\",\n    \"storagePlan\": \"in cillum\",\n    \"motionZone\": \"o\",\n    \"privacyMode\": \"dolor Duis quis anim\",\n    \"geoFence\": \"anim amet fugiat\"\n}"},"url":{"raw":"https://api.bhaskar.com/v2/devices/cameras/:deviceId/config?locationId=example&apiKey=<API Key>","host":["https://api.bhaskar.com/v2/devices"],"path":["cameras",":deviceId","config"],"query":[{"key":"locationId","value":"example"},{"key":"apiKey","value":"<API Key>"}],"variable":[{"key":"deviceId"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"Request Forbidden\",\n \"message\": \"Duplicate request\"\n}"}],"_postman_id":"0312195c-fa40-4dc2-97ca-4b95935e8d9b"}],"id":"587a0d4a-ffb1-497d-a743-29dfadbad971","description":"<p>All the API calls to Bhaskar's Smart Home Camera Devices</p>\n","_postman_id":"587a0d4a-ffb1-497d-a743-29dfadbad971"}],"event":[{"listen":"prerequest","script":{"id":"29526d3e-1106-4ee7-b8e6-93b138cf57e3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fdef1c22-3e13-4125-8af9-42dbde936e48","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.bhaskar.com/v2/devices"}]}