get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 617347,
    "url": "http://patchwork.ozlabs.org/api/patches/617347/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-8@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-8@vittgam.net>",
    "list_archive_url": null,
    "date": "2016-05-02T03:34:54",
    "name": "[OpenWrt-Devel,5/6] ramips: Disable all ethernet ports except port 4 on HT-TM02.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d6b2a1b94622c393d2ac9d37778b8d40dfd3100a",
    "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-8@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/617347/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/617347/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 3qyqhY737Fz9t70\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  2 May 2016 13:35:57 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 850FEB91E1F;\n\tMon,  2 May 2016 05:35:04 +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:04 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id E1A89B91DFC\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon,  2 May 2016 05:34:54 +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:54 +0200 (CEST)",
            "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u423Yqoj184500\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 05:34:54 +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=X7f1+ied; 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 u423Yqoj184500",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462160094;\n\tbh=78wQD9mDYTkVqMCyegCP9kq4m4F2p6HlrSZyX0O4qp8=;\n\th=From:To:Subject:Content-Type:Message-ID:In-Reply-To:References;\n\tb=X7f1+iedXJ192xwMZ+Aaf0RhL+wLg2pFIfTp8m+8gutGIuqt17COKCEzY8p4GpAgy\n\tNZiritpp1CsGMzQ48HusmlAHrIMJTn8kOzB86phVUzj2+zscE8g5+UOXL+itmCmIGs\n\thl5bmS7pGlwD0X0HJOh6GZWdlHYfqBgemIsrOKZCnyaC6lrHftZLfhrEsDCY+f0ira\n\t432W5nYfh8Xax9DtTXESkChJ2DlZMgS0VGJTpVAlcrJkPbJbns5CpU2taba5n0QCZz\n\tQCD2Hy/nno1mBv8xvu1GtrFysM8LTUgFbxDoNXzJErmPehfbGlJ7vExBVWeEMnCy4j\n\tVOQ78FA9KPUgVHdS+pNBAH06/N5Q3MzbH9dBVyXwlYjROinUdyMk9aeZS1J20Y9MHY\n\tDLHZIzPmMFlY7mQClTJ0In+PiB/oyZLPjh86XAHsYIyY5oJcJhxwC7rYmcWgC5+jOs\n\teWbo9MUz07Zbdmp+pffceDOgZ7OmbQ8N+Y08XGvnCFDjlq1mSwIqZjKYV/AUxzX7b0\n\tL4Rp4aAzjp6FDBC1iJ2aAFVJi9w9CBWL16mHjA5kPtvirqH5dLxbRBbvHeW4XeetQv\n\tfjL11h5cEfh/aksNC8K1ZGbttINbuFLPBp4Lv+S9ncf3YgdpEacdP82GTC2EuFsMgP\n\tiVHBIiUFTULfn/yAorGVec40=",
        "Date": "Mon, 2 May 2016 05:34:54 +0200",
        "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Message-ID": "<owrt-patch-20160502-8@vittgam.net>",
        "In-Reply-To": "<owrt-patch-20160502-4@vittgam.net>",
        "References": "<owrt-patch-20160502-4@vittgam.net>",
        "Subject": "[OpenWrt-Devel] [PATCH 5/6] ramips: Disable all ethernet ports\n\texcept port 4 on HT-TM02.",
        "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": "Port 4 is the only ethernet port on this router, so disable all other PHYs\nin order to save power.\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---",
    "diff": "--- a/target/linux/ramips/dts/HT-TM02.dts\n+++ b/target/linux/ramips/dts/HT-TM02.dts\n@@ -63,6 +63,7 @@\n \n \tesw@10110000 {\n \t\tmediatek,portmap = <0x10>;\n+\t\tmediatek,portdisable = <0x2f>;\n \t};\n \n \twmac@10180000 {\n",
    "prefixes": [
        "OpenWrt-Devel",
        "5/6"
    ]
}