get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806476,
    "url": "http://patchwork.ozlabs.org/api/patches/806476/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/patch/1503914654-19963-8-git-send-email-fabrice.gasnier@st.com/",
    "project": {
        "id": 38,
        "url": "http://patchwork.ozlabs.org/api/projects/38/?format=api",
        "name": "Linux PWM development",
        "link_name": "linux-pwm",
        "list_id": "linux-pwm.vger.kernel.org",
        "list_email": "linux-pwm@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1503914654-19963-8-git-send-email-fabrice.gasnier@st.com>",
    "list_archive_url": null,
    "date": "2017-08-28T10:04:12",
    "name": "[RESEND,v3,7/9] dt-bindings: iio: Add STM32 LPTimer quadrature encoder and counter",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f1c62bc4cda475e4b4f66e4531c4758231a4de6e",
    "submitter": {
        "id": 65902,
        "url": "http://patchwork.ozlabs.org/api/people/65902/?format=api",
        "name": "Fabrice Gasnier",
        "email": "fabrice.gasnier@st.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pwm/patch/1503914654-19963-8-git-send-email-fabrice.gasnier@st.com/mbox/",
    "series": [
        {
            "id": 122,
            "url": "http://patchwork.ozlabs.org/api/series/122/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/list/?series=122",
            "date": "2017-08-28T10:04:06",
            "name": "Add STM32 LPTimer: PWM, trigger and counter",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/122/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806476/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806476/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-pwm-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-pwm-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 3xgnVz3pw9z9rxm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 20:07:07 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751554AbdH1KFV (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tMon, 28 Aug 2017 06:05:21 -0400",
            "from mx07-00178001.pphosted.com ([62.209.51.94]:26062 \"EHLO\n\tmx07-00178001.pphosted.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751412AbdH1KFT (ORCPT\n\t<rfc822; linux-pwm@vger.kernel.org>); Mon, 28 Aug 2017 06:05:19 -0400",
            "from pps.filterd (m0046037.ppops.net [127.0.0.1])\n\tby mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv7SA4THs028037; Mon, 28 Aug 2017 12:04:42 +0200",
            "from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35])\n\tby mx07-.pphosted.com with ESMTP id 2cjxrqsctb-1\n\t(version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT);\n\tMon, 28 Aug 2017 12:04:42 +0200",
            "from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9])\n\tby beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0784648;\n\tMon, 28 Aug 2017 10:04:40 +0000 (GMT)",
            "from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15])\n\tby zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B2D52237A;\n\tMon, 28 Aug 2017 10:04:40 +0000 (GMT)",
            "from localhost (10.75.127.45) by SFHDAG5NODE3.st.com (10.75.127.15)\n\twith Microsoft SMTP Server (TLS) id 15.0.1178.4;\n\tMon, 28 Aug 2017 12:04:40 +0200"
        ],
        "From": "Fabrice Gasnier <fabrice.gasnier@st.com>",
        "To": "<lee.jones@linaro.org>, <benjamin.gaignard@linaro.org>,\n\t<jic23@kernel.org>, <thierry.reding@gmail.com>, <robh+dt@kernel.org>",
        "CC": "<mark.rutland@arm.com>, <alexandre.torgue@st.com>,\n\t<mcoquelin.stm32@gmail.com>, <fabrice.gasnier@st.com>,\n\t<benjamin.gaignard@st.com>, <linux-iio@vger.kernel.org>,\n\t<devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>,\n\t<linux-kernel@vger.kernel.org>, <linux-pwm@vger.kernel.org>,\n\t<vilhelm.gray@gmail.com>",
        "Subject": "[RESEND PATCH v3 7/9] dt-bindings: iio: Add STM32 LPTimer\n\tquadrature encoder and counter",
        "Date": "Mon, 28 Aug 2017 12:04:12 +0200",
        "Message-ID": "<1503914654-19963-8-git-send-email-fabrice.gasnier@st.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1503914654-19963-1-git-send-email-fabrice.gasnier@st.com>",
        "References": "<1503914654-19963-1-git-send-email-fabrice.gasnier@st.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.75.127.45]",
        "X-ClientProxiedBy": "SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG5NODE3.st.com\n\t(10.75.127.15)",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-08-28_06:, , signatures=0",
        "Sender": "linux-pwm-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-pwm.vger.kernel.org>",
        "X-Mailing-List": "linux-pwm@vger.kernel.org"
    },
    "content": "Add documentation for STMicroelectronics STM32 Low-Power Timer\nquadrature encoder and counter binding.\n\nSigned-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>\nAcked-by: Jonathan Cameron <jic23@kernel.org>\nAcked-by: Rob Herring <robh@kernel.org>\n---\nChanges in v3:\n- Rob's comment on node name: timer@...\n\nChanges in v2:\n- s/Low Power/Low-Power\n- remove leading 0x in example (parent node)\n- improve properties descriptions\n---\n .../bindings/iio/counter/stm32-lptimer-cnt.txt     | 27 ++++++++++++++++++++++\n 1 file changed, 27 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt b/Documentation/devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt\nnew file mode 100644\nindex 0000000..a04aa5c\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/iio/counter/stm32-lptimer-cnt.txt\n@@ -0,0 +1,27 @@\n+STMicroelectronics STM32 Low-Power Timer quadrature encoder and counter\n+\n+STM32 Low-Power Timer provides several counter modes. It can be used as:\n+- quadrature encoder to detect angular position and direction of rotary\n+  elements, from IN1 and IN2 input signals.\n+- simple counter from IN1 input signal.\n+\n+Must be a sub-node of an STM32 Low-Power Timer device tree node.\n+See ../mfd/stm32-lptimer.txt for details about the parent node.\n+\n+Required properties:\n+- compatible:\t\tMust be \"st,stm32-lptimer-counter\".\n+- pinctrl-names: \tSet to \"default\".\n+- pinctrl-0: \t\tList of phandles pointing to pin configuration nodes,\n+\t\t\tto set IN1/IN2 pins in mode of operation for Low-Power\n+\t\t\tTimer input on external pin.\n+\n+Example:\n+\ttimer@40002400 {\n+\t\tcompatible = \"st,stm32-lptimer\";\n+\t\t...\n+\t\tcounter {\n+\t\t\tcompatible = \"st,stm32-lptimer-counter\";\n+\t\t\tpinctrl-names = \"default\";\n+\t\t\tpinctrl-0 = <&lptim1_in_pins>;\n+\t\t};\n+\t};\n",
    "prefixes": [
        "RESEND",
        "v3",
        "7/9"
    ]
}