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.
The Update Trigger for a specific device can also be set through the JFrog Connect Web GUI, through the device details box when selecting it on the Devices page.
Update Trigger
POST
https://api.connect.jfrog.io/v1/set_update_trigger
Request Body
Name | Type | Description |
---|---|---|
user_token | string | This is your account token. Can be found under the Settings category on Connect dashboard. |
device_token | string | This is your device token. |
trigger_set | boolean | Set to |
Example
Last updated