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

{
    "id": 12,
    "sha1": "b76876000bc87070f831c9f0db7c2f20b6eeb5d1",
    "playbook": {
        "id": 4,
        "items": {
            "plays": 1,
            "tasks": 2,
            "results": 2,
            "hosts": 1,
            "files": 1,
            "records": 0
        },
        "labels": [],
        "started": "2019-10-23T21:42:44.942890Z",
        "ended": "2019-10-23T21:42:46.657210Z",
        "duration": "00:00:01.714320",
        "name": "Failed",
        "ansible_version": "2.8.6.post0",
        "status": "failed",
        "path": "/home/zuul/.ara-tests/git/ara/tests/integration/failed.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\n- name: Failed playbook\n  hosts: localhost\n  tasks:\n    - fail:\n        msg: \"This is a failed playbook\"\n      tags:\n        - skip_ansible_lint\n",
    "created": "2019-10-23T21:42:44.978212Z",
    "updated": "2019-10-23T21:42:44.978256Z",
    "path": "/home/zuul/.ara-tests/git/ara/tests/integration/failed.yaml"
}