get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 816987,
    "url": "http://patchwork.ozlabs.org/api/patches/816987/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170921154814.7510-2-chris.packham@alliedtelesis.co.nz/",
    "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": "<20170921154814.7510-2-chris.packham@alliedtelesis.co.nz>",
    "list_archive_url": null,
    "date": "2017-09-21T15:48:13",
    "name": "[v2,1/2] uio: dt-bindings: document binding for uio-pdrv-genirq",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "af645b33b84ff6d807da8c45192db3d907fbdcd6",
    "submitter": {
        "id": 27499,
        "url": "http://patchwork.ozlabs.org/api/people/27499/?format=api",
        "name": "Chris Packham",
        "email": "chris.packham@alliedtelesis.co.nz"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170921154814.7510-2-chris.packham@alliedtelesis.co.nz/mbox/",
    "series": [
        {
            "id": 4421,
            "url": "http://patchwork.ozlabs.org/api/series/4421/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=4421",
            "date": "2017-09-21T15:48:12",
            "name": "using uio_pdrv_genirq without module param",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/4421/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/816987/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/816987/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>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=alliedtelesis.co.nz\n\theader.i=@alliedtelesis.co.nz\n\theader.b=\"wgwT4eJp\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xygyl2vvtz9t4P\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 01:49:19 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751764AbdIUPsY (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tThu, 21 Sep 2017 11:48:24 -0400",
            "from gate2.alliedtelesis.co.nz ([202.36.163.20]:41736 \"EHLO\n\tgate2.alliedtelesis.co.nz\" rhost-flags-OK-OK-OK-OK) by\n\tvger.kernel.org with ESMTP id S1751686AbdIUPsX (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Thu, 21 Sep 2017 11:48:23 -0400",
            "from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (Client did not present a certificate)\n\tby gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 7BF748365F;\n\tFri, 22 Sep 2017 03:48:22 +1200 (NZST)",
            "from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with\n\tTrustwave SEG (v7, 5, 8, 10121)\n\tid <B59c3df420000>; Fri, 22 Sep 2017 03:48:22 +1200",
            "from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30])\n\tby smtp (Postfix) with ESMTP id 7668C13EF11;\n\tFri, 22 Sep 2017 03:48:29 +1200 (NZST)",
            "by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030)\n\tid 5B3491E10C2; Fri, 22 Sep 2017 03:48:18 +1200 (NZST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; \n\ts=mail; t=1506008902;\n\tbh=O8u7IE9zHljdiybNFUj6pMc0HsS3hjrqP8QartsjBro=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References;\n\tb=wgwT4eJpvTeyJtaE5abbuExFFjHMt5qjFo0SWNRq3xhSVW/D7PjgbcSPO2i4GMtDz\n\tRKXIikpKI4H46RmVKdSC6twxXSvPKEV0MgqLFmO/QkvjzHKxOFqBFgr41/Th2qbntj\n\tNt7rp540e6jBh6QkHpd5B1/AD4mqGwLY5gKTFO0s=",
        "From": "Chris Packham <chris.packham@alliedtelesis.co.nz>",
        "To": "robh+dt@kernel.org, mark.rutland@arm.com,\n\tgregkh@linuxfoundation.org, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org",
        "Cc": "Chris Packham <chris.packham@alliedtelesis.co.nz>",
        "Subject": "[PATCH v2 1/2] uio: dt-bindings: document binding for\n\tuio-pdrv-genirq",
        "Date": "Fri, 22 Sep 2017 03:48:13 +1200",
        "Message-Id": "<20170921154814.7510-2-chris.packham@alliedtelesis.co.nz>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170921154814.7510-1-chris.packham@alliedtelesis.co.nz>",
        "References": "<20170921154814.7510-1-chris.packham@alliedtelesis.co.nz>",
        "Sender": "devicetree-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<devicetree.vger.kernel.org>",
        "X-Mailing-List": "devicetree@vger.kernel.org"
    },
    "content": "Document the device tree bindings for the uio-prv-genirq driver. Provide\nsome examples on how it can be used.\n\nSigned-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>\n---\n .../bindings/uio/linux,uio-pdrv-genirq.txt         | 28 ++++++++++++++++++++++\n 1 file changed, 28 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/uio/linux,uio-pdrv-genirq.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/uio/linux,uio-pdrv-genirq.txt b/Documentation/devicetree/bindings/uio/linux,uio-pdrv-genirq.txt\nnew file mode 100644\nindex 000000000000..90447905e886\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/uio/linux,uio-pdrv-genirq.txt\n@@ -0,0 +1,28 @@\n+*Generic UIO platform driver with interrupts\n+\n+Required properties:\n+- compatible: Should be \"linux,uio-pdrv-genirq\" or a value set with the of_id\n+  module parameter.\n+\n+Optional properties:\n+- interrupts: Should contain the interrupt to be associated with this device\n+  (only a single interrupt is supported per device).\n+- interrupt-parent: Specifies the phandle to the parent interrupt controller.\n+- reg: Should specify the physical address spaces used by this device.\n+\n+Example:\n+\n+/* Device with MM IO and interrupt */\n+my-device@10000 {\n+\tcompatible = \"linux,uio-pdrv-genirq\";\n+\treg = <0x10000 0x40>;\n+\tinterrupts = <4 IRQ_TYPE_EDGE_BOTH>;\n+\tinterrupt-parent = <&gic>;\n+};\n+\n+/* Device with interrupt only */\n+my-int {\n+\tcompatible = \"linux,uio-pdrv-genirq\";\n+\tinterrupts = <6 IRQ_TYPE_EDGE_BOTH>;\n+\tinterrupt-parent = <&gic>;\n+};\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}