get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 819093,
    "url": "http://patchwork.ozlabs.org/api/patches/819093/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/patch/1506509048-19032-4-git-send-email-chen.zhong@mediatek.com/",
    "project": {
        "id": 9,
        "url": "http://patchwork.ozlabs.org/api/projects/9/?format=api",
        "name": "Linux RTC development",
        "link_name": "rtc-linux",
        "list_id": "linux-rtc.vger.kernel.org",
        "list_email": "linux-rtc@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1506509048-19032-4-git-send-email-chen.zhong@mediatek.com>",
    "list_archive_url": null,
    "date": "2017-09-27T10:44:05",
    "name": "[v5,3/6] dt-bindings: input: Add document bindings for mtk-pmic-keys",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "39d8d7a8ad6e211002e10fbf4e494e5626d1f916",
    "submitter": {
        "id": 72090,
        "url": "http://patchwork.ozlabs.org/api/people/72090/?format=api",
        "name": "Chen Zhong",
        "email": "chen.zhong@mediatek.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/rtc-linux/patch/1506509048-19032-4-git-send-email-chen.zhong@mediatek.com/mbox/",
    "series": [
        {
            "id": 5334,
            "url": "http://patchwork.ozlabs.org/api/series/5334/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/list/?series=5334",
            "date": "2017-09-27T10:44:02",
            "name": "Add MediaTek PMIC keys support",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/5334/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/819093/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/819093/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-rtc-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-rtc-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 3y2Dy24qxMz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 20:46:02 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752764AbdI0KpP (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 27 Sep 2017 06:45:15 -0400",
            "from mailgw01.mediatek.com ([218.249.47.110]:39702 \"EHLO\n\tmailgw01.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1752521AbdI0KoU (ORCPT\n\t<rfc822; linux-rtc@vger.kernel.org>); Wed, 27 Sep 2017 06:44:20 -0400",
            "from mtkcas35.mediatek.inc [(172.27.4.250)] by\n\tmailgw01.mediatek.com (envelope-from <chen.zhong@mediatek.com>)\n\t(mailgw01.mediatek.com ESMTP with TLS)\n\twith ESMTP id 2057547755; Wed, 27 Sep 2017 18:43:56 +0800",
            "from MTKCAS36.mediatek.inc (172.27.4.186) by\n\tMTKMBS31N1.mediatek.inc\n\t(172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1210.3;\n\tWed, 27 Sep 2017 18:44:04 +0800",
            "from localhost.localdomain (10.17.3.153) by MTKCAS36.mediatek.inc\n\t(172.27.4.170) with Microsoft SMTP Server id 15.0.1210.3 via\n\tFrontend Transport; Wed, 27 Sep 2017 18:44:00 +0800"
        ],
        "X-UUID": "00a039fde4154ef7829281fd86a7d261-20170927",
        "From": "Chen Zhong <chen.zhong@mediatek.com>",
        "To": "Dmitry Torokhov <dmitry.torokhov@gmail.com>,\n\tRob Herring <robh+dt@kernel.org>, Lee Jones <lee.jones@linaro.org>,\n\tAlexandre Belloni <alexandre.belloni@free-electrons.com>",
        "CC": "Mark Rutland <mark.rutland@arm.com>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tEddie Huang <eddie.huang@mediatek.com>,\n\tAlessandro Zummo <a.zummo@towertech.it>,\n\tLinus Walleij <linus.walleij@linaro.org>,\n\tChanwoo Choi <cw00.choi@samsung.com>,\n\tChen Zhong <chen.zhong@mediatek.com>,\n\tJaechul Lee <jcsing.lee@samsung.com>,\n\tAndi Shyti <andi.shyti@samsung.com>,\n\t<linux-input@vger.kernel.org>, <devicetree@vger.kernel.org>,\n\t<linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>,\n\t<linux-mediatek@lists.infradead.org>, <linux-rtc@vger.kernel.org>",
        "Subject": "[PATCH v5 3/6] dt-bindings: input: Add document bindings for\n\tmtk-pmic-keys",
        "Date": "Wed, 27 Sep 2017 18:44:05 +0800",
        "Message-ID": "<1506509048-19032-4-git-send-email-chen.zhong@mediatek.com>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "In-Reply-To": "<1506509048-19032-1-git-send-email-chen.zhong@mediatek.com>",
        "References": "<1506509048-19032-1-git-send-email-chen.zhong@mediatek.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MTK": "N",
        "Sender": "linux-rtc-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-rtc.vger.kernel.org>",
        "X-Mailing-List": "linux-rtc@vger.kernel.org"
    },
    "content": "This patch adds the device tree binding documentation for the MediaTek\npmic keys found on PMIC MT6397/MT6323.\n\nSigned-off-by: Chen Zhong <chen.zhong@mediatek.com>\n---\n .../devicetree/bindings/input/mtk-pmic-keys.txt    |   43 ++++++++++++++++++++\n 1 file changed, 43 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/input/mtk-pmic-keys.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt\nnew file mode 100644\nindex 0000000..2888d07\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt\n@@ -0,0 +1,43 @@\n+MediaTek MT6397/MT6323 PMIC Keys Device Driver\n+\n+There are two key functions provided by MT6397/MT6323 PMIC, pwrkey\n+and homekey. The key functions are defined as the subnode of the function\n+node provided by MT6397/MT6323 PMIC that is being defined as one kind\n+of Muti-Function Device (MFD)\n+\n+For MT6397/MT6323 MFD bindings see:\n+Documentation/devicetree/bindings/mfd/mt6397.txt\n+\n+Required properties:\n+- compatible: \"mediatek,mt6397-keys\" or \"mediatek,mt6323-keys\"\n+- linux,keycodes: See Documentation/devicetree/bindings/input/keys.txt\n+\n+Optional Properties:\n+- wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt\n+- mediatek,long-press-mode: Long press key shutdown setting, 1 for\n+\tpwrkey only, 2 for pwrkey/homekey together, others for disabled.\n+- power-off-time-sec: See Documentation/devicetree/bindings/input/keys.txt\n+\n+Example:\n+\n+\tpmic: mt6397 {\n+\t\tcompatible = \"mediatek,mt6397\";\n+\n+\t\t...\n+\n+\t\tmt6397keys: mt6397keys {\n+\t\t\tcompatible = \"mediatek,mt6397-keys\";\n+\t\t\tmediatek,long-press-mode = <1>;\n+\t\t\tpower-off-time-sec = <0>;\n+\n+\t\t\tpower {\n+\t\t\t\tlinux,keycodes = <116>;\n+\t\t\t\twakeup-source;\n+\t\t\t};\n+\n+\t\t\thome {\n+\t\t\t\tlinux,keycodes = <114>;\n+\t\t\t};\n+\t\t};\n+\n+\t};\n",
    "prefixes": [
        "v5",
        "3/6"
    ]
}