The App Cloud APIs expose the Core API endpoints, but with the addition of adding per user authentication and authorization. For example, you may choose to build with App Cloud APIs when developing for a mobile platform.
Cognitive Systems App Cloud API
Download OpenAPI description
Languages
Servers
Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/
https://docs.cognitivesystems.com/api/v1/
Request
Store instance token to facilitate the usage of firebase services between App Cloud and Wifi Motion App.
The instance token provides a unique identifier for each app instance and a mechanism to authenticate and authorize actions (example: sending FCM messages)
If the token sent is set to 'eee-motioncsc-loadtest' the push notification payload will be formed but NOT sent to firebase. This is used in load testing to ensure APPCLD is not blacklisted by Google.
Security
Authorization
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/mobile_devices
- https://docs.cognitivesystems.com/api/v1/mobile_devices
- 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/mobile_devices \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"token": "string"
}'Response
application/json
{ "id": 2345, "token": "egxcipdIRm2Ng4pWuJuRN3:APA91bE2M42o7XBlVMAslS9YhWVr3ELXmDCM8QebHAMwvVuRWA8nYahtPvUA3LV0A-t2PW4jhmn0RF7omCpQ9BH-n6WA5CVyN1hNfsgf7EqP01Z2Hpto7NeA-ewBQAtJIgmfrBl6-rEG", "user_id": 345, "created_at": "2020-09-08 15:30:32", "updated_at": "2020-09-08 15:30:32" }
- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/network_memberships/{id}
- https://docs.cognitivesystems.com/api/v1/network_memberships/{id}
- 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/network_memberships/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'- Mock serverhttps://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/network_memberships
- https://docs.cognitivesystems.com/api/v1/network_memberships
- 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/network_memberships?expand=string&network_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE'