Update trigger
Update Trigger
POST
https://api.upswift.io/v1/set_update_trigger
When deploying OTA updates on devices, there are situations when your device state is not compatible with receiving new updates. If, for instance, your device is currently in use by the end-user, you would rather not deploy the new update at that time. Using the Update Trigger
call, you can manage from within your application when you would like to receive updates, and when not to. After setting the update trigger, your device will not receive new updates until you unset the trigger.
Request Body
Name | Type | Description |
---|---|---|
user_token | string | This is your account token. Can be found under the Settings category on Upswift dashboard. |
device_token | string | This is your device token. |
trigger_set | boolean | Set to |
Example
Last updated