get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807485,
    "url": "http://patchwork.ozlabs.org/api/patches/807485/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170830082924.3180-4-antoine.tenart@free-electrons.com/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170830082924.3180-4-antoine.tenart@free-electrons.com>",
    "list_archive_url": null,
    "date": "2017-08-30T08:29:14",
    "name": "[net-next,v4,03/13] Documentation/bindings: phy: document the Marvell comphy driver",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "f5354cf87552b22b7d1120b189f3c48799d3e7ee",
    "submitter": {
        "id": 61603,
        "url": "http://patchwork.ozlabs.org/api/people/61603/?format=api",
        "name": "Antoine Tenart",
        "email": "antoine.tenart@free-electrons.com"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170830082924.3180-4-antoine.tenart@free-electrons.com/mbox/",
    "series": [
        {
            "id": 550,
            "url": "http://patchwork.ozlabs.org/api/series/550/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=550",
            "date": "2017-08-30T08:29:24",
            "name": "net: mvpp2: comphy configuration",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/550/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807485/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807485/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@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=netdev-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 3xhzM8565Sz9t1t\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 18:34:28 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751424AbdH3I3m (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 30 Aug 2017 04:29:42 -0400",
            "from mail.free-electrons.com ([62.4.15.54]:58104 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751300AbdH3I3k (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Wed, 30 Aug 2017 04:29:40 -0400",
            "by mail.free-electrons.com (Postfix, from userid 110)\n\tid 61DD621F49; Wed, 30 Aug 2017 10:29:38 +0200 (CEST)",
            "from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr\n\t[90.63.216.87])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 3564921F5A;\n\tWed, 30 Aug 2017 10:29:28 +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": "Antoine Tenart <antoine.tenart@free-electrons.com>",
        "To": "davem@davemloft.net, kishon@ti.com, andrew@lunn.ch,\n\tjason@lakedaemon.net, sebastian.hesselbarth@gmail.com,\n\tgregory.clement@free-electrons.com",
        "Cc": "Antoine Tenart <antoine.tenart@free-electrons.com>,\n\tthomas.petazzoni@free-electrons.com, nadavh@marvell.com,\n\tlinux@armlinux.org.uk, linux-kernel@vger.kernel.org,\n\tmw@semihalf.com, stefanc@marvell.com,\n\tmiquel.raynal@free-electrons.com, netdev@vger.kernel.org",
        "Subject": "[PATCH net-next v4 03/13] Documentation/bindings: phy: document the\n\tMarvell comphy driver",
        "Date": "Wed, 30 Aug 2017 10:29:14 +0200",
        "Message-Id": "<20170830082924.3180-4-antoine.tenart@free-electrons.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170830082924.3180-1-antoine.tenart@free-electrons.com>",
        "References": "<20170830082924.3180-1-antoine.tenart@free-electrons.com>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "The Marvell Armada 7K/8K SoCs contains an hardware block called COMPHY\nthat provides a number of shared PHYs used by various interfaces in the\nSoC: network, SATA, PCIe, etc. This Device Tree binding allows to\ndescribe this COMPHY hardware block.\n\nSigned-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>\n---\n .../devicetree/bindings/phy/phy-mvebu-comphy.txt   | 43 ++++++++++++++++++++++\n 1 file changed, 43 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt b/Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt\nnew file mode 100644\nindex 000000000000..bfcf80341657\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt\n@@ -0,0 +1,43 @@\n+mvebu comphy driver\n+-------------------\n+\n+A comphy controller can be found on Marvell Armada 7k/8k on the CP110. It\n+provides a number of shared PHYs used by various interfaces (network, sata,\n+usb, PCIe...).\n+\n+Required properties:\n+\n+- compatible: should be \"marvell,comphy-cp110\"\n+- reg: should contain the comphy register location and length.\n+- marvell,system-controller: should contain a phandle to the\n+                             system controller node.\n+- #address-cells: should be 1.\n+- #size-cells: should be 0.\n+\n+A sub-node is required for each comphy lane provided by the comphy.\n+\n+Required properties (child nodes):\n+\n+- reg: comphy lane number.\n+- #phy-cells : from the generic phy bindings, must be 1. Defines the\n+               input port to use for a given comphy lane.\n+\n+Example:\n+\n+\tcpm_comphy: phy@120000 {\n+\t\tcompatible = \"marvell,comphy-cp110\";\n+\t\treg = <0x120000 0x6000>;\n+\t\tmarvell,system-controller = <&cpm_syscon0>;\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\n+\t\tcpm_comphy0: phy@0 {\n+\t\t\treg = <0>;\n+\t\t\t#phy-cells = <1>;\n+\t\t};\n+\n+\t\tcpm_comphy1: phy@1 {\n+\t\t\treg = <1>;\n+\t\t\t#phy-cells = <1>;\n+\t\t};\n+\t};\n",
    "prefixes": [
        "net-next",
        "v4",
        "03/13"
    ]
}