get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806624,
    "url": "http://patchwork.ozlabs.org/api/patches/806624/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170828145725.2539-2-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": "<20170828145725.2539-2-antoine.tenart@free-electrons.com>",
    "list_archive_url": null,
    "date": "2017-08-28T14:57:13",
    "name": "[net-next,v3,01/13] phy: add sgmii and 10gkr modes to the phy_mode enum",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "9fe18e80b3aec5d9a152512f8e2fc2177bd61d4a",
    "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/20170828145725.2539-2-antoine.tenart@free-electrons.com/mbox/",
    "series": [
        {
            "id": 187,
            "url": "http://patchwork.ozlabs.org/api/series/187/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=187",
            "date": "2017-08-28T14:57:14",
            "name": "net: mvpp2: comphy configuration",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/187/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806624/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806624/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 3xgw532kGkz9sMN\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 29 Aug 2017 01:03:35 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751999AbdH1PDX (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 28 Aug 2017 11:03:23 -0400",
            "from mail.free-electrons.com ([62.4.15.54]:55589 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751579AbdH1O5n (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 28 Aug 2017 10:57:43 -0400",
            "by mail.free-electrons.com (Postfix, from userid 110)\n\tid D02EB20A5E; Mon, 28 Aug 2017 16:57:40 +0200 (CEST)",
            "from localhost (nat.foo.tf [163.172.35.26])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id A795A2094E;\n\tMon, 28 Aug 2017 16:57:30 +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 v3 01/13] phy: add sgmii and 10gkr modes to the\n\tphy_mode enum",
        "Date": "Mon, 28 Aug 2017 16:57:13 +0200",
        "Message-Id": "<20170828145725.2539-2-antoine.tenart@free-electrons.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170828145725.2539-1-antoine.tenart@free-electrons.com>",
        "References": "<20170828145725.2539-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": "This patch adds more generic PHY modes to the phy_mode enum, to\nallow configuring generic PHYs to the SGMII and/or the 10GKR mode\nby using the set_mode callback.\n\nSigned-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>\n---\n include/linux/phy/phy.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h\nindex 78bb0d7f6b11..e694d4008c4a 100644\n--- a/include/linux/phy/phy.h\n+++ b/include/linux/phy/phy.h\n@@ -27,6 +27,8 @@ enum phy_mode {\n \tPHY_MODE_USB_HOST,\n \tPHY_MODE_USB_DEVICE,\n \tPHY_MODE_USB_OTG,\n+\tPHY_MODE_SGMII,\n+\tPHY_MODE_10GKR,\n };\n \n /**\n",
    "prefixes": [
        "net-next",
        "v3",
        "01/13"
    ]
}