get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 558422,
    "url": "http://patchwork.ozlabs.org/api/patches/558422/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20151217-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-20151217-1@vittgam.net>",
    "list_archive_url": null,
    "date": "2015-12-17T16:47:19",
    "name": "[OpenWrt-Devel] lantiq: Configure LED polarity for TDW8970 and TDW8980.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "99a548d4999b393140ba9c459108ebf5b81474ef",
    "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-20151217-1@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/558422/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/558422/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 D3C871402BB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 18 Dec 2015 03:47:32 +1100 (AEDT)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id DDDF828AD31;\n\tThu, 17 Dec 2015 17:47:11 +0100 (CET)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 3334E28AD31\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 17 Dec 2015 17:47:06 +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, 17 Dec 2015 17:47:05 +0100 (CET)",
            "from mail2.vittgam.net (server2.tincvpn.vittgam.net [10.48.0.5])\n\tby mail.vittgam.net with ESMTP id tBHGlKpS103120\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);\n\tThu, 17 Dec 2015 17:47:20 +0100",
            "from vl2 (vl2.r12.network.mietitrebbia.rocks [10.48.6.146])\n\tby mail2.vittgam.net with SMTP id tBHGlJmj027326;\n\tThu, 17 Dec 2015 17:47:19 +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=HsblOnSZ; 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 tBHGlKpS103120",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1450370840;\n\tbh=XmUDvMOaAphZGCn9sQkY5+GflZugKDWc9e232OFXaQs=;\n\th=Date:From:To:Subject:Content-Type:Message-ID;\n\tb=HsblOnSZLWiLDrneiBfmYESaFoSX/p2aRshBlJfNdAvk9SskmTYpYIDZIPwe7uH80\n\tLVB1CWdV4FpxnVdHSionQriZ71JhjXUbq2ypyIybLZLZAHKJGT0X7eKHki5IutdDwQ\n\t1QtxMWqGI7/a9ynbaDpgVaGVEniSnqIUbkyqp5+OyaS2iCNoqyVN1cBrlbN295VZtP\n\tB65Vd/2+Z7SwQfm5nKtgEfdU/gVHCMnFogVHypnoqn0q5thZlI/PKQuMiH7tiWwjrE\n\tAvRlGNgp607ieiqcfdCtfT2ASv1iN8EZVA2F3OM6/edJ5ECPNe3FRdYDsPGLPUI4L8\n\thvx4TI2c2DynYJjk0+FIRIYkOy/V7VN8tUfuPko1xlUKnE7F0wxe9ATv/cEqojYetb\n\tfFuQctPCyDkXOpCRKmVzIo4ezX+Bfh50PRHSQapBQZGoj8T/dXqtViK9AwJJqifo+T\n\t8j73WszdJM2u1iOm7HOq1+HQOxUfT5pT+hmsxtsZK2uoiq8cvzaZ0Ly2og+tIAbNOG\n\t16oNayBCrouVLoruUWiJXeykwyLYXLdr0PJfUrJVh2oa5Y4Joow376e2P8rm5DUl3Z\n\tUoOykTFKSUKeVvur/OfRxi5HahQZTBmkj4Bm9Xkn/S6wfDkGZ0zm8feBjREEjObmJp\n\tR/coIjCoQGKllg8EZV/klVX0=",
        "Date": "Thu, 17 Dec 2015 17:47:19 +0100",
        "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Message-ID": "<owrt-patch-20151217-1@vittgam.net>",
        "Subject": "[OpenWrt-Devel] [PATCH] lantiq: Configure LED polarity for TDW8970\n\tand TDW8980.",
        "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": "This patch configures the correct ath9k WLAN LED polarity for the TDW8970,\nand for the TDW8980 as well.\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n\n---",
    "diff": "--- a/target/linux/lantiq/dts/TDW8970.dts\n+++ b/target/linux/lantiq/dts/TDW8970.dts\n@@ -4,8 +4,4 @@\n \n / {\n \tmodel = \"TDW8970 - TP-LINK TD-W8970\";\n-\n-\tath9k_eep {\n-\t\tath,led-active-high;\n-\t};\n };\n--- a/target/linux/lantiq/dts/TDW89X0.dtsi\n+++ b/target/linux/lantiq/dts/TDW89X0.dtsi\n@@ -181,6 +181,7 @@\n \t\tath,mac-increment;\n \t\tath,led-pin = <0>;\n \t\tath,disable-5ghz;\n+\t\tath,led-active-high;\n \t};\n \n \tgpio-keys-polled {\n",
    "prefixes": [
        "OpenWrt-Devel"
    ]
}