get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 561989,
    "url": "http://patchwork.ozlabs.org/api/patches/561989/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160101-v4-1@vittgam.net/",
    "project": {
        "id": 45,
        "url": "http://patchwork.ozlabs.org/api/projects/45/?format=api",
        "name": "OpenWrt development",
        "link_name": "openwrt",
        "list_id": "openwrt-devel.lists.openwrt.org",
        "list_email": "openwrt-devel@lists.openwrt.org",
        "web_url": "http://openwrt.org/",
        "scm_url": "git://git.openwrt.org/openwrt.git",
        "webscm_url": "https://dev.openwrt.org/browser",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<owrt-patch-20160101-v4-1@vittgam.net>",
    "list_archive_url": null,
    "date": "2015-12-31T23:00:00",
    "name": "[OpenWrt-Devel,v4,1/4] ramips: Fix documentation for the rt3050 switch driver.",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4db1a9d1f2b094e68c6ea732454f888a54695c93",
    "submitter": {
        "id": 65409,
        "url": "http://patchwork.ozlabs.org/api/people/65409/?format=api",
        "name": "Vittorio Gambaletta",
        "email": "openwrt@vittgam.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160101-v4-1@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/561989/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/561989/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<openwrt-devel-bounces@lists.openwrt.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Received": [
            "from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id BA70E140BF1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Jan 2016 10:00:41 +1100 (AEDT)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 67FC42807A8;\n\tThu, 31 Dec 2015 23:59:54 +0100 (CET)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 17440280192\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 31 Dec 2015 23:59:38 +0100 (CET)",
            "from mail.vittgam.net (server1.vittgam.net [213.239.197.142])\n\tby arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 31 Dec 2015 23:59:37 +0100 (CET)",
            "from vl2 (vittgamlaptop2.r1.network.mietitrebbia.rocks\n\t[10.48.3.146]) by mail.vittgam.net with SMTP id tBVN00oj082907;\n\tFri, 1 Jan 2016 00:00:00 +0100"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n\tunprotected) header.d=vittgam.net header.i=@vittgam.net\n\theader.b=l7K8+vKz; dkim-atps=neutral",
        "X-Spam-Checker-Version": "SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,\n\tT_DKIM_INVALID autolearn=unavailable version=3.3.2",
        "X-policyd-weight": "using cached result; rate: -7.6",
        "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net tBVN00oj082907",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1451602801;\n\tbh=cgHDcOmda7xkQXy2Oih6R5lZiNftMgGOxPRk0Ca6sQM=;\n\th=From:To:Date:Subject:Content-Type:Message-ID;\n\tb=l7K8+vKzK5qWnm8QVLCVCHf4UUVq36b6ts3yy8h0xdQe9cBz5cKv6mYyL3v2xFiXL\n\t66TiIXAcglcczNakknhRtv6c4Y3PDN260MXpkC4gUzMUbbgZb7dOq0VgrvKrI//Nqa\n\tEpRqaYZird/23lCO483mVEJbW6nZCcq5OQJMWVY2mAEin1Gd2R5TZ1icyAN65KYb4Y\n\txxOz5vTIgzCXoo3DEwLNUm0lpxTr30lYEKyb6fS9zoD8s57CL0uL3ua1BwvhS8p4rC\n\tNjL+r1cifwZXwcq99P0H5tMblxqNfEcYP5FT6Zbjyhmea2iT1bkgnoPMX8pi3NyUpU\n\t0WF7t6xWb5VYj/7naUbsSSh3c8tyyNLmFJfGVTCrhuMiY1dxOtrWnamFl6zvn0gCqm\n\tXJ5aYWFdjsFoagjE5PBNK8934WaYUdLVQv7h09CFAh+Um2Yb6wHwc/F+bGKGn9wGUS\n\ty+ixya3sRK6Khg7fPZdSGhrG/L/zEpDIpnSv5vyf6teHlCnM6iDpPbwUQONVeCQwnO\n\tvzx5amJVymetW3a9ZwsR9yQX1WX73v/aIos/31cuH7jE3SVaOO/+UhWEelmPEuh9oJ\n\tHouqpIoKm6g/uViG7d5HmXSMQV6pJvLF9mqp9wQRsDlOwlXSCQZHRZC2JwiKyhjxCY\n\tizvzCqn5PMCatAQDAYpsYWkE=",
        "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Date": "Fri, 01 Jan 2016 00:00:00 +0100",
        "Message-ID": "<owrt-patch-20160101-v4-1@vittgam.net>",
        "Subject": "[OpenWrt-Devel] [PATCH v4 1/4] ramips: Fix documentation for the\n\trt3050 switch driver.",
        "X-BeenThere": "openwrt-devel@lists.openwrt.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "OpenWrt Development List <openwrt-devel.lists.openwrt.org>",
        "List-Unsubscribe": "<https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.openwrt.org/pipermail/openwrt-devel/>",
        "List-Post": "<mailto:openwrt-devel@lists.openwrt.org>",
        "List-Help": "<mailto:openwrt-devel-request@lists.openwrt.org?subject=help>",
        "List-Subscribe": "<https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "openwrt-devel-bounces@lists.openwrt.org",
        "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>"
    },
    "content": "The prefix used in the driver is now \"mediatek\" instead of \"ralink\".\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---",
    "diff": "--- /dev/null\n+++ b/target/linux/ramips/patches-4.3/0514-Documentation-DT-net-mediatek-fix-documentation-for-.patch\n@@ -0,0 +1,23 @@\n+From: Vittorio Gambaletta <openwrt@vittgam.net>\n+Date: Fri, 01 Jan 2016 00:00:00 +0100\n+Subject: [PATCH 1/3] Documentation: DT: net: mediatek: Fix documentation for the rt3050 switch driver.\n+\n+The prefix used in the driver is now \"mediatek\" instead of \"ralink\".\n+\n+Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n+---\n+\n+--- a/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt\n++++ b/Documentation/devicetree/bindings/net/ralink,rt3050-esw.txt\n+@@ -14,9 +14,9 @@ Required properties:\n+ - reset-names: Should contain the reset names \"esw\"\n+ \n+ Optional properties:\n+-- ralink,portmap: can be used to choose if the default switch setup is\n++- mediatek,portmap: can be used to choose if the default switch setup is\n+   llllw or wllll\n+-- ralink,led_polarity: override the active high/low settings of the leds\n++- mediatek,led_polarity: override the active high/low settings of the leds\n+ \n+ Example:\n+ \n",
    "prefixes": [
        "OpenWrt-Devel",
        "v4",
        "1/4"
    ]
}