Create an Install App Task on a Device, Specifying App Version
POST /api/v2/devices/996082621/tasks
{
"data": {
"type": "tasks",
"attributes": {
"type": "INSTALL_APP",
"app_id": "60d0dece31eddd4d97e2e549",
"version": "1.2.0"
}
}
}
RESPONSE:
{
"data": {
"id": "60d0dece31eddd4d97e2e554",
"type": "tasks",
"attributes": {
"function": "INSTALL_APP",
"created_at": "2021-06-21T18:47:42.625Z",
"state": "queued",
"app_id": "60d0dece31eddd4d97e2e549",
"version": "1.2.0",
"app": {
"name": "app_45854484",
"version": "1.2.0",
"config_ids": "",
"id": "60d0dece31eddd4d97e2e549"
}
}
}
}