get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 557299,
    "url": "http://patchwork.ozlabs.org/api/patches/557299/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20151216-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-20151216-5@vittgam.net>",
    "list_archive_url": null,
    "date": "2015-12-16T04:42:15",
    "name": "[OpenWrt-Devel,5/5] lantiq: Configure LED polarity for TDW8970.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e935461bf65262b587e1eea388fd098db22d2eb6",
    "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-20151216-5@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/557299/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/557299/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 6E9901402C4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 16 Dec 2015 15:47:48 +1100 (AEDT)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 975DC28C09E;\n\tWed, 16 Dec 2015 05:43:41 +0100 (CET)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 5E2CA28423E\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tWed, 16 Dec 2015 05:42:22 +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\tWed, 16 Dec 2015 05:42:02 +0100 (CET)",
            "from mail2.vittgam.net (server2.tincvpn.vittgam.net [10.48.0.5])\n\tby mail.vittgam.net with ESMTP id tBG4gFou052052\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);\n\tWed, 16 Dec 2015 05:42:15 +0100",
            "from vl2 (vl2.r12.network.mietitrebbia.rocks [10.48.6.146])\n\tby mail2.vittgam.net with SMTP id tBG4g5Jt005523;\n\tWed, 16 Dec 2015 05:42:15 +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=joTE5fPI; 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:hard: -7.6",
        "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net tBG4gFou052052",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1450240935;\n\tbh=eG04TTGAplsKTh1u7Ixt1CadMU6CA6URFAsuM1Gd3nM=;\n\th=Date:From:To:Subject:Content-Type:Message-ID;\n\tb=joTE5fPImVQMrZxxwMMmzxUpYBHs+/hccv5WYodzg/ohz/PkEr28/1x/UsWFFWg0K\n\trbcc246ytJWX5NeYG6ycJ86HaNndfxM7WEl+8dj82qvnC2AugK4SnLPScYHIOI0liK\n\tny8n0DLgo9Umequne1Y2Ka2KtIIUCTXVsrHfxQg9ZYdEIdNOb7aCW7nUMpWBpiWOtr\n\t91xWzP3pMAZZ5kKMRgSD5VXrVqaFGahj+n1eI5S6WYr+5YzEBWy4GEh7DZ8qxxKbI2\n\t1idluLXsNPM+4+/1EdrySRkBC2e4B1yhiIDfMWPSVddbHK8NPQfwscx+musYqHdJCI\n\tJzWsGyrmE7LxLpn0y316BdPWQOTv5nlYCqU/ZiqP+sDYS6Io34CyWECibFI9QBD2nr\n\tGwyT8qc+PBeWB7gGY73m1RHjUO6hc+LgWM6TRkgbNMvH8YQOR2rZfiI8LYELV7KxX4\n\toCTyV0Jg2lg6y1LNkicqtL9WEFL1zsJX1eMZ4qV++CdA+tcc0r4IIbY/j9PAtCMCTL\n\tVCGyWU7aOlCzq7oIYnjAsiqNV47f0cxksZJhVi1ZY7fUEPDVEhk8KorE2titilQeP6\n\tSyysaE2LxpTHzMkHyb9WT2v9YsVckot+BjycnWReUglFGOtb7PlkiecV86JABHzOwI\n\tXPJ5mnmhImDKlz+TiT1nzpbo=",
        "Date": "Wed, 16 Dec 2015 05:42:15 +0100",
        "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Message-ID": "<owrt-patch-20151216-5@vittgam.net>",
        "Subject": "[OpenWrt-Devel] [PATCH 5/5] lantiq: Configure LED polarity for\n\tTDW8970.",
        "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.\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n\n---\n\nThe TDW8970 LED is active high, but I'm not sure about the TDW8980 as\nI don't have one. If the TDW8980 LED is active high as well, this can\nbe added to TDW89X0.dtsi instead of TDW8970.dts.",
    "diff": "--- a/target/linux/lantiq/dts/TDW8970.dts\n+++ b/target/linux/lantiq/dts/TDW8970.dts\n@@ -4,4 +4,8 @@\n \n / {\n \tmodel = \"TDW8970 - TP-LINK TD-W8970\";\n+\n+\tath9k_eep {\n+\t\tath,led-active-high;\n+\t};\n };\n",
    "prefixes": [
        "OpenWrt-Devel",
        "5/5"
    ]
}