get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 819100,
    "url": "http://patchwork.ozlabs.org/api/patches/819100/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170927113747.2770-3-mylene.josserand@free-electrons.com/",
    "project": {
        "id": 37,
        "url": "http://patchwork.ozlabs.org/api/projects/37/?format=api",
        "name": "Devicetree Bindings",
        "link_name": "devicetree-bindings",
        "list_id": "devicetree.vger.kernel.org",
        "list_email": "devicetree@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170927113747.2770-3-mylene.josserand@free-electrons.com>",
    "list_archive_url": null,
    "date": "2017-09-27T11:37:47",
    "name": "[v3,2/2] dt-bindings: input: Add documentation for cyttsp5",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "7f8a454e4ef2b2f45801e800cdea71d00ddb105b",
    "submitter": {
        "id": 68594,
        "url": "http://patchwork.ozlabs.org/api/people/68594/?format=api",
        "name": "Mylene Josserand",
        "email": "mylene.josserand@free-electrons.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170927113747.2770-3-mylene.josserand@free-electrons.com/mbox/",
    "series": [
        {
            "id": 5340,
            "url": "http://patchwork.ozlabs.org/api/series/5340/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=5340",
            "date": "2017-09-27T11:37:45",
            "name": "Input: Add Cypress Gen5 Touchscreen driver",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/5340/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/819100/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/819100/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<devicetree-owner@vger.kernel.org>",
        "X-Original-To": "incoming-dt@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-dt@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=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2G6q5f3hz9tXF\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 21:38:43 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752516AbdI0Lia (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tWed, 27 Sep 2017 07:38:30 -0400",
            "from mail.free-electrons.com ([62.4.15.54]:60985 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752521AbdI0LiT (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Wed, 27 Sep 2017 07:38:19 -0400",
            "by mail.free-electrons.com (Postfix, from userid 110)\n\tid 5594A2079D; Wed, 27 Sep 2017 13:38:17 +0200 (CEST)",
            "from dell-desktop.par1.mozilla.com (unknown [195.81.232.10])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 2C9D4208D2;\n\tWed, 27 Sep 2017 13:38:07 +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": "=?utf-8?q?Myl=C3=A8ne_Josserand?= <mylene.josserand@free-electrons.com>",
        "To": "dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com",
        "Cc": "linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,\n\tdevicetree@vger.kernel.org, thomas.petazzoni@free-electrons.com,\n\tmaxime.ripard@free-electrons.com, mylene.josserand@free-electrons.com",
        "Subject": "[PATCH v3 2/2] dt-bindings: input: Add documentation for cyttsp5",
        "Date": "Wed, 27 Sep 2017 13:37:47 +0200",
        "Message-Id": "<20170927113747.2770-3-mylene.josserand@free-electrons.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170927113747.2770-1-mylene.josserand@free-electrons.com>",
        "References": "<20170927113747.2770-1-mylene.josserand@free-electrons.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Sender": "devicetree-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<devicetree.vger.kernel.org>",
        "X-Mailing-List": "devicetree@vger.kernel.org"
    },
    "content": "Add the Cypress TrueTouch Generation 5 touchscreen device tree bindings\ndocumentation. It can use I2C or SPI bus.\nThis touchscreen can handle some defined zone that are designed and\nsent as button. To be able to customize the keycode sent, the\n\"linux,keycodes\" property can be used.\n\nAcked-by: Rob Herring <robh@kernel.org>\nSigned-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>\n---\n .../bindings/input/touchscreen/cypress,cyttsp5.txt | 39 ++++++++++++++++++++++\n 1 file changed, 39 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/input/touchscreen/cypress,cyttsp5.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/input/touchscreen/cypress,cyttsp5.txt b/Documentation/devicetree/bindings/input/touchscreen/cypress,cyttsp5.txt\nnew file mode 100644\nindex 000000000000..1e0e90e322c7\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/input/touchscreen/cypress,cyttsp5.txt\n@@ -0,0 +1,39 @@\n+* Cypress cyttsp touchscreen controller, generation 5\n+\n+Required properties:\n+ - compatible\t\t: must be \"cypress,cyttsp5\"\n+ - reg\t\t\t: Device I2C address or SPI chip select number\n+ - interrupt-parent\t: the phandle for the gpio controller\n+\t\t\t  (see interrupt binding[0]).\n+ - interrupts\t\t: (gpio) interrupt to which the chip is connected\n+\t\t\t  (see interrupt binding[0]).\n+\n+Optional properties:\n+ - reset-gpios\t\t: the reset gpio the chip is connected to\n+\t\t\t  (see GPIO binding[1] for more details).\n+Some other touchscreen optional properties can be defined such as\n+\"touchscreen-size-x\". See ./touchscreen.txt[2] for more details.\n+\n+This touchscreen can handle some buttons that are touchscreen's defined zones.\n+Each button's event can be customized using a property:\n+\t- linux,keycodes: List of keycode to emit.\n+\n+[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt\n+[1]: Documentation/devicetree/bindings/gpio/gpio.txt\n+[2]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt\n+\n+Example:\n+&i2c0 {\n+\t[...]\n+\n+\ttouchscreen@24 {\n+\t\tcompatible = \"cypress,cyttsp5\";\n+\t\treg = <0x24>;\n+\n+\t\tinterrupt-parent = <&pio>;\n+\t\tinterrupts = <1 5 IRQ_TYPE_LEVEL_LOW>;\n+\t\treset-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>;\n+\t\ttouchscreen-swapped-x-y;\n+\t\tlinux,keycodes = <KEY_HOMEPAGE>, <KEY_MENU>, <KEY_BACK>;\n+\t};\n+};\n",
    "prefixes": [
        "v3",
        "2/2"
    ]
}