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/
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.
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/mobile_devices
https://docs.cognitivesystems.com/api/v1/mobile_devices
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/mobile_devices \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"token": "string"
}'
{ "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" }
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/confirmation_mails
https://docs.cognitivesystems.com/api/v1/confirmation_mails
curl -i -X POST \
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/confirmation_mails \
-H 'Authorization: YOUR_API_KEY_HERE'
After the user receives a confirmation email. This link should open the app, and pass the included token to this User Confirmation GET request.
A successful response means that the account associated with the token/email is now confirmed, and can be used for OOB or view network as a member.
Note: This is NOT the same token as was returned by the #endpoint:u8SLn5ebDpLA96m7B endpoint. They are both jwt tokens with the same format but they have different token audience, expiry and payload data.
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/confirmations
https://docs.cognitivesystems.com/api/v1/confirmations
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/confirmations?token=string' \
-H 'Authorization: YOUR_API_KEY_HERE'
{ "id": 0, "email": "string", "first_name": "string", "last_name": "string", "username": "string", "confirmed_at": "string", "created_at": "string", "updated_at": "string" }