get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 447666,
    "url": "http://patchwork.ozlabs.org/api/patches/447666/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patches-20150308-2@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-patches-20150308-2@vittgam.net>",
    "list_archive_url": null,
    "date": "2015-03-08T01:43:28",
    "name": "[OpenWrt-Devel] ar71xx: Fix LED polarity for the TP-LINK TL-MR13U.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8940735c3c9dd5b62f1b6261a29346a22a70a5be",
    "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-patches-20150308-2@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/447666/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/447666/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 (arrakis.dune.hu [78.24.191.176])\n\t(using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id CE2E6140187\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  8 Mar 2015 12:44:07 +1100 (AEDT)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 80666281079;\n\tSun,  8 Mar 2015 02:43:32 +0100 (CET)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id B5F9C281079\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tSun,  8 Mar 2015 02:43:23 +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\tSun,  8 Mar 2015 02:43:23 +0100 (CET)",
            "from mail2.vittgam.net ([10.48.0.5])\n\tby mail.vittgam.net (8.14.4/8.14.4/Debian-2ubuntu2) with ESMTP id\n\tt281hfHX174161\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO)\n\tfor <openwrt-devel@lists.openwrt.org>; Sun, 8 Mar 2015 02:43:41 +0100",
            "from VittGamLaptop2 (VittGamLaptop2.router1net.VittGam.net\n\t[10.48.3.146])\n\tby mail2.vittgam.net (8.14.4/8.14.4/Debian-2ubuntu2) with SMTP id\n\tt281fXAU012020\n\tfor <openwrt-devel@lists.openwrt.org>; Sun, 8 Mar 2015 02:43:28 +0100"
        ],
        "Authentication-Results": "ozlabs.org; dkim=fail\n\treason=\"verification failed; unprotected key\"\n\theader.d=vittgam.net header.i=@vittgam.net header.b=HX9flk1O;\n\tdkim-adsp=none (unprotected policy); 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=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID,\n\tT_RP_MATCHES_RCVD 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 t281hfHX174161",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20110809; t=1425779021;\n\tbh=5c8viYZpHhfnYLHTTR4ObpWDB0UrSMUXKu08JZDCO5w=;\n\th=Date:Content-Type:From:Message-Id:To:Subject;\n\tb=HX9flk1Oh424gpLawCueXrfSSL7+Liu/miq/R5iOFyOcCo9/UF7BGffbpT1eiR6N4\n\tfDJGyeKdpMktR7YtG2HwHDqsbsQ9ahR8ZfC0O2uqt5qy53YwvQNa21dfTuNH6Btva4\n\tioDppEINoeEsM9EeEdwNUhAPLxCgV5zb9xnfnIus=",
        "Date": "Sun, 8 Mar 2015 02:43:28 +0100",
        "From": "\"Vittorio G (VittGam)\" <openwrt@vittgam.net>",
        "Message-Id": "<owrt-patches-20150308-2@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Subject": "[OpenWrt-Devel] [PATCH] ar71xx: Fix LED polarity for the TP-LINK\n\tTL-MR13U.",
        "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": "Please also backport to Barrier Breaker (this same patch applies there too).\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>",
    "diff": "diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr13u.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr13u.c\nindex 8b03645..84b6937 100644\n--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr13u.c\n+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr13u.c\n@@ -45,7 +45,7 @@ static struct gpio_led tl_mr13u_leds_gpio[] __initdata = {\n \t{\n \t\t.name\t\t= \"tp-link:blue:system\",\n \t\t.gpio\t\t= TL_MR13U_GPIO_LED_SYSTEM,\n-\t\t.active_low\t= 1,\n+\t\t.active_low\t= 0,\n \t},\n };\n \n",
    "prefixes": [
        "OpenWrt-Devel"
    ]
}