get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 818612,
    "url": "http://patchwork.ozlabs.org/api/patches/818612/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/d0d72d485596fa2b6bb0000c67132c97374798ce.1506428208.git-series.quentin.schulz@free-electrons.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<d0d72d485596fa2b6bb0000c67132c97374798ce.1506428208.git-series.quentin.schulz@free-electrons.com>",
    "list_archive_url": null,
    "date": "2017-09-26T12:17:18",
    "name": "[v2,08/10] ARM: dts: add dtsi for AXP813 PMIC",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f28baa86a2ab9bb37cefe78665162f1359342476",
    "submitter": {
        "id": 69366,
        "url": "http://patchwork.ozlabs.org/api/people/69366/?format=api",
        "name": "Quentin Schulz",
        "email": "quentin.schulz@free-electrons.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/d0d72d485596fa2b6bb0000c67132c97374798ce.1506428208.git-series.quentin.schulz@free-electrons.com/mbox/",
    "series": [
        {
            "id": 5123,
            "url": "http://patchwork.ozlabs.org/api/series/5123/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=5123",
            "date": "2017-09-26T12:17:17",
            "name": "add pinmuxing support for pins in AXP209 and AXP813 PMICs",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/5123/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/818612/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/818612/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-gpio-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-gpio-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y1g4V2mS1z9tXs\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 22:19:36 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1030613AbdIZMTO (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tTue, 26 Sep 2017 08:19:14 -0400",
            "from mail.free-electrons.com ([62.4.15.54]:52159 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S968591AbdIZMSR (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Tue, 26 Sep 2017 08:18:17 -0400",
            "by mail.free-electrons.com (Postfix, from userid 110)\n\tid B5DAD20890; Tue, 26 Sep 2017 14:18:14 +0200 (CEST)",
            "from localhost.localdomain\n\t(LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 848AF208D2;\n\tTue, 26 Sep 2017 14:17:56 +0200 (CEST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on\n\tmail.free-electrons.com",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT,\n\tURIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0",
        "From": "Quentin Schulz <quentin.schulz@free-electrons.com>",
        "To": "linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com,\n\twens@csie.org, linux@armlinux.org.uk,\n\tmaxime.ripard@free-electrons.com, lee.jones@linaro.org",
        "Cc": "linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tlinux-sunxi@googlegroups.com, thomas.petazzoni@free-electrons.com,\n\tQuentin Schulz <quentin.schulz@free-electrons.com>",
        "Subject": "[PATCH v2 08/10] ARM: dts: add dtsi for AXP813 PMIC",
        "Date": "Tue, 26 Sep 2017 14:17:18 +0200",
        "Message-Id": "<d0d72d485596fa2b6bb0000c67132c97374798ce.1506428208.git-series.quentin.schulz@free-electrons.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": [
            "<cover.1c314f4154a6d27354625f03d0a5269eee55a9c5.1506428208.git-series.quentin.schulz@free-electrons.com>",
            "<cover.1c314f4154a6d27354625f03d0a5269eee55a9c5.1506428208.git-series.quentin.schulz@free-electrons.com>"
        ],
        "References": [
            "<cover.1c314f4154a6d27354625f03d0a5269eee55a9c5.1506428208.git-series.quentin.schulz@free-electrons.com>",
            "<cover.1c314f4154a6d27354625f03d0a5269eee55a9c5.1506428208.git-series.quentin.schulz@free-electrons.com>"
        ],
        "Sender": "linux-gpio-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-gpio.vger.kernel.org>",
        "X-Mailing-List": "linux-gpio@vger.kernel.org"
    },
    "content": "From: Maxime Ripard <maxime.ripard@free-electrons.com>\n\nThe AXP813 PMIC is used with some Allwinner SoCs. Create a dtsi to\ninclude in each board embedding it.\n\nSigned-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>\n---\n arch/arm/boot/dts/axp813.dtsi | 58 ++++++++++++++++++++++++++++++++++++-\n 1 file changed, 58 insertions(+)\n create mode 100644 arch/arm/boot/dts/axp813.dtsi",
    "diff": "diff --git a/arch/arm/boot/dts/axp813.dtsi b/arch/arm/boot/dts/axp813.dtsi\nnew file mode 100644\nindex 0000000..e7f95e8\n--- /dev/null\n+++ b/arch/arm/boot/dts/axp813.dtsi\n@@ -0,0 +1,58 @@\n+/*\n+ * Copyright 2017 Free Electrons\n+ *\n+ * Quentin Schulz <quentin.schulz@free-electrons.com>\n+ *\n+ * This file is dual-licensed: you can use it either under the terms\n+ * of the GPL or the X11 license, at your option. Note that this dual\n+ * licensing only applies to this file, and not this project as a\n+ * whole.\n+ *\n+ *  a) This file is free software; you can redistribute it and/or\n+ *     modify it under the terms of the GNU General Public License as\n+ *     published by the Free Software Foundation; either version 2 of the\n+ *     License, or (at your option) any later version.\n+ *\n+ *     This file is distributed in the hope that it will be useful,\n+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ *     GNU General Public License for more details.\n+ *\n+ * Or, alternatively,\n+ *\n+ *  b) Permission is hereby granted, free of charge, to any person\n+ *     obtaining a copy of this software and associated documentation\n+ *     files (the \"Software\"), to deal in the Software without\n+ *     restriction, including without limitation the rights to use,\n+ *     copy, modify, merge, publish, distribute, sublicense, and/or\n+ *     sell copies of the Software, and to permit persons to whom the\n+ *     Software is furnished to do so, subject to the following\n+ *     conditions:\n+ *\n+ *     The above copyright notice and this permission notice shall be\n+ *     included in all copies or substantial portions of the Software.\n+ *\n+ *     THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n+ *     OTHER DEALINGS IN THE SOFTWARE.\n+ */\n+\n+/*\n+ * AXP813 Integrated Power Management Chip\n+ */\n+\n+&axp813 {\n+\tinterrupt-controller;\n+\t#interrupt-cells = <1>;\n+\n+\taxp_pctl: axp_pctl {\n+\t\tcompatible = \"x-powers,axp813-pctl\";\n+\t\tgpio-controller;\n+\t\t#gpio-cells = <2>;\n+\t};\n+};\n",
    "prefixes": [
        "v2",
        "08/10"
    ]
}