Create an Apply App Configuration Task on a Device
POST /api/v2/devices/995560841/tasks
{
"data": {
"type": "tasks",
"attributes": {
"type": "INSTALL_CONFIGS",
"config_ids": [
"60db225031eddd3bb1dcc43e"
]
}
}
}
RESPONSE:
{
"data": {
"id": "60db225131eddd3bb1dcc445",
"type": "tasks",
"attributes": {
"function": "INSTALL_CONFIGS",
"created_at": "2021-06-29T13:38:25.481Z",
"state": "queued",
"app_id": "60db225031eddd3bb1dcc43a",
"config_ids": "60db225031eddd3bb1dcc43e",
"app": {
"name": "app_28832400",
"version": "*",
"config_ids": "60db225031eddd3bb1dcc43e",
"id": "60db225031eddd3bb1dcc43a"
},
"app_configs": [
{
"id": "60db225031eddd3bb1dcc43e",
"description": "ac desc 0.211886161970272",
"install_requested_at": "2021-06-29T13:28:25.000+00:00",
"version": "0.4.5"
}
],
"version": "*"
}
}
}