get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814117,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/814117/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170915074952.22148-1-leonl@leopardimaging.com/",
    "project": {
        "id": 37,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170915074952.22148-1-leonl@leopardimaging.com>",
    "list_archive_url": null,
    "date": "2017-09-15T07:49:51",
    "name": "[v5,1/2] media:imx274 device tree binding file",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "4b74895322e4cabb357381b172d8f1fc83cf65c4",
    "submitter": {
        "id": 72261,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/72261/?format=api",
        "name": "Leon Luo",
        "email": "leonl@leopardimaging.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170915074952.22148-1-leonl@leopardimaging.com/mbox/",
    "series": [
        {
            "id": 3241,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/3241/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=3241",
            "date": "2017-09-15T07:49:51",
            "name": "[v5,1/2] media:imx274 device tree binding file",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/3241/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814117/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814117/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 3xtnfS0nPBz9s82\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri, 15 Sep 2017 17:51:44 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751257AbdIOHus (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 15 Sep 2017 03:50:48 -0400",
            "from p3plsmtpa08-06.prod.phx3.secureserver.net\n\t([173.201.193.107]:57048\n\t\"EHLO p3plsmtpa08-06.prod.phx3.secureserver.net\"\n\trhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751190AbdIOHuq (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 15 Sep 2017 03:50:46 -0400",
            "from localhost.localdomain ([180.139.100.100])\n\tby :SMTPAUTH: with SMTP\n\tid slO0d8nl1eVwGslO8dZCp7; Fri, 15 Sep 2017 00:50:15 -0700"
        ],
        "From": "Leon Luo <leonl@leopardimaging.com>",
        "To": "mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com,\n\thans.verkuil@cisco.com, sakari.ailus@linux.intel.com",
        "Cc": "linux-media@vger.kernel.org, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, leonl@leopardimaging.com,\n\tsoren.brinkmann@xilinx.com",
        "Subject": "[PATCH v5 1/2] media:imx274 device tree binding file",
        "Date": "Fri, 15 Sep 2017 15:49:51 +0800",
        "Message-Id": "<20170915074952.22148-1-leonl@leopardimaging.com>",
        "X-Mailer": "git-send-email 2.14.0.rc1",
        "X-CMAE-Envelope": "MS4wfM22jIe466u3P/7z5YTVs4lUwk9ZWjRlv/kZK24NT2wHxkTkkSA+OJWoKSAHYcZkOVZdx2DAGYEXK0MC3Hl5olnMkEexCKKWjpByzwhC3QhmrAaBqPOg\n\tw9lyLlmCcqGTIbTEd/dPooDip9vWNdzdyRriNiMxVVpIlFt1cTjGle5Bc6YEMwLow5nItB8Iq86ldRgYyMQ8XAd672dy310DNerBXqAN/MJYDOJcbxPd0Dvd\n\to0QJFQp2nC36Idh0qPryXE9OCAt7yk+Tt8Sl0QUoxpmPrhAcZtoMiJM7Y6C6OXEHR9NUFjlB05/pSjaXUMWqR1l796zPq8I4miNIURS2jyxo0bEa/v1CXwg2\n\tJVRFf4H+MYcPFz+43YdYjRC0Bzfu0iQoIo9/sqeSvjfjZCn2Nba5yBesyagQatPJbBit3ouHdnNvDoepsA2xvtMyuVZjIHbPHGCHqAg/Y3bELozFocWIgpW6\n\tL67CJdAhlPOdKy50LLZ7R91oIlwMe5qNcvmKUBB5OJwN/zclg10ArDmiN8c=",
        "Sender": "devicetree-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<devicetree.vger.kernel.org>",
        "X-Mailing-List": "devicetree@vger.kernel.org"
    },
    "content": "The binding file for imx274 CMOS sensor V4l2 driver\n\nSigned-off-by: Leon Luo <leonl@leopardimaging.com>\n---\nv5:\n - add 'port' and 'endpoint' information\nv4:\n - no changes\nv3:\n - remove redundant properties and references\n - document 'reg' property\nv2:\n - no changes\n---\n .../devicetree/bindings/media/i2c/imx274.txt       | 33 ++++++++++++++++++++++\n 1 file changed, 33 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/media/i2c/imx274.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/media/i2c/imx274.txt b/Documentation/devicetree/bindings/media/i2c/imx274.txt\nnew file mode 100644\nindex 000000000000..80f2e89568e1\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/media/i2c/imx274.txt\n@@ -0,0 +1,33 @@\n+* Sony 1/2.5-Inch 8.51Mp CMOS Digital Image Sensor\n+\n+The Sony imx274 is a 1/2.5-inch CMOS active pixel digital image sensor with\n+an active array size of 3864H x 2202V. It is programmable through I2C\n+interface. The I2C address is fixed to 0x1a as per sensor data sheet.\n+Image data is sent through MIPI CSI-2, which is configured as 4 lanes\n+at 1440 Mbps.\n+\n+\n+Required Properties:\n+- compatible: value should be \"sony,imx274\" for imx274 sensor\n+- reg: I2C bus address of the device\n+\n+Optional Properties:\n+- reset-gpios: Sensor reset GPIO\n+\n+The imx274 device node should contain one 'port' child node with\n+an 'endpoint' subnode. For further reading on port node refer to\n+Documentation/devicetree/bindings/media/video-interfaces.txt.\n+\n+Example:\n+\tsensor@1a {\n+\t\tcompatible = \"sony,imx274\";\n+\t\treg = <0x1a>;\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\t\treset-gpios = <&gpio_sensor 0 0>;\n+\t\tport {\n+\t\t\tsensor_out: endpoint {\n+\t\t\t\tremote-endpoint = <&csiss_in>;\n+\t\t\t};\n+\t\t};\n+\t};\n",
    "prefixes": [
        "v5",
        "1/2"
    ]
}