get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807559,
    "url": "http://patchwork.ozlabs.org/api/patches/807559/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/7ae5d883fd038cf518949b0aa9cbe5369e2a1851.1504086672.git.baruch@tkos.co.il/",
    "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": "<7ae5d883fd038cf518949b0aa9cbe5369e2a1851.1504086672.git.baruch@tkos.co.il>",
    "list_archive_url": null,
    "date": "2017-08-30T09:51:11",
    "name": "[v2,2/3] dt-binding: net: sfp binding documentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "95e0d0ba8fb6c3dc977da75105eed24b540d9940",
    "submitter": {
        "id": 1458,
        "url": "http://patchwork.ozlabs.org/api/people/1458/?format=api",
        "name": "Baruch Siach",
        "email": "baruch@tkos.co.il"
    },
    "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/7ae5d883fd038cf518949b0aa9cbe5369e2a1851.1504086672.git.baruch@tkos.co.il/mbox/",
    "series": [
        {
            "id": 568,
            "url": "http://patchwork.ozlabs.org/api/series/568/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=568",
            "date": "2017-08-30T09:51:10",
            "name": "[v2,1/3] dt-bindings: add SFF vendor prefix",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/568/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807559/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807559/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 3xj15V6Zmfz9t2Q\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 19:52:46 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751933AbdH3Jwp (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 30 Aug 2017 05:52:45 -0400",
            "from guitar.tcltek.co.il ([192.115.133.116]:47034 \"EHLO\n\tmx.tkos.co.il\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751418AbdH3Jwm (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tWed, 30 Aug 2017 05:52:42 -0400",
            "from tarshish.tkos.co.il (unknown [10.0.8.6])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby mx.tkos.co.il (Postfix) with ESMTPSA id 73CE944025F;\n\tWed, 30 Aug 2017 12:52:39 +0300 (IDT)"
        ],
        "From": "Baruch Siach <baruch@tkos.co.il>",
        "To": "Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\tAndrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>,\n\t\"David S. Miller\" <davem@davemloft.net>,\n\tRussell King <rmk+kernel@arm.linux.org.uk>",
        "Cc": "netdev@vger.kernel.org, devicetree@vger.kernel.org,\n\tBaruch Siach <baruch@tkos.co.il>",
        "Subject": "[PATCH v2 2/3] dt-binding: net: sfp binding documentation",
        "Date": "Wed, 30 Aug 2017 12:51:11 +0300",
        "Message-Id": "<7ae5d883fd038cf518949b0aa9cbe5369e2a1851.1504086672.git.baruch@tkos.co.il>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<d1e64c5752ef0dd5c5b543c2d4c3ef1783318173.1504086672.git.baruch@tkos.co.il>",
        "References": "<d1e64c5752ef0dd5c5b543c2d4c3ef1783318173.1504086672.git.baruch@tkos.co.il>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "Add device-tree binding documentation SFP transceivers. Support for SFP\ntransceivers has been recently introduced (drivers/net/phy/sfp.c).\n\nSigned-off-by: Baruch Siach <baruch@tkos.co.il>\n---\nv2:\n  Rename -gpio properties to -gpios\n  Rename the rate-select-gpio property to rate-select0-gpios\n  Add the rate-select1-gpios property\n  Add examples\n---\n Documentation/devicetree/bindings/net/sff,sfp.txt | 74 +++++++++++++++++++++++\n 1 file changed, 74 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/net/sff,sfp.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/net/sff,sfp.txt b/Documentation/devicetree/bindings/net/sff,sfp.txt\nnew file mode 100644\nindex 000000000000..1d9c786d6287\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/net/sff,sfp.txt\n@@ -0,0 +1,74 @@\n+Small Form Factor (SFF) Committee Small Form-factor Pluggable (SFP)\n+Transceiver\n+\n+Required properties:\n+\n+- compatible : must be \"sff,sfp\"\n+\n+Optional Properties:\n+\n+- i2c-bus : phandle of an I2C bus controller for the SFP two wire serial\n+  interface\n+\n+- moddef0-gpios : phandle of the MOD-DEF0 (AKA Mod_ABS) module presence input\n+  gpio signal\n+\n+- los-gpios : phandle of the Receiver Loss of Signal Indication input gpio\n+  signal\n+\n+- tx-fault-gpios : phandle of the Module Transmitter Fault input gpio signal\n+\n+- tx-disable-gpios : phandle of the Transmitter Disable output gpio signal\n+\n+- rate-select0-gpios : phandle of the Rx Signaling Rate Select (AKA RS0) output\n+  gpio\n+\n+- rate-select1-gpios : phandle of the Tx Signaling Rate Select (AKA RS1) output\n+  gpio (SFP+ only)\n+\n+Example #1: Direct serdes to SFP connection\n+\n+sfp_eth3: sfp-eth3 {\n+\tcompatible = \"sff,sfp\";\n+\ti2c-bus = <&sfp_1g_i2c>;\n+\tlos-gpios = <&cpm_gpio2 22 GPIO_ACTIVE_HIGH>;\n+\tmoddef0-gpios = <&cpm_gpio2 21 GPIO_ACTIVE_LOW>;\n+\tpinctrl-names = \"default\";\n+\tpinctrl-0 = <&cpm_sfp_1g_pins &cps_sfp_1g_pins>;\n+\ttx-disable-gpios = <&cps_gpio1 24 GPIO_ACTIVE_HIGH>;\n+\ttx-fault-gpios = <&cpm_gpio2 19 GPIO_ACTIVE_HIGH>;\n+};\n+\n+&cps_emac3 {\n+\tphy-mode = \"sgmii\";\n+\tphy-names = \"comphy\";\n+\tphys = <&cps_comphy 5 COMPHY_SGMII2>;\n+\tsfp = <&sfp_eth3>;\n+};\n+\n+Example #2: Serdes to PHY to SFP connection\n+\n+sfp_eth0: sfp-eth0 {\n+\tcompatible = \"sff,sfp+\";\n+\ti2c-bus = <&sfpp0_i2c>;\n+\tlos-gpio = <&cps_gpio1 28 GPIO_ACTIVE_HIGH>;\n+\tmoddef0-gpio = <&cps_gpio1 27 GPIO_ACTIVE_LOW>;\n+\tpinctrl-names = \"default\";\n+\tpinctrl-0 = <&cps_sfpp0_pins>;\n+\ttx-disable-gpio = <&cps_gpio1 29 GPIO_ACTIVE_HIGH>;\n+\ttx-fault-gpio  = <&cps_gpio1 26 GPIO_ACTIVE_HIGH>;\n+};\n+\n+p0_phy: ethernet-phy@0 {\n+\tcompatible = \"ethernet-phy-ieee802.3-c45\";\n+\tpinctrl-names = \"default\";\n+\tpinctrl-0 = <&cpm_phy0_pins &cps_phy0_pins>;\n+\treg = <0>;\n+\tinterrupt = <&cpm_gpio2 18 IRQ_TYPE_EDGE_FALLING>;\n+\tsfp = <&sfp_eth0>;\n+};\n+\n+&cpm_eth0 {\n+\tphy = <&p0_phy>;\n+\tphy-mode = \"10gbase-kr\";\n+};\n",
    "prefixes": [
        "v2",
        "2/3"
    ]
}