Skip to content

Get the latest deployment action per device​

GET
/deployment-actions/latest-by-devices

Returns the most recent deployment action for each of the provided device IDs.

Authorizations​

Parameters​

Query Parameters

device_ids*

comma-separated list of device IDs (max 200)

Type
string
Required

Responses​

Latest deployments by device

application/json
JSON
{
  
"items": {
  
  
"additionalProperties": {
  
  
  
"appliance_id": "string",
  
  
  
"channel_id": "string",
  
  
  
"channel_name": "string",
  
  
  
"channel_rev": 0,
  
  
  
"component_name": "string",
  
  
  
"component_order": 0,
  
  
  
"created_at": "string",
  
  
  
"deleted_at": "string",
  
  
  
"device_id": "string",
  
  
  
"device_step": {
  
  
  
  
"commit-msg": "string",
  
  
  
  
"committer": "string",
  
  
  
  
"device": "string",
  
  
  
  
"garbage": true,
  
  
  
  
"id": "string",
  
  
  
  
"mark_public_processed": true,
  
  
  
  
"meta": {
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
},
  
  
  
  
"owner": "string",
  
  
  
  
"progress": {
  
  
  
  
  
"data": "string",
  
  
  
  
  
"downloads": {
  
  
  
  
  
  
"objects": [
  
  
  
  
  
  
  
{
  
  
  
  
  
  
  
  
"current_time": 0,
  
  
  
  
  
  
  
  
"object_id": "string",
  
  
  
  
  
  
  
  
"object_name": "string",
  
  
  
  
  
  
  
  
"start_time": 0,
  
  
  
  
  
  
  
  
"total_downloaded": 0,
  
  
  
  
  
  
  
  
"total_size": 0
  
  
  
  
  
  
  
}
  
  
  
  
  
  
],
  
  
  
  
  
  
"total": {
  
  
  
  
  
  
  
"current_time": 0,
  
  
  
  
  
  
  
"object_id": "string",
  
  
  
  
  
  
  
"object_name": "string",
  
  
  
  
  
  
  
"start_time": 0,
  
  
  
  
  
  
  
"total_downloaded": 0,
  
  
  
  
  
  
  
"total_size": 0
  
  
  
  
  
  
}
  
  
  
  
  
},
  
  
  
  
  
"log": "string",
  
  
  
  
  
"progress": 0,
  
  
  
  
  
"status": "string",
  
  
  
  
  
"status-msg": "string"
  
  
  
  
},
  
  
  
  
"progress-log": [
  
  
  
  
  
{
  
  
  
  
  
  
"downloaded": 0,
  
  
  
  
  
  
"progress": 0,
  
  
  
  
  
  
"retries": 0,
  
  
  
  
  
  
"source": "string",
  
  
  
  
  
  
"status": "string",
  
  
  
  
  
  
"status-msg": "string",
  
  
  
  
  
  
"time": "string",
  
  
  
  
  
  
"total-size": 0
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"progress-time": "string",
  
  
  
  
"rev": 0,
  
  
  
  
"state": {
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
},
  
  
  
  
"state-sha": "string",
  
  
  
  
"step-time": "string",
  
  
  
  
"time-created": "string",
  
  
  
  
"time-modified": "string",
  
  
  
  
"trail-id": "string"
  
  
  
},
  
  
  
"environment_id": "string",
  
  
  
"fault_retries": 0,
  
  
  
"forced": true,
  
  
  
"id": "string",
  
  
  
"message": "string",
  
  
  
"missing_component_retries": 0,
  
  
  
"owner": "string",
  
  
  
"owner_id": "string",
  
  
  
"owner_name": "string",
  
  
  
"parent_id": "string",
  
  
  
"prn": "string",
  
  
  
"release_id": "string",
  
  
  
"schedule_time": "string",
  
  
  
"source": "string",
  
  
  
"state": "string",
  
  
  
"step": {
  
  
  
  
"commit-msg": "string",
  
  
  
  
"committer": "string",
  
  
  
  
"device": "string",
  
  
  
  
"garbage": true,
  
  
  
  
"id": "string",
  
  
  
  
"mark_public_processed": true,
  
  
  
  
"meta": {
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
},
  
  
  
  
"owner": "string",
  
  
  
  
"progress": {
  
  
  
  
  
"data": "string",
  
  
  
  
  
"downloads": {
  
  
  
  
  
  
"objects": [
  
  
  
  
  
  
  
{
  
  
  
  
  
  
  
  
"current_time": 0,
  
  
  
  
  
  
  
  
"object_id": "string",
  
  
  
  
  
  
  
  
"object_name": "string",
  
  
  
  
  
  
  
  
"start_time": 0,
  
  
  
  
  
  
  
  
"total_downloaded": 0,
  
  
  
  
  
  
  
  
"total_size": 0
  
  
  
  
  
  
  
}
  
  
  
  
  
  
],
  
  
  
  
  
  
"total": {
  
  
  
  
  
  
  
"current_time": 0,
  
  
  
  
  
  
  
"object_id": "string",
  
  
  
  
  
  
  
"object_name": "string",
  
  
  
  
  
  
  
"start_time": 0,
  
  
  
  
  
  
  
"total_downloaded": 0,
  
  
  
  
  
  
  
"total_size": 0
  
  
  
  
  
  
}
  
  
  
  
  
},
  
  
  
  
  
"log": "string",
  
  
  
  
  
"progress": 0,
  
  
  
  
  
"status": "string",
  
  
  
  
  
"status-msg": "string"
  
  
  
  
},
  
  
  
  
"progress-log": [
  
  
  
  
  
{
  
  
  
  
  
  
"downloaded": 0,
  
  
  
  
  
  
"progress": 0,
  
  
  
  
  
  
"retries": 0,
  
  
  
  
  
  
"source": "string",
  
  
  
  
  
  
"status": "string",
  
  
  
  
  
  
"status-msg": "string",
  
  
  
  
  
  
"time": "string",
  
  
  
  
  
  
"total-size": 0
  
  
  
  
  
}
  
  
  
  
],
  
  
  
  
"progress-time": "string",
  
  
  
  
"rev": 0,
  
  
  
  
"state": {
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
},
  
  
  
  
"state-sha": "string",
  
  
  
  
"step-time": "string",
  
  
  
  
"time-created": "string",
  
  
  
  
"time-modified": "string",
  
  
  
  
"trail-id": "string"
  
  
  
},
  
  
  
"tries": 0,
  
  
  
"type": "string",
  
  
  
"updated_at": "string"
  
  
}
  
}
}

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI