GET /api/v1/results/10
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 10,
    "status": "changed",
    "playbook": {
        "id": 1,
        "items": {
            "plays": 3,
            "tasks": 39,
            "results": 39,
            "hosts": 2,
            "files": 5,
            "records": 6
        },
        "labels": [
            {
                "id": 1,
                "name": "integration tests"
            },
            {
                "id": 2,
                "name": "smoke"
            }
        ],
        "started": "2019-12-13T15:28:24.327382Z",
        "ended": "2019-12-13T15:28:36.541772Z",
        "duration": "00:00:12.214390",
        "name": "Smoke tests",
        "ansible_version": "2.9.2.post0",
        "status": "completed",
        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/smoke.yaml"
    },
    "play": {
        "id": 1,
        "items": {
            "tasks": 35,
            "results": 35
        },
        "started": "2019-12-13T15:28:24.568753Z",
        "ended": "2019-12-13T15:28:34.557830Z",
        "duration": "00:00:09.989077",
        "name": "ARA Tasks test play",
        "status": "completed",
        "playbook": 1
    },
    "task": {
        "id": 10,
        "items": {
            "results": 1
        },
        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/roles/smoke-tests/tasks/ara-ops.yaml",
        "started": "2019-12-13T15:28:28.116254Z",
        "ended": "2019-12-13T15:28:28.432793Z",
        "duration": "00:00:00.316539",
        "name": "smoke-tests : Update existing key's value and type",
        "action": "ara_record",
        "lineno": 64,
        "handler": false,
        "status": "completed",
        "play": 1,
        "file": 4,
        "playbook": 1
    },
    "host": {
        "id": 1,
        "name": "localhost",
        "changed": 9,
        "failed": 0,
        "ok": 34,
        "skipped": 1,
        "unreachable": 0,
        "playbook": 1
    },
    "content": {
        "changed": true,
        "created": "2019-12-13T15:28:27.994864Z",
        "key": "foo",
        "msg": "Record created or updated in ARA",
        "playbook_id": 1,
        "type": "url",
        "updated": "2019-12-13T15:28:28.318799Z",
        "value": "http://barfoo"
    },
    "created": "2019-12-13T15:28:28.396097Z",
    "updated": "2019-12-13T15:28:28.396151Z",
    "started": "2019-12-13T15:28:28.116254Z",
    "ended": "2019-12-13T15:28:28.378014Z",
    "duration": "00:00:00.261760",
    "changed": true,
    "ignore_errors": false
}