get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 637059,
    "url": "http://patchwork.ozlabs.org/api/patches/637059/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/1466169893-29962-8-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": "<1466169893-29962-8-git-send-email-sven.eckelmann@open-mesh.com>",
    "list_archive_url": null,
    "date": "2016-06-17T13:24:48",
    "name": "[OpenWrt-Devel,CC,08/13] ar71xx: add user-space support for the OpenMesh MR1750v2",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f5ab1ba276ccaa183134112aa89fe9cbf25e4cc1",
    "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/1466169893-29962-8-git-send-email-sven.eckelmann@open-mesh.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/637059/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/637059/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 3rWMYM5p5Lz9t1y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 18 Jun 2016 00:08:39 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 966A6B92042;\n\tFri, 17 Jun 2016 16:01:37 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tFri, 17 Jun 2016 16:01:37 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 2D5E2B91545\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 15:25:09 +0200 (CEST)",
            "from mail-wm0-f45.google.com (mail-wm0-f45.google.com\n\t[74.125.82.45]) by arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 15:25:09 +0200 (CEST)",
            "by mail-wm0-f45.google.com with SMTP id v199so230246008wmv.0\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 06:25:09 -0700 (PDT)",
            "from sven-desktop.home.narfation.org\n\t(p2003007C6F7DD1FE04A0165FC0023ED9.dip0.t-ipconnect.de.\n\t[2003:7c:6f7d:d1fe:4a0:165f:c002:3ed9])\n\tby smtp.gmail.com with ESMTPSA id\n\tag3sm8176021wjc.39.2016.06.17.06.25.08\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 17 Jun 2016 06:25:08 -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=phWNoX6M; 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: -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=iNxnqGbpJ/SCYGcf4pVlArwp9vfJt1R14qIAi3ZAGuM=;\n\tb=phWNoX6M15+6SvDnpltnZAKG/R2XJnzevWLzsDeAXJNWVI9OU0jWhOr65ei8LRjI9w\n\tO7c/E54ACrp/Cjrj9TJilZBLvvJseGFwSbdq6P73XO4HUuWgZlaT3hXix8lq1OnX/Juh\n\tR+GnOrUGM0e7P7gBMZGiYyFjV3YUBABPys8w5kDiwESunzquOoEzOIhqN9FjvNxJVgEp\n\tQ2zBda7SEQiDjsNB1SmW1hoqRkMEwRFqKejIttFpwOhjNJY177GwFuK9t9+Er/u5dRKP\n\tVZ9UKGW3RL2i6BaTQrz/P43r/gpdrz3GOWIDzrn9sS4HiheUmKSTNbHTLppkvP7G2Ymt\n\tvCyA==",
        "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=iNxnqGbpJ/SCYGcf4pVlArwp9vfJt1R14qIAi3ZAGuM=;\n\tb=D+RtALnlchx73u2ZZGXwWmn0hqVK0eh9A3i3kuSwei4jj2euLPx1TLcl5npn7k2NNP\n\tQAwcjJ8C5rNZIOE1E8eGGgRw0uYSxod4yeCkOKxsQp6ETThU7N0hN2N1l7FaLXs0xQ/s\n\tzTVSkIlRqJzHt84+gWYSsUHYVQKl+UX5pMnDrpECj7QhDO4qbfFY7BOPhDCRSokoO3bG\n\tgdAvRoHLgmmYPvKY/wwy/cRUjY3uQm70BHyjIMDaeoJsY5VX6BWgsDDkbDMlSHWzDp2Q\n\tgoe7JVtU7vrw0sYhMNQy2fYKcO8ashw5V5ObuiuUlcpt/h63948bnKZCCcZDi6PLfLx7\n\tazxA==",
        "X-Gm-Message-State": "ALyK8tKdijW2w4DZgL5xXpvv4agS/j1SEzrMWEPeCQzLmsJs912mlS2ZMq5vaalMKaE2nndY",
        "X-Received": "by 10.194.200.164 with SMTP id jt4mr2405459wjc.18.1466169908626; \n\tFri, 17 Jun 2016 06:25:08 -0700 (PDT)",
        "From": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "To": "openwrt-devel@lists.openwrt.org",
        "Date": "Fri, 17 Jun 2016 15:24:48 +0200",
        "Message-Id": "<1466169893-29962-8-git-send-email-sven.eckelmann@open-mesh.com>",
        "X-Mailer": "git-send-email 2.8.1",
        "In-Reply-To": "<1466169893-29962-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "References": "<1466169893-29962-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "Subject": "[OpenWrt-Devel] [PATCH CC 08/13] ar71xx: add user-space support for\n\tthe OpenMesh MR1750v2",
        "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": "Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>\n---\nBased on following CC backports from 2016-05-19:\n\n * https://patchwork.ozlabs.org/patch/624172/\n * https://patchwork.ozlabs.org/patch/624173/\n * https://patchwork.ozlabs.org/patch/624174/\n * https://patchwork.ozlabs.org/patch/624175/\n * https://patchwork.ozlabs.org/patch/624176/\n * https://patchwork.ozlabs.org/patch/624177/\n * https://patchwork.ozlabs.org/patch/624178/\n * https://patchwork.ozlabs.org/patch/624179/\n * https://patchwork.ozlabs.org/patch/624180/\n * https://patchwork.ozlabs.org/patch/624181/\n * https://patchwork.ozlabs.org/patch/624182/\n * https://patchwork.ozlabs.org/patch/624183/\n * https://patchwork.ozlabs.org/patch/624184/\n * https://patchwork.ozlabs.org/patch/624185/\n * https://patchwork.ozlabs.org/patch/624186/\n * https://patchwork.ozlabs.org/patch/624187/\n * https://patchwork.ozlabs.org/patch/624188/\n * https://patchwork.ozlabs.org/patch/624189/\n * https://patchwork.ozlabs.org/patch/624190/\n * https://patchwork.ozlabs.org/patch/624191/\n * https://patchwork.ozlabs.org/patch/624192/\n * https://patchwork.ozlabs.org/patch/624193/\n * https://patchwork.ozlabs.org/patch/624194/\n * https://patchwork.ozlabs.org/patch/624195/\n * https://patchwork.ozlabs.org/patch/624196/\n * https://patchwork.ozlabs.org/patch/624197/\n * https://patchwork.ozlabs.org/patch/624198/\n * https://patchwork.ozlabs.org/patch/624199/\n * https://patchwork.ozlabs.org/patch/624200/\n * https://patchwork.ozlabs.org/patch/624201/\n * https://patchwork.ozlabs.org/patch/624202/\n * https://patchwork.ozlabs.org/patch/624203/\n * https://patchwork.ozlabs.org/patch/624200/\n * https://patchwork.ozlabs.org/patch/624205/\n\nIt is a backport of the patch for trunk from 2016-05-20 which waits to be\naccepted as well:\n\n * https://patchwork.ozlabs.org/patch/624543/\n\n target/linux/ar71xx/base-files/etc/diag.sh                 | 3 ++-\n target/linux/ar71xx/base-files/etc/uci-defaults/01_leds    | 3 ++-\n target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 +\n target/linux/ar71xx/base-files/lib/ar71xx.sh               | 3 +++\n 4 files changed, 8 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh\nindex 9a6b4cf..c5e39d0 100644\n--- a/target/linux/ar71xx/base-files/etc/diag.sh\n+++ b/target/linux/ar71xx/base-files/etc/diag.sh\n@@ -143,7 +143,8 @@ get_status_led() {\n \tmr600v2)\n \t\tstatus_led=\"mr600:blue:power\"\n \t\t;;\n-\tmr1750)\n+\tmr1750 | \\\n+\tmr1750v2)\n \t\tstatus_led=\"mr1750:blue:power\"\n \t\t;;\n \tmr900 | \\\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 d297266..d7dc9a1 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@@ -239,7 +239,8 @@ mr600)\n \tucidef_set_led_wlan \"wlan58\" \"WLAN58\" \"mr600:green:wlan58\" \"phy0tpt\"\n \t;;\n \n-mr1750)\n+mr1750 | \\\n+mr1750v2)\n \tucidef_set_led_netdev \"lan\" \"LAN\" \"mr1750:blue:wan\" \"eth0\"\n \tucidef_set_led_wlan \"wlan58\" \"WLAN58\" \"mr1750:blue:wlan58\" \"phy0tpt\"\n \tucidef_set_led_wlan \"wlan24\" \"WLAN24\" \"mr1750:blue:wlan24\" \"phy1tpt\"\ndiff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network\nindex 49e491f..b2b182e 100755\n--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network\n+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network\n@@ -335,6 +335,7 @@ eap7660d |\\\n el-mini |\\\n loco-m-xw |\\\n mr1750 |\\\n+mr1750v2 |\\\n mr600 |\\\n mr600v2 |\\\n mr900 |\\\ndiff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh\nindex 230df0b..2f4b112 100755\n--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh\n+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh\n@@ -521,6 +521,9 @@ ar71xx_board_detect() {\n \t*MR1750)\n \t\tname=\"mr1750\"\n \t\t;;\n+\t*MR1750v2)\n+\t\tname=\"mr1750v2\"\n+\t\t;;\n \t*MR600)\n \t\tname=\"mr600\"\n \t\t;;\n",
    "prefixes": [
        "OpenWrt-Devel",
        "CC",
        "08/13"
    ]
}