App Cloud APIs are used by mobile applications.
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/
https://docs.cognitivesystems.com/api/v1/
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sounding/clients
https://docs.cognitivesystems.com/api/v1/sounding/clients
curl -i -X GET \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sounding/clients \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "devices": [ { … }, { … } ] }
Mac address of the target device, either this or id
must be provided.
Human readable name assigned to the Device or Node. Maximum of 256 characters, supporting letters, spaces, digits, with only the following special characters: =
, +
, -
, _
, @
, !
. Supports base64 encoding. Can also be an empty string.
Device location name assigned to the Device or Node. Maximum of 256 characters, supporting letters, spaces, digits, with only the following special characters: =
, +
, -
, _
, @
, !
. Supports base64 encoding. Can also be an empty string.
Indicates whether the device is using the global sensitivity setting or is being overridden at the device level.
Current sensitivity of the device
Only valid when sensitivity_mode = override, otherwise an error will be returned.
Controls if the device can be used for sounding.
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sounding/clients
https://docs.cognitivesystems.com/api/v1/sounding/clients
curl -i -X PATCH \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sounding/clients?update=true' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"devices": [
{
"id": 0,
"location": "LocationA"
},
{
"mac": "00:11:22:33:44:55",
"sensitivity": 1,
"sounding_mode": "allow"
}
]
}'
{ "status": 0, "success": 0, "details": { "warnings": [], "errors": [] } }