get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 637052,
    "url": "http://patchwork.ozlabs.org/api/patches/637052/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/1466169893-29962-1-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-1-git-send-email-sven.eckelmann@open-mesh.com>",
    "list_archive_url": null,
    "date": "2016-06-17T13:24:41",
    "name": "[OpenWrt-Devel,CC,01/13] ar71xx: add kernel support for the OpenMesh OM2P-HSv3",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "24ee6f52d67821a050afa220bd6770bd0b6a1c0c",
    "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-1-git-send-email-sven.eckelmann@open-mesh.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/637052/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/637052/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 3rWMVV6mV4z9t1r\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 18 Jun 2016 00:06:10 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id AB438B91FF9;\n\tFri, 17 Jun 2016 16:01:14 +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:14 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 93007B9148C\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 15:25:01 +0200 (CEST)",
            "from mail-wm0-f46.google.com (mail-wm0-f46.google.com\n\t[74.125.82.46]) by arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 15:25:00 +0200 (CEST)",
            "by mail-wm0-f46.google.com with SMTP id v199so230241093wmv.0\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tFri, 17 Jun 2016 06:25:00 -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\tel4sm16116043wjd.23.2016.06.17.06.24.59\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 17 Jun 2016 06:24:59 -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=InZIQ9ia; 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-f46.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;\n\tbh=9BM2OWUpbEs0pYNcY2+fbXcqEiAssx5CoEc6dnQOJ+k=;\n\tb=InZIQ9iaZHgQFUOOqr6O6hWPOX8q4XR0LIG2sG2ug1ftLaKk0A6HOjEiXK/vU4n3FR\n\tmu/Wl4/52Z/tp+/9iom7W9KU3EnDa4rymaLprTTgf/XoLHbuq68DfpGohDbQaxtA6wPy\n\tQUsymFDA6OTnoyAqZ3qqoRUVrqSMOui3CKhFkWNKute+XD22HmyzsatgjZL9E2oZFrNZ\n\tW19CX5tNhKbszdINOVawsU/5Tab9YOBVZqst77HSF7w0LR8e22xGwutDcJbrjrKpbxI7\n\tcUHf0O7LbGL7vRQgFU2SkyJf4jxFICc4M3Ti60MM1k9sm1jdF4abanNme+u3wCBtWaIp\n\tlXNQ==",
        "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;\n\tbh=9BM2OWUpbEs0pYNcY2+fbXcqEiAssx5CoEc6dnQOJ+k=;\n\tb=LtvVeX7j9msI53QWuz4nmHe6M4Ae8LO2Qk0D4tmSPfCypd6XepDka1syrg1ZX633Qp\n\tRE0UVDxDuILzknAUmgUS6+vOlsQfnuH6tqO7gQdlj3CgipLR2N3UciMC4tap0DS1xKmu\n\tN+dFGsXZy5DFDhzvZZLnweeJeHXMCFf9hE5mVTSkS+Sd4XKH3HEszRdW4mVGtF5PdUMG\n\taBBA/YH4zEuAF5BTm9ji9s4pxSoWF6a7aywys+cvF+xM+Q7tCBfhdzDtZUsegUYKmJ6z\n\t0GSJJdAUuTFrKncGlRIT/Gdi77mocOhDRL0wlM/+5993QJTnAW2debDEVPT3GsfzRdL1\n\tGE9A==",
        "X-Gm-Message-State": "ALyK8tL46s3e1rRbhQLwviNuZOHC7NW0qmG3RGp/0MtG7cNPkCJnM2OMk5lQ+yJnwVQSmVkC",
        "X-Received": "by 10.194.203.226 with SMTP id kt2mr2365776wjc.75.1466169900012; \n\tFri, 17 Jun 2016 06:25:00 -0700 (PDT)",
        "From": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "To": "openwrt-devel@lists.openwrt.org",
        "Date": "Fri, 17 Jun 2016 15:24:41 +0200",
        "Message-Id": "<1466169893-29962-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "X-Mailer": "git-send-email 2.8.1",
        "Subject": "[OpenWrt-Devel] [PATCH CC 01/13] ar71xx: add kernel support for the\n\tOpenMesh 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/624536/\n\n target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c          |  1 +\n .../patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch     | 10 ++++++++++\n 2 files changed, 11 insertions(+)\n create mode 100644 target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch",
    "diff": "diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c\nindex 6b0bdc3..3b282a3 100644\n--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c\n+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c\n@@ -223,3 +223,4 @@ static void __init om2p_hs_setup(void)\n \n MIPS_MACHINE(ATH79_MACH_OM2P_HS, \"OM2P-HS\", \"OpenMesh OM2P HS\", om2p_hs_setup);\n MIPS_MACHINE(ATH79_MACH_OM2P_HSv2, \"OM2P-HSv2\", \"OpenMesh OM2P HSv2\", om2p_hs_setup);\n+MIPS_MACHINE(ATH79_MACH_OM2P_HSv3, \"OM2P-HSv3\", \"OpenMesh OM2P HSv3\", om2p_hs_setup);\ndiff --git a/target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch b/target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch\nnew file mode 100644\nindex 0000000..7305b2e\n--- /dev/null\n+++ b/target/linux/ar71xx/patches-3.18/817-MIPS-ath79-add-om2phsv3-support.patch\n@@ -0,0 +1,10 @@\n+--- a/arch/mips/ath79/machtypes.h\n++++ b/arch/mips/ath79/machtypes.h\n+@@ -88,6 +88,7 @@ enum ath79_mach_type {\n+ \tATH79_MACH_NBG460N,\t\t/* Zyxel NBG460N/550N/550NH */\n+ \tATH79_MACH_NBG6716,\t\t/* Zyxel NBG6716 */\n+ \tATH79_MACH_OM2P_HSv2,\t\t/* OpenMesh OM2P-HSv2 */\n++\tATH79_MACH_OM2P_HSv3,\t\t/* OpenMesh OM2P-HSv3 */\n+ \tATH79_MACH_OM2P_HS,\t\t/* OpenMesh OM2P-HS */\n+ \tATH79_MACH_OM2P_LC,\t\t/* OpenMesh OM2P-LC */\n+ \tATH79_MACH_OM2Pv2,\t\t/* OpenMesh OM2Pv2 */\n",
    "prefixes": [
        "OpenWrt-Devel",
        "CC",
        "01/13"
    ]
}