get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 624192,
    "url": "http://patchwork.ozlabs.org/api/patches/624192/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-21-git-send-email-sven.eckelmann@open-mesh.com/",
    "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": "<1463682077-19339-21-git-send-email-sven.eckelmann@open-mesh.com>",
    "list_archive_url": null,
    "date": "2016-05-19T18:21:04",
    "name": "[OpenWrt-Devel,CC,21/34] ar71xx: add user-space support for the OpenMesh OM5P-AC",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "2ec70af68b489a78786d2012aa4e48fb05f0cc29",
    "submitter": {
        "id": 68437,
        "url": "http://patchwork.ozlabs.org/api/people/68437/?format=api",
        "name": "Sven Eckelmann",
        "email": "sven.eckelmann@open-mesh.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-21-git-send-email-sven.eckelmann@open-mesh.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/624192/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/624192/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 (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 3r9fhm0Xdlz9sdg\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 May 2016 04:28:40 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id E4606B9209B;\n\tThu, 19 May 2016 20:23:01 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tThu, 19 May 2016 20:23:01 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id E881AB91FEB\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:22:06 +0200 (CEST)",
            "from mail-wm0-f44.google.com (mail-wm0-f44.google.com\n\t[74.125.82.44]) by arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:22:06 +0200 (CEST)",
            "by mail-wm0-f44.google.com with SMTP id a17so138685803wme.0\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 11:22:06 -0700 (PDT)",
            "from sven-desktop.home.narfation.org\n\t(p579E6DC9.dip0.t-ipconnect.de. [87.158.109.201])\n\tby smtp.gmail.com with ESMTPSA id\n\tr8sm496407wme.14.2016.05.19.11.22.05\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 19 May 2016 11:22:05 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=open-mesh-com.20150623.gappssmtp.com\n\theader.i=@open-mesh-com.20150623.gappssmtp.com\n\theader.b=ab1yNAV+; 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": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tCL_IP_EQ_HELO_IP=-2 (check from: .open-mesh. - helo:\n\t.mail-wm0-f44.google. -\n\thelo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=open-mesh-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=uOUlmsOjBHdzd0O2/FPNb8QeZfIP1wuHLnvmedAiQgI=;\n\tb=ab1yNAV+ISURqrL116h7KUe/cGcQu/OXtLwKZ6jod3v9Qq6bLgiSmRxYopmIB8qUNR\n\tetylKUY1E9byqmclD+KElmCcYGVEkiJAqx5aB8bz5x6VD79iHUbVNVZwMsFOUWGZXYVq\n\tZyvU4PXrnO6UtuQLzA8yn/D8E65wVXoswZHzBo9fs2tzoLEbKIjN3Piu4lVamWRVsS69\n\tD+wwayRhgw41AJ6Fr/QozYxIKFXhX6+K51B6ukqst/ARizsZ51X5JxE4uKOWp2hC6anj\n\t2GRt6RDZ7d+H+/Cxfnhl2uSoAsFF3FJnaY1zwmE1sxxWz6N/xfT9i0Y33yvzcvM9xJTA\n\tSMXQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=uOUlmsOjBHdzd0O2/FPNb8QeZfIP1wuHLnvmedAiQgI=;\n\tb=IRzcy/Te8WPGm4Ka3K2QJHoqEgJzAPI9LpvvRHIIMWIqEkVd+DxrmaDPKetvSe8eFK\n\tcq/XJxrcyAqPKL3juHuEFVVeVjIupJ5AOInCl2ISPvrDBLux2cvBTxsV9Iu1ccb3Me9V\n\tN56sv2uuqCTA43eu0kLg62P+EoYjKGTMZXZMZyZu0mviP3qoA78sNMs14oASv7IqR0D0\n\tO31dEwZnYU9YzTerl2bX38b38+QaKg/U6ZLWnWR0tbcw7EH/eWFvRhL7GEHROdpXDD38\n\t6IF8Z2W2jY/PDJbjTuj24KCybaNtXgjKg+1XiR9UkdDyOyDN53nDDNX3QcHpJZQCwh+T\n\tgt3Q==",
        "X-Gm-Message-State": "AOPr4FUIYhdb8X9xe9OJJcLU3yBXlRUWc0LpKwAR1fQIpkIUTdQaDoNPwvCDWO0hVgfJGvD+",
        "X-Received": "by 10.28.195.131 with SMTP id t125mr14463019wmf.25.1463682126025;\n\tThu, 19 May 2016 11:22:06 -0700 (PDT)",
        "From": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "To": "openwrt-devel@lists.openwrt.org",
        "Date": "Thu, 19 May 2016 20:21:04 +0200",
        "Message-Id": "<1463682077-19339-21-git-send-email-sven.eckelmann@open-mesh.com>",
        "X-Mailer": "git-send-email 2.8.1",
        "In-Reply-To": "<1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "References": "<1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "Subject": "[OpenWrt-Devel] [PATCH CC 21/34] ar71xx: add user-space support for\n\tthe OpenMesh OM5P-AC",
        "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>",
        "Cc": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "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": "Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>\n\nBackport of r49142\n---\n target/linux/ar71xx/base-files/etc/diag.sh              | 3 +++\n target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 5 +++++\n target/linux/ar71xx/base-files/lib/ar71xx.sh            | 3 +++\n 3 files changed, 11 insertions(+)",
    "diff": "diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh\nindex b2ee163..7528620 100644\n--- a/target/linux/ar71xx/base-files/etc/diag.sh\n+++ b/target/linux/ar71xx/base-files/etc/diag.sh\n@@ -178,6 +178,9 @@ get_status_led() {\n \tom5p-an)\n \t\tstatus_led=\"om5p:blue:power\"\n \t\t;;\n+\tom5p-ac)\n+\t\tstatus_led=\"om5pac:blue:power\"\n+\t\t;;\n \tonion-omega)\n \t\tstatus_led=\"onion:amber:system\"\n \t\t;;\ndiff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds\nindex c451124..9a768cd 100644\n--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds\n+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds\n@@ -304,6 +304,11 @@ om5p-an)\n \tucidef_set_led_netdev \"port2\" \"port2\" \"om5p:blue:lan\" \"eth1\"\n \t;;\n \n+om5p-ac)\n+\tucidef_set_led_netdev \"port1\" \"port1\" \"om5pac:blue:lan\" \"eth0\"\n+\tucidef_set_led_netdev \"port2\" \"port2\" \"om5pac:blue:wan\" \"eth1\"\n+\t;;\n+\n qihoo-c301)\n \tucidef_set_led_wlan \"wlan2g\" \"WLAN2G\" \"qihoo:red:status\" \"phy1tpt\"\n \t;;\ndiff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh\nindex 7af29db..9354057 100755\n--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh\n+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh\n@@ -572,6 +572,9 @@ ar71xx_board_detect() {\n \t*\"OM5P AN\")\n \t\tname=\"om5p-an\"\n \t\t;;\n+\t*\"OM5P AC\")\n+\t\tname=\"om5p-ac\"\n+\t\t;;\n \t*\"Onion Omega\")\n \t\tname=\"onion-omega\"\n \t\t;;\n",
    "prefixes": [
        "OpenWrt-Devel",
        "CC",
        "21/34"
    ]
}