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

{
    "id": 2,
    "sha1": "1cfcd08439779714eac75d9892f0c29e8935dad0",
    "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"
    },
    "content": "---\n#  Copyright (c) 2018 Red Hat, Inc.\n#\n#  This file is part of ARA Records Ansible.\n#\n#  ARA is free software: you can redistribute it and/or modify\n#  it under the terms of the GNU General Public License as published by\n#  the Free Software Foundation, either version 3 of the License, or\n#  (at your option) any later version.\n#\n#  ARA is distributed in the hope that it will be useful,\n#  but WITHOUT ANY WARRANTY; without even the implied warranty of\n#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n#  GNU General Public License for more details.\n#\n#  You should have received a copy of the GNU General Public License\n#  along with ARA.  If not, see <http://www.gnu.org/licenses/>.\n\nlist_items:\n  - one\n  - two\n\ndict_items:\n  one:\n    name: \"key-one\"\n    value: \"value-one\"\n  two:\n    name: \"key-two\"\n    value: \"value-two\"\n",
    "created": "2019-12-13T15:28:24.535565Z",
    "updated": "2019-12-13T15:28:24.535609Z",
    "path": "/home/zuul/.ara-tests/git/ara/tests/integration/roles/smoke-tests/defaults/main.yaml"
}