Cognitive Systems App Cloud API
The AppCloud APIs are used by mobile applications to communicate with the Cognitive Systems Infrastructure.
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/
https://docs.cognitivesystems.com/api/v1/
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/integrations
https://docs.cognitivesystems.com/api/v1/sensors/integrations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/integrations
Request
Initializes the HUB into Sensor Pairing Mode by the thingName
of the hub. The HUB's LED colour will change to a flashing green
during Pairing Mode, and will return to a steady blue
when no longer in Pairing Mode. A longer timeout can be short circuited to a shorter one by making a subsequent call with a shorter timeout.
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/pair/{HUB_THING_NAME}
https://docs.cognitivesystems.com/api/v1/sensors/pair/{HUB_THING_NAME}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/pair/{HUB_THING_NAME}' \
-H 'Content-Type: application/json' \
-d '{
"timeout": 60
}'
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices
https://docs.cognitivesystems.com/api/v1/sensors/devices
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices
{ "devices": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }