GET /api/hosts/980190962/traces 200 { "total": 1, "subtotal": 1, "selectable": 1, "page": 1, "per_page": 20, "error": null, "search": null, "sort": { "by": "application", "order": "asc" }, "results": [ { "id": 1, "application": "scrumm", "helper": "agile", "restart_command": "agile", "app_type": "foo", "host_id": 980190962, "host": "host1.example.com", "reboot_required": false } ] }
Param name | Description |
---|---|
host_id required |
ID of the host Validations:
|
PUT /api/hosts/980190962/traces/resolve { "trace_ids": [ 4 ], "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 } }
Param name | Description |
---|---|
host_id required |
ID of the host Validations:
|
trace_ids required |
Array of Trace IDs Validations:
|