get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 801320,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/801320/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openvswitch/patch/20170814201814.15993-1-aconole@redhat.com/",
    "project": {
        "id": 47,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170814201814.15993-1-aconole@redhat.com>",
    "list_archive_url": null,
    "date": "2017-08-14T20:18:14",
    "name": "[ovs-dev] redhat: fix upgrades where group doesn't exist",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9d0ee617ce20f381f7093e56ee7f3aec929d475e",
    "submitter": {
        "id": 67184,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/67184/?format=api",
        "name": "Aaron Conole",
        "email": "aconole@redhat.com"
    },
    "delegate": {
        "id": 55721,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/55721/?format=api",
        "username": "russellb",
        "first_name": "Russell",
        "last_name": "Bryant",
        "email": "rbryant@redhat.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/openvswitch/patch/20170814201814.15993-1-aconole@redhat.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/801320/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/801320/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 3xWRkm22fQz9t2y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 15 Aug 2017 06:18:24 +1000 (AEST)",
            "from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 76DD249B;\n\tMon, 14 Aug 2017 20:18:20 +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 D7489481\n\tfor <dev@openvswitch.org>; Mon, 14 Aug 2017 20:18:18 +0000 (UTC)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id C7389248\n\tfor <dev@openvswitch.org>; Mon, 14 Aug 2017 20:18:18 +0000 (UTC)",
            "from smtp.corp.redhat.com\n\t(int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15])\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 2C8EB72F12;\n\tMon, 14 Aug 2017 20:18:18 +0000 (UTC)",
            "from dhcp-25-97.bos.redhat.com (unknown [10.18.25.172])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id A6BBF5D6A9;\n\tMon, 14 Aug 2017 20:18:15 +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\tMon, 14 Aug 2017 20:18:18 +0000 (UTC)"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com 2C8EB72F12",
        "From": "Aaron Conole <aconole@redhat.com>",
        "To": "dev@openvswitch.org",
        "Date": "Mon, 14 Aug 2017 16:18:14 -0400",
        "Message-Id": "<20170814201814.15993-1-aconole@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "Cc": "Flavio Leitner <fbl@sysclose.org>",
        "Subject": "[ovs-dev] [PATCH] redhat: fix upgrades where group doesn't exist",
        "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 upgrade from older Open vSwitch versions on RHEL will try, as much as\npossible, to preserve the system.  This means no new users or groups are\ncreated.  As an effect, it's possible for the chown to fail, because the\nhugetlbfs group may not exist.  While it did on my systems, it was not\nthere on others.\n\nThis change allows the ExecStartPre commands to fail.  In the case that the\nuser doesn't use DPDK, it won't matter anyway.\n\nFixes: e3e738a3d058 ('redhat: allow dpdk to also run as non-root user')\nSigned-off-by: Aaron Conole <aconole@redhat.com>\nReported-by: Jean-Tsung Hsiao <jhsiao@redhat.com>\nTested-by: Jean-Tsung Hsiao <jhsiao@redhat.com>\n---\n\n rhel/usr_lib_systemd_system_ovs-vswitchd.service.in | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in\nindex bf0f058..c6d9aa1 100644\n--- a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in\n+++ b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in\n@@ -14,8 +14,8 @@ Environment=HOME=/var/run/openvswitch\n EnvironmentFile=/etc/openvswitch/default.conf\n EnvironmentFile=-/etc/sysconfig/openvswitch\n @begin_dpdk@\n-ExecStartPre=/usr/bin/chown :hugetlbfs /dev/hugepages\n-ExecStartPre=/usr/bin/chmod 0775 /dev/hugepages\n+ExecStartPre=-/usr/bin/chown :hugetlbfs /dev/hugepages\n+ExecStartPre=-/usr/bin/chmod 0775 /dev/hugepages\n @end_dpdk@\n ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \\\n           --no-ovsdb-server --no-monitor --system-id=random \\\n",
    "prefixes": [
        "ovs-dev"
    ]
}