get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 819094,
    "url": "http://patchwork.ozlabs.org/api/patches/819094/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/patch/1506509048-19032-3-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-3-git-send-email-chen.zhong@mediatek.com>",
    "list_archive_url": null,
    "date": "2017-09-27T10:44:04",
    "name": "[v5,2/6] dt-bindings: input: Add common keyboard document bindings",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "caa1de01f7436ac86d27d9f627d729d8c950ce07",
    "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-3-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/819094/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/819094/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 3y2Dy31x2Qz9tXf\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 20:46:03 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752760AbdI0KpO (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 27 Sep 2017 06:45:14 -0400",
            "from mailgw01.mediatek.com ([218.249.47.110]:39759 \"EHLO\n\tmailgw01.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1752516AbdI0KoU (ORCPT\n\t<rfc822; linux-rtc@vger.kernel.org>); Wed, 27 Sep 2017 06:44:20 -0400",
            "from mtkcas36.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 272425294; Wed, 27 Sep 2017 18:43:55 +0800",
            "from MTKCAS36.mediatek.inc (172.27.4.186) by\n\tMTKMBS31N2.mediatek.inc\n\t(172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1210.3;\n\tWed, 27 Sep 2017 18:44:07 +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:43:59 +0800"
        ],
        "X-UUID": "85f1d2a53c044155b4de2fd6bec16fd0-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 2/6] dt-bindings: input: Add common keyboard document\n\tbindings",
        "Date": "Wed, 27 Sep 2017 18:44:04 +0800",
        "Message-ID": "<1506509048-19032-3-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 common\nkeyboard.\n\nSigned-off-by: Chen Zhong <chen.zhong@mediatek.com>\n---\n Documentation/devicetree/bindings/input/keys.txt |    8 ++++++++\n 1 file changed, 8 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/input/keys.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/input/keys.txt b/Documentation/devicetree/bindings/input/keys.txt\nnew file mode 100644\nindex 0000000..a0ea7eb\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/input/keys.txt\n@@ -0,0 +1,8 @@\n+General Keys Properties:\n+\n+Optional properties for Keys:\n+- power-off-time-sec: Duration in seconds which the key should be kept\n+ \tpressed for device to power off automatically. Device with key pressed\n+ \tshutdown feature can specify this property.\n+- linux,keycodes: Specifies the numeric keycode values to be used for\n+\treporting key presses.\n\\ No newline at end of file\n",
    "prefixes": [
        "v5",
        "2/6"
    ]
}