get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/808840/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 808840,
    "url": "http://patchwork.ozlabs.org/api/patches/808840/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/20170901171740.27234-3-aconole@redhat.com/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/projects/47/?format=api",
        "name": "Open vSwitch",
        "link_name": "openvswitch",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "git@github.com:openvswitch/ovs.git",
        "webscm_url": "https://github.com/openvswitch/ovs",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170901171740.27234-3-aconole@redhat.com>",
    "list_archive_url": null,
    "date": "2017-09-01T17:17:39",
    "name": "[ovs-dev,2/3] selinux.rst: point to the correct file",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "bcc6aca6b0d6efb29432acf4183dfba7fb6350ce",
    "submitter": {
        "id": 67184,
        "url": "http://patchwork.ozlabs.org/api/people/67184/?format=api",
        "name": "Aaron Conole",
        "email": "aconole@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/20170901171740.27234-3-aconole@redhat.com/mbox/",
    "series": [
        {
            "id": 1081,
            "url": "http://patchwork.ozlabs.org/api/series/1081/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/openvswitch/list/?series=1081",
            "date": "2017-09-01T17:17:38",
            "name": "Address some fallout from the selinux patches",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1081/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808840/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808840/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "ovs-dev@mail.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)",
            "ext-mx01.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com",
            "ext-mx01.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=aconole@redhat.com"
        ],
        "Received": [
            "from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkQwq70yRz9t2x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 03:20:11 +1000 (AEST)",
            "from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id EBA20DC4;\n\tFri,  1 Sep 2017 17:17:47 +0000 (UTC)",
            "from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id B2D07D7D\n\tfor <dev@openvswitch.org>; Fri,  1 Sep 2017 17:17:43 +0000 (UTC)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 50395196\n\tfor <dev@openvswitch.org>; Fri,  1 Sep 2017 17:17:43 +0000 (UTC)",
            "from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id A913681DEB;\n\tFri,  1 Sep 2017 17:17:42 +0000 (UTC)",
            "from dhcp-25-97.bos.redhat.com (unknown [10.18.25.172])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 5496B5D966;\n\tFri,  1 Sep 2017 17:17:42 +0000 (UTC)"
        ],
        "X-Greylist": [
            "domain auto-whitelisted by SQLgrey-1.7.6",
            "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.25]);\n\tFri, 01 Sep 2017 17:17:42 +0000 (UTC)"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com A913681DEB",
        "From": "Aaron Conole <aconole@redhat.com>",
        "To": "dev@openvswitch.org",
        "Date": "Fri,  1 Sep 2017 13:17:39 -0400",
        "Message-Id": "<20170901171740.27234-3-aconole@redhat.com>",
        "In-Reply-To": "<20170901171740.27234-1-aconole@redhat.com>",
        "References": "<20170901171740.27234-1-aconole@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.14",
        "X-Spam-Status": "No, score=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,\n\tRP_MATCHES_RCVD autolearn=disabled version=3.3.1",
        "X-Spam-Checker-Version": "SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org",
        "Cc": "Ansis Atteka <aatteka@ovn.org>",
        "Subject": "[ovs-dev] [PATCH 2/3] selinux.rst: point to the correct file",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.12",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "ovs-dev-bounces@openvswitch.org",
        "Errors-To": "ovs-dev-bounces@openvswitch.org"
    },
    "content": "The selinux documentation mentions to check the selinux/openvswitch.te file\nfor any permissions that might need to be added.  However, the commit\n7bc1aae71e89 (\"rhel: make the selinux policy intermediate\") moved this\nfile to be generated from intermediate file selinux/openvswitch.te.in\ninstead.\n\nCorrect the documentation, so that users won't be trying to edit a generated\nfile.\n\nAlso, add a gitignore for the autogenerated file.\n\nFixes: 7bc1aae71e89 (\"rhel: make the selinux policy intermediate\")\nReported-by: Ansis Atteka <aatteka@ovn.org>\nSigned-off-by: Aaron Conole <aconole@redhat.com>\n---\n Documentation/howto/selinux.rst | 2 +-\n selinux/.gitignore              | 1 +\n 2 files changed, 2 insertions(+), 1 deletion(-)\n create mode 100644 selinux/.gitignore",
    "diff": "diff --git a/Documentation/howto/selinux.rst b/Documentation/howto/selinux.rst\nindex ad556da..4809639 100644\n--- a/Documentation/howto/selinux.rst\n+++ b/Documentation/howto/selinux.rst\n@@ -136,7 +136,7 @@ Then verify that this module was indeed loaded::\n     openvswitch          1.1.1\n \n If you still see Permission denied errors, then take a look into\n-``selinux/openvswitch.te`` file in the OVS source tree and try to add white\n+``selinux/openvswitch.te.in`` file in the OVS source tree and try to add white\n list rules.  This is really simple, just run SELinux audit2allow tool::\n \n     $ grep \"openvswitch_t\" /var/log/audit/audit.log | audit2allow -M ovslocal\ndiff --git a/selinux/.gitignore b/selinux/.gitignore\nnew file mode 100644\nindex 0000000..83a0afb\n--- /dev/null\n+++ b/selinux/.gitignore\n@@ -0,0 +1 @@\n+openvswitch-custom.te\n",
    "prefixes": [
        "ovs-dev",
        "2/3"
    ]
}