get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 637053,
    "url": "http://patchwork.ozlabs.org/api/patches/637053/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/1466169893-29962-2-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-2-git-send-email-sven.eckelmann@open-mesh.com>",
    "list_archive_url": null,
    "date": "2016-06-17T13:24:42",
    "name": "[OpenWrt-Devel,CC,02/13] ar71xx: add user-space support for the OpenMesh OM2P-HSv3",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b1634dd512c6ef03ad2e2587e72e09181d4ef4f0",
    "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-2-git-send-email-sven.eckelmann@open-mesh.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/637053/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/637053/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 3rWMVx20VKz9t1r\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 18 Jun 2016 00:06:33 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 21E53B91CBD;\n\tFri, 17 Jun 2016 16:01:18 +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:18 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 47867B9148C\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 15:25:02 +0200 (CEST)",
            "from mail-wm0-f49.google.com (mail-wm0-f49.google.com\n\t[74.125.82.49]) by arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 15:25:01 +0200 (CEST)",
            "by mail-wm0-f49.google.com with SMTP id m124so112693825wme.1\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 06:25:01 -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\tz5sm3169521wme.5.2016.06.17.06.25.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 17 Jun 2016 06:25:00 -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=WTR9t/R5; 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-f49.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=zsQgiYqtsEIOoAyYmfxrhxo+OXPEGe0bKzVYwnla4+c=;\n\tb=WTR9t/R5XouFO+Q4ArO8BDCtcqtdrRo2tuBAAXW1PrX6tTIxIRakGUxVhKue8T17nJ\n\tuwExZSAAi9NTDOU1aYJj56WD8lS9pSt05c4CB0VxMU5suRG8ReqMCOqMzvDmx/nT1YN7\n\thgJYJ50FHnLrhqM1BJi3IO/A2WPYnV2RovGsrORkT5kCD6cxeAoSHRKZ+3cAoQpnU9lf\n\tIeKj5lbTA7BQ/8nsLJXmVb9WB7nITrUot7TXHpH3Q3HJ/iCvR/qNyBWlE/kkDN7RYDjh\n\tJnr3TwSsKXT0rmqcTZrBZSGm3QfHDr9Sl6mW/EitlEOfUBv8hFl1bzrkIS6oAxhyWBhz\n\tf/0A==",
        "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=zsQgiYqtsEIOoAyYmfxrhxo+OXPEGe0bKzVYwnla4+c=;\n\tb=moV22w7sT6/RYvHBrCEMhBW2tlohR06BuylnFg64zZx4AAY7mECof5HY45CBuG12tV\n\tgqk6MH8fbJpN9bIz3oYFTr85XWWBRM+ELHojLWLIlHnl55g7POVZ24HoYeqkpw9g2rhn\n\tpYoA50DUL16cSF1j3oeVPVYi83nem8iIRJPSys4I9iEPWiJaOMMRK8ik/OHW1FpfYxBR\n\tOClbO01DrxeF2eGk/BdZIgb4BFISrtQDkZeVuJ/J6a7rPpqfL20cP95faUaiFpYtw0M8\n\tpqhXhy1vmvGzSM/kzLSvDnEv1jbDDNay6tLBrAR9Smi0dvCmvSA54OVfMooTM3lvsPcM\n\tWtVQ==",
        "X-Gm-Message-State": "ALyK8tK+OEc8VygcdR6oR8Df5zg7SfluSFOJ/bDSwAb0UaOHfXTXNocrII58eORkgWNV20jd",
        "X-Received": "by 10.194.120.135 with SMTP id lc7mr2320566wjb.34.1466169901357; \n\tFri, 17 Jun 2016 06:25:01 -0700 (PDT)",
        "From": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "To": "openwrt-devel@lists.openwrt.org",
        "Date": "Fri, 17 Jun 2016 15:24:42 +0200",
        "Message-Id": "<1466169893-29962-2-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 02/13] ar71xx: add user-space support for\n\tthe OpenMesh OM2P-HSv3",
        "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/624537/\n\n target/linux/ar71xx/base-files/etc/diag.sh              | 1 +\n target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 1 +\n target/linux/ar71xx/base-files/lib/ar71xx.sh            | 3 +++\n 3 files changed, 5 insertions(+)",
    "diff": "diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh\nindex 631459f..9a6b4cf 100644\n--- a/target/linux/ar71xx/base-files/etc/diag.sh\n+++ b/target/linux/ar71xx/base-files/etc/diag.sh\n@@ -171,6 +171,7 @@ get_status_led() {\n \tom2pv2 | \\\n \tom2p-hs | \\\n \tom2p-hsv2 | \\\n+\tom2p-hsv3 | \\\n \tom2p-lc)\n \t\tstatus_led=\"om2p:blue:power\"\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 9a768cd..d297266 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@@ -293,6 +293,7 @@ om2p | \\\n om2pv2 | \\\n om2p-hs | \\\n om2p-hsv2 | \\\n+om2p-hsv3 | \\\n om2p-lc)\n \tucidef_set_led_netdev \"port1\" \"port1\" \"om2p:blue:wan\" \"eth0\"\n \tucidef_set_led_netdev \"port2\" \"port2\" \"om2p:blue:lan\" \"eth1\"\ndiff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh\nindex 92ee56d..230df0b 100755\n--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh\n+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh\n@@ -563,6 +563,9 @@ ar71xx_board_detect() {\n \t*\"OM2P HSv2\")\n \t\tname=\"om2p-hsv2\"\n \t\t;;\n+\t*\"OM2P HSv3\")\n+\t\tname=\"om2p-hsv3\"\n+\t\t;;\n \t*\"OM2P LC\")\n \t\tname=\"om2p-lc\"\n \t\t;;\n",
    "prefixes": [
        "OpenWrt-Devel",
        "CC",
        "02/13"
    ]
}