get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 624183,
    "url": "http://patchwork.ozlabs.org/api/patches/624183/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-12-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-12-git-send-email-sven.eckelmann@open-mesh.com>",
    "list_archive_url": null,
    "date": "2016-05-19T18:20:55",
    "name": "[OpenWrt-Devel,CC,12/34] ar71xx: Add support for ath79_gpio_function_* on QCA955X",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "da94b94cfd0735bdbae4347b1cecb4e01fc99061",
    "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-12-git-send-email-sven.eckelmann@open-mesh.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/624183/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/624183/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 3r9fdY2mYjz9ssP\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 May 2016 04:25:53 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 62961B92018;\n\tThu, 19 May 2016 20:22:21 +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:22:21 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 57D7CB91FB1\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:21:53 +0200 (CEST)",
            "from mail-wm0-f42.google.com (mail-wm0-f42.google.com\n\t[74.125.82.42]) by arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:21:53 +0200 (CEST)",
            "by mail-wm0-f42.google.com with SMTP id n129so242728663wmn.1\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 11:21:53 -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\tkq9sm15657683wjc.26.2016.05.19.11.21.52\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 19 May 2016 11:21:52 -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=aEs/Nc4K; 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=OtNGH/IaJ7jBDUM50dAsXBZ3s7JbhfJDRfGftM0/ET4=;\n\tb=aEs/Nc4KjU0pYYWTAaiwESTX4l9SrddylUaMjkmtCa3sfkQ6qnV9zY1crSE1aIHLNk\n\tcCQsYizgJnPUgMEFSXBSC8n9pwdzYFFzFjcPCOyWOsN+qOytVqj+Cl+AWScTTJDB2xwv\n\t9eJgC7l1J6s7GhZ1fZvVPhfX4UiJSxhlzQf82GYYurctzGsHEe124rklw2OPHQCPJXlF\n\tktaP6Rp+ElWg5PznHZjpUKI7bLwTYUWYb2XVXY1MJlp5RPNS+//2DqVpmbZcKMeXfB2j\n\tSbSeS4gsaWfa/U5CwFRi6pI0R2bbyfkyJN1F5UxjaW4EczBLA3pRjT8IyNJpwXYIzQd8\n\tGoPA==",
        "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=OtNGH/IaJ7jBDUM50dAsXBZ3s7JbhfJDRfGftM0/ET4=;\n\tb=Y5WhDvPn9PSKMP3NEQTCAJPqeaq/eEtLFQYy9Id5lt6UbOetW2hlP1oV4k7XQRVv8Q\n\t0Zm/qim2lKkKCqZldNjXOewbj3DOXavZ1p2SO4j+oMcNOKV/k6IQO/Syps8TYRtYbw9l\n\txLf/8MgGIxNMQQrafXI1/MTLpLqxueMVHC1zsh8YM3aBzYoiWMaOeTo+t6djuVi6GY/U\n\tKXi/9hxakXetSS9WKQ2KIboOJdOX8/wjJH1Q/DIFwhHeG59a0whgDwdlVepLAhdItVAK\n\t2faiRRA31E7keY+Fb40SQ1e9cXfKiv29a5wqKuEgvETdvIOR4beWRskMgt4mGNPOil54\n\tXwMA==",
        "X-Gm-Message-State": "AOPr4FWKwaRHUacXmeUWT9s4S7gqzgFcD8dt1lmMSCdz/YwmjnNZDlh6whTIUk5FxteruuyS",
        "X-Received": "by 10.194.116.9 with SMTP id js9mr17231401wjb.112.1463682112979; \n\tThu, 19 May 2016 11:21:52 -0700 (PDT)",
        "From": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "To": "openwrt-devel@lists.openwrt.org",
        "Date": "Thu, 19 May 2016 20:20:55 +0200",
        "Message-Id": "<1463682077-19339-12-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 12/34] ar71xx: Add support for\n\tath79_gpio_function_* on QCA955X",
        "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 r49074\n---\n ...9-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch | 12 +++++++++++-\n 1 file changed, 11 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch\nindex 24ce7d8..076a4a1 100644\n--- a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch\n+++ b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch\n@@ -1,6 +1,16 @@\n --- a/arch/mips/ath79/gpio.c\n +++ b/arch/mips/ath79/gpio.c\n-@@ -185,15 +185,27 @@ void __init ath79_gpio_output_select(uns\n+@@ -146,7 +146,8 @@ static void __iomem *ath79_gpio_get_func\n+ \tif (soc_is_ar71xx() ||\n+ \t    soc_is_ar724x() ||\n+ \t    soc_is_ar913x() ||\n+-\t    soc_is_ar933x())\n++\t    soc_is_ar933x() ||\n++\t    soc_is_qca955x())\n+ \t\treg = AR71XX_GPIO_REG_FUNC;\n+ \telse if (soc_is_ar934x() ||\n+ \t\t soc_is_qca953x() || soc_is_qca956x())\n+@@ -185,15 +186,27 @@ void __init ath79_gpio_output_select(uns\n  {\n  \tvoid __iomem *base = ath79_gpio_base;\n  \tunsigned long flags;\n",
    "prefixes": [
        "OpenWrt-Devel",
        "CC",
        "12/34"
    ]
}