Cognitive Systems WiFi Motion AppCloud API (v1-5-x)
The AppCloud APIs are used by mobile applications to communicate with the Cognitive Systems Infrastructure.
Download OpenAPI description
Languages
Servers
Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/
https://docs.cognitivesystems.com/api/v1/
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sessions/sso/cognito
https://docs.cognitivesystems.com/api/v1/sessions/sso/cognito
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sessions/sso/cognito \
-H 'Content-Type: application/json' \
-d '{
"access_token": "NEW.COGNITO.AUTH.TOKEN"
}'
Response
application/json
{ "refresh_token": "JWT TOKEN", "token": "JWT TOKEN", "user": { "id": 601, "email": "user@cognitivesystems.com", "first_name": "John", "last_name": "Smith", "created_at": "2020-01-04T22:05:38.793Z", "updated_at": "2020-01-04T22:06:02.059Z", "confirmed_at": "2020-01-04T22:06:02.056Z" } }
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/users/{id}
https://docs.cognitivesystems.com/api/v1/users/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/users/{id}' \
-H 'Authorization: YOUR_API_KEY_HERE'
Response
application/json
{ "id": 98, "username": "", "email": "test@cognitivesystems.com", "first_name": "Cognitive", "last_name": "Systems", "created_at": "2021-04-12T21:04:19.647Z", "updated_at": "2021-04-12T21:04:38.403Z", "confirmed_at": "2021-04-12T21:04:38.403Z" }
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/password_resets
https://docs.cognitivesystems.com/api/v1/password_resets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/password_resets \
-H 'Content-Type: application/json' \
-d '{
"token": "string",
"password": "string"
}'
Response
application/json
{ "id": 0, "email": "string", "first_name": "string", "last_name": "string", "username": "string", "confirmed_at": "string", "created_at": "string", "updated_at": "string" }