Examples

PUT /api/hosts/980190962/traces/resolve
{
  "trace_ids": [
    8
  ],
  "host_tracer": {}
}
202
{
  "id": "b8317062-c664-4792-9d9a-8167b23c0001",
  "label": "task1",
  "pending": false,
  "action": "task1",
  "username": null,
  "started_at": "2016-01-02 11:15:00 UTC",
  "ended_at": "2016-01-02 11:15:32 UTC",
  "state": "stopped",
  "result": "success",
  "progress": 0,
  "input": null,
  "output": null,
  "humanized": {
    "action": "task1",
    "input": null,
    "output": null,
    "errors": null
  },
  "cli_example": null,
  "start_at": null,
  "available_actions": {
    "cancellable": null,
    "resumable": false
  }
}

Params

Param name Description
host_id
required

ID of the host

Validations:

  • Must be a number.

trace_ids
required

Array of Trace IDs

Validations:

  • Must be an array of any type