get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807577,
    "url": "http://patchwork.ozlabs.org/api/patches/807577/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/1504088752-6204-1-git-send-email-jaswinder.singh@linaro.org/",
    "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": "<1504088752-6204-1-git-send-email-jaswinder.singh@linaro.org>",
    "list_archive_url": null,
    "date": "2017-08-30T10:25:52",
    "name": "[net-next,PATCHv6,1/2] dt-bindings: net: Add DT bindings for Socionext Netsec",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "51f0020ca663f913d2250913e92539b46e66c862",
    "submitter": {
        "id": 4220,
        "url": "http://patchwork.ozlabs.org/api/people/4220/?format=api",
        "name": "Jassi Brar",
        "email": "jassisinghbrar@gmail.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/1504088752-6204-1-git-send-email-jaswinder.singh@linaro.org/mbox/",
    "series": [
        {
            "id": 577,
            "url": "http://patchwork.ozlabs.org/api/series/577/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=577",
            "date": "2017-08-30T10:24:17",
            "name": "net: ethernet: Socionext Netsec",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/577/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807577/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807577/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>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"CVFraGDl\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xj1qx687Yz9t2R\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 20:26:05 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751398AbdH3K0D (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 30 Aug 2017 06:26:03 -0400",
            "from mail-pg0-f68.google.com ([74.125.83.68]:38847 \"EHLO\n\tmail-pg0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751300AbdH3K0C (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Wed, 30 Aug 2017 06:26:02 -0400",
            "by mail-pg0-f68.google.com with SMTP id t3so4764876pgt.5;\n\tWed, 30 Aug 2017 03:26:02 -0700 (PDT)",
            "from localhost.localdomain ([27.255.192.36])\n\tby smtp.gmail.com with ESMTPSA id\n\tl3sm8647611pfj.137.2017.08.30.03.25.57\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 30 Aug 2017 03:26:00 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=Yy6ANxTem6pR+ZU+fFh+vMscBPN2dOs5HInqpctJIE4=;\n\tb=CVFraGDloEwdWDVXcJczZKsP/g3uk6hvwibPwIHb5D8RRhjCQzXlfZ/NugvDvffKom\n\tjdVtO0Y2PGk1NQnfcXQJCM8qrwnoO7oHVPgI1KeSdjty8fZgPsCRKpwyRiD0YjYiOHZG\n\ton1ly4QsQylEpB9P8EHG4O6qMzGKcNMQT+8vH/jdNirLOPRaiVlMfBx6XYNfhESL2AVV\n\t470zQ1Nd50j/3RXLiqP/ffF/fgrnWIvOAo/QyFkzstqaEP7PzMFnYb0ZDRA6mqxsIXZ3\n\tGNoCKi9HNCNslZdrXbvtbitmsAuplN5GtL5hodkuBmTyH6pg+XLZ/6TpkLozQJQDP64p\n\thMVw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=Yy6ANxTem6pR+ZU+fFh+vMscBPN2dOs5HInqpctJIE4=;\n\tb=k5k8lbEgT+Et+0h7H8pnlUtHcPBZpACzBCldCroxWRM9k8QWfbkh+QcmtRou+sUZGM\n\tPnukHZqZ2RjYWl4277+OLCZswSJO0qbLR87QgkJJxydmMCc7Y9hCLyRPVcq+QTM4/Bw0\n\t1CyWs3p2xXKs/Q/Pf46Rj+hyGAL/HtbjSJCJ1yCo6UP8h98cf30FVNaXQdnfKAxoKpQz\n\tqnSM+MHSriZsigbFHRe/6jfLrW2h8y3+f4QCC2zrD9BpB8E3MLSHfd/IVyN/JqFgWMw2\n\tVMCPP4rkZe33cqqYZl2iJa1W/fVG0EJc33Rf2Q6vi7vAYtR7X+BibPcXLt/+ujsTG+kM\n\ts9XA==",
        "X-Gm-Message-State": "AHYfb5g/gt/4CPJX50DWLrdfBFqT6g18ff1vPYIzLaeWExUQ29W0hUwS\n\tob4HG12zsWNCfXfYkA8=",
        "X-Received": "by 10.84.224.205 with SMTP id k13mr1316612pln.203.1504088761418; \n\tWed, 30 Aug 2017 03:26:01 -0700 (PDT)",
        "From": "Jassi Brar <jassisinghbrar@gmail.com>",
        "X-Google-Original-From": "Jassi Brar <jaswinder.singh@linaro.org>",
        "To": "netdev@vger.kernel.org, devicetree@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org, davem@davemloft.net",
        "Cc": "patches@linaro.org, arnd@arndb.de, mark.rutland@arm.com,\n\trobh+dt@kernel.org, andy@warmcat.com,\n\tJassi Brar <jaswinder.singh@linaro.org>",
        "Subject": "[net-next PATCHv6 1/2] dt-bindings: net: Add DT bindings for\n\tSocionext Netsec",
        "Date": "Wed, 30 Aug 2017 15:55:52 +0530",
        "Message-Id": "<1504088752-6204-1-git-send-email-jaswinder.singh@linaro.org>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1504088657-6102-1-git-send-email-jaswinder.singh@linaro.org>",
        "References": "<1504088657-6102-1-git-send-email-jaswinder.singh@linaro.org>",
        "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 documentation for Device-Tree bindings for the\nSocionext NetSec Controller driver.\n\nSigned-off-by: Jassi Brar <jaswinder.singh@linaro.org>\n---\n .../devicetree/bindings/net/socionext-netsec.txt   | 46 ++++++++++++++++++++++\n 1 file changed, 46 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/net/socionext-netsec.txt",
    "diff": "diff --git a/Documentation/devicetree/bindings/net/socionext-netsec.txt b/Documentation/devicetree/bindings/net/socionext-netsec.txt\nnew file mode 100644\nindex 0000000..12d596c\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/net/socionext-netsec.txt\n@@ -0,0 +1,46 @@\n+* Socionext NetSec Ethernet Controller IP\n+\n+Required properties:\n+- compatible: Should be \"socionext,netsecv5\"\n+- reg: Address and length of the register sets, the first is the main\n+\tregisters, then the rdlar and tdlar regions for the SoC\n+- interrupts: Should contain ethernet controller interrupt\n+- clocks: phandle to any clocks to be switched by runtime_pm\n+- phy-mode: See ethernet.txt file in the same directory\n+- max-speed: See ethernet.txt file in the same directory\n+- max-frame-size: See ethernet.txt file in the same directory, if 9000 or\n+\tabove jumbo frames are enabled\n+- local-mac-address: See ethernet.txt file in the same directory\n+- phy-handle: phandle to select child phy\n+\n+Optional properties:\n+- use-jumbo: Boolean property to suggest if jumbo packets should be used or not\n+\n+For the child phy\n+\n+- compatible \"ethernet-phy-ieee802.3-c22\" is needed\n+- device_type \"ethernet-phy\"\n+- reg: phy address\n+\n+\n+Example:\n+\teth0: ethernet {\n+\t\tcompatible = \"socionext,netsecv5\";\n+\t\treg = <0 0x31600000 0x10000>, <0 0x31618000 0x4000>, <0 0x3161c000 0x4000>;\n+\t\tinterrupts = <0 163 0x4>;\n+\t\tclocks = <&clk_alw_0_8>;\n+\t\tphy-mode = \"rgmii\";\n+\t\tmax-speed = <1000>;\n+\t\tmax-frame-size = <9000>;\n+\t\tlocal-mac-address = [ a4 17 31 00 00 ed ];\n+\t\tphy-handle = <&ethphy0>;\n+\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\n+\t\tethphy0: ethernet-phy@1 {\n+\t\t\tdevice_type = \"ethernet-phy\";\n+\t\t\tcompatible = \"ethernet-phy-ieee802.3-c22\";\n+\t\t\treg = <1>;\n+\t\t};\n+\t};\n",
    "prefixes": [
        "net-next",
        "PATCHv6",
        "1/2"
    ]
}