Skip to content

Check For Update

Determines if the user’s current app version is out of date and whether a force update is required.

POST/misc/v1/checkappupdate
Terminal window
curl -X POST https://api.juspredict.com/misc/v1/checkappupdate \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"os": 1,
"app_version": "1.0.4"
}'
{
"status": { "type": "SUCCESS" },
"app_version": { "version": "1.0.5" },
"requires_force_update": true
}
FieldTypeDescription
statusStatusOperation status.