get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 617349,
    "url": "http://patchwork.ozlabs.org/api/patches/617349/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-5@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-20160502-5@vittgam.net>",
    "list_archive_url": null,
    "date": "2016-05-02T03:34:52",
    "name": "[OpenWrt-Devel,2/6] ramips: Fix documentation for the rt3050 switch driver.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "77a73979e2a53154aca9b3050287ca1fa5f6c2a4",
    "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-20160502-5@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/617349/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/617349/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",
            "<openwrt-devel@lists.openwrt.org>"
        ],
        "Received": [
            "from arrakis.dune.hu (caladan.dune.hu [78.24.191.180])\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 3qyqjF2y6Pz9t70\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  2 May 2016 13:36:33 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id DFAA5B91E3F;\n\tMon,  2 May 2016 05:35:15 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tMon,  2 May 2016 05:35:15 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 6B42BB91DFD\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon,  2 May 2016 05:34:53 +0200 (CEST)",
            "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\tMon,  2 May 2016 05:34:53 +0200 (CEST)",
            "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u423Yqog184500\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 05:34:52 +0200"
        ],
        "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=jAqvX6wU; dkim-atps=neutral",
        "X-Spam-Checker-Version": "SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.1",
        "X-policyd-weight": "using cached result; rate:hard: -6.1",
        "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net u423Yqog184500",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462160092;\n\tbh=3WIQPDQ+DPwqlpU7xx2FG+m1KRsdIstmM3tkOiQH+Ng=;\n\th=From:To:Subject:Content-Type:Message-ID:In-Reply-To:References;\n\tb=jAqvX6wUE6M1769yJILtfFoY6o+LL18NAgNyY/9jHRQAIR/QcYHPM9bvVrW09u+fx\n\tGV6JwHSUJvWE+6QTsqy+YFprlNjnL5J8nSG2F5gaBmrHDgiM+Up0PZPg370hMrekkT\n\tqpe2nATvcb0o9CTOQ/EUR569f1hnSS6xWjOnWe6ctZLWfDpYA1KLAIcWUSYma3aAoG\n\tRvebrlkWdMeSKexG6UHaEV14sP7aUxZxRm3jji9HJAL7DxKmilOk9vi8IEG6YQE4JI\n\tnuYNXQQJg+3HH7FlxMKi4r8N87UbLRbiP/YUtVminvVxJLdwvDVxLnqJ+WKoon1LbH\n\tZdIrE+/0tYXrA3p7V9qoNUGowxshDaVclcCmAXlbBo0J0bBc+WVs8QDTqZ9agDfd+C\n\tr/0xWmRMg24HqAm2bqtEUrO5fDva/XnBDmuipmvamaoon5skIkj275Ln29ufnMhNNo\n\tz9bAGPr/bCYZ/dV9ywdVnbX5zTOo2q0ffMdjoQHUmfYut7DAdvZJvWqI6gVc9tJDqS\n\tLECCDxFwgz9LJkVb9OzO+nJ6zU5+6AmhYrb6YteTAnqb/mgsHW5TFae/PTBp/gbzY0\n\tyWzT1MDfXf9c7HLvT1Y2BFzSmq2nRVuMO0rFVrt+4TNbVJjxmF8Bu2+6LrqudfUIE2\n\t7l4RJw3ijz49Zcr1xM1JpyV4=",
        "Date": "Mon, 2 May 2016 05:34:52 +0200",
        "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Message-ID": "<owrt-patch-20160502-5@vittgam.net>",
        "In-Reply-To": "<owrt-patch-20160502-4@vittgam.net>",
        "References": "<owrt-patch-20160502-4@vittgam.net>",
        "Subject": "[OpenWrt-Devel] [PATCH 2/6] ramips: Fix documentation for the\n\trt3050 switch driver.",
        "X-BeenThere": "openwrt-devel@lists.openwrt.org",
        "X-Mailman-Version": "2.1.20",
        "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=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "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.4/0516-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",
        "2/6"
    ]
}