get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807370,
    "url": "http://patchwork.ozlabs.org/api/patches/807370/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504053161-27814-3-git-send-email-embed3d@gmail.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504053161-27814-3-git-send-email-embed3d@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-30T00:32:39",
    "name": "[U-Boot,2/4] sunxi: defconfig: enable sun8i emac on nanopi m1 plus",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "4c1262948f3238149690311d6486509cbcfcd067",
    "submitter": {
        "id": 72018,
        "url": "http://patchwork.ozlabs.org/api/people/72018/?format=api",
        "name": "Philipp Rossak",
        "email": "embed3d@gmail.com"
    },
    "delegate": {
        "id": 17739,
        "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api",
        "username": "jagan",
        "first_name": "Jagannadha Sutradharudu",
        "last_name": "Teki",
        "email": "jagannadh.teki@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504053161-27814-3-git-send-email-embed3d@gmail.com/mbox/",
    "series": [
        {
            "id": 510,
            "url": "http://patchwork.ozlabs.org/api/series/510/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=510",
            "date": "2017-08-30T00:32:37",
            "name": "Enable ethernet on nanopi m1 and nanopi m1 plus",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/510/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807370/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807370/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"TlGVxRHT\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhmlD6t22z9s8w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 10:36:08 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B1C6CC2267D; Wed, 30 Aug 2017 00:34:49 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BFE9CC225F7;\n\tWed, 30 Aug 2017 00:34:18 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B6117C21FF0; Wed, 30 Aug 2017 00:34:13 +0000 (UTC)",
            "from mail-wr0-f193.google.com (mail-wr0-f193.google.com\n\t[209.85.128.193])\n\tby lists.denx.de (Postfix) with ESMTPS id 1E473C21F10\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 00:34:13 +0000 (UTC)",
            "by mail-wr0-f193.google.com with SMTP id k9so488833wre.4\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 17:34:13 -0700 (PDT)",
            "from philipp-K52Jr.fritz.box (p5B3DD0C2.dip0.t-ipconnect.de.\n\t[91.61.208.194]) by smtp.gmail.com with ESMTPSA id\n\tu127sm2153097wmd.27.2017.08.29.17.34.11\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 29 Aug 2017 17:34:12 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=aeqr9j8ryw7/isAYYyTvwAI6jmloAXyi3o03QNDD2RA=;\n\tb=TlGVxRHTZtzKPqpgvHeklSvnCXLnQ5AfaxLO8IVwpJvDVXnc31tZh/qExACmdCrRfK\n\twSsOxQCESWjmT+y8jRcuCurZmc9vLUSiag9VBzw5iSwtjMh9O3ZbYqlm+fi8gewkW/RN\n\txeS2VXoJeTIEF7J5LB9DdGbcvR4ItWlubBE+NooIICGtbWzN+4u0qNvHSjGzmx4Cs6Nh\n\tJmD281YXOkrOPOUY2mf0738J6ANZJbO3laCVpD2fWu8Y7LrHMnW7LGK7JChDiOuYsS7c\n\tyeI5qhez9pz8xclK4hMlViV+6Zt/nKaLtCsxTPjIk2wiJQASjRvkiYXxC7qxmBCL3epJ\n\tW5ew==",
        "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=aeqr9j8ryw7/isAYYyTvwAI6jmloAXyi3o03QNDD2RA=;\n\tb=dR6kh6qAi1gH98acxLVchyzZ3eIvqABW0dMCA9JLihqk/MZGFy/8Ag2rXbf98nPiGp\n\txb0HcNrzLIeWQLkyJ2k20+Fb0RQEvVS4jV2cKvU5vOdxcJnz7LaObxSEZkG3U4xEjzQa\n\ty2eCZXq+Cp1/N5vWjhZ6ZgCC58qe2s/bkmLKqPtzl+gNkDPKoFqCY649TpumdYu/2Gn2\n\t6+vj5YmHvXYrOq4kHW7D1p9vpU6PjDKf5hPG6MAyBFL06GI3xfcySanjlLC7HjzpWIHS\n\tKoRXzeUyYfCszXogqhieIfvPoxunArBlbxDmSshD+PZuLj7M4Iw5IClXOfHWLd/Vj4b7\n\tGxbQ==",
        "X-Gm-Message-State": "AHYfb5h7EkQE5LtJRDTSoPaUERbjtGaAyRvtjoXOHWtkfPfeZ/aNoInS\n\tMHhpzM+h3wynDw==",
        "X-Received": "by 10.223.186.1 with SMTP id o1mr1303472wrg.236.1504053252798;\n\tTue, 29 Aug 2017 17:34:12 -0700 (PDT)",
        "From": "Philipp Rossak <embed3d@gmail.com>",
        "X-Google-Original-From": "Philipp Rossak < embed3d@gmail.com >",
        "To": "albert.u.boot@aribaud.net, mylene.josserand@free-electrons.com,\n\tjagan@amarulasolutions.com",
        "Date": "Wed, 30 Aug 2017 02:32:39 +0200",
        "Message-Id": "<1504053161-27814-3-git-send-email-embed3d@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1504053161-27814-1-git-send-email-embed3d@gmail.com>",
        "References": "<1504053161-27814-1-git-send-email-embed3d@gmail.com>",
        "Cc": "u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 2/4] sunxi: defconfig: enable sun8i emac on nanopi\n\tm1 plus",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "From: Philipp Rossak <embed3d@gmail.com>\n\nThe sun8i emac hardware is present on the Nanopi M1.\nIt uses an external PHY. Pin PD6 is used to enable\nthe external PHY.\n\nSigned-off-by: Philipp Rossak <embed3d@gmail.com>\n---\n configs/nanopi_m1_plus_defconfig | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/configs/nanopi_m1_plus_defconfig b/configs/nanopi_m1_plus_defconfig\nindex d7a908d..e696ce3 100644\n--- a/configs/nanopi_m1_plus_defconfig\n+++ b/configs/nanopi_m1_plus_defconfig\n@@ -4,6 +4,7 @@ CONFIG_MACH_SUN8I_H3=y\n CONFIG_DRAM_CLK=408\n CONFIG_DRAM_ZQ=3881979\n CONFIG_DRAM_ODT_EN=y\n+CONFIG_MACPWR=\"PD6\"\n CONFIG_MMC0_CD_PIN=\"PH13\"\n CONFIG_MMC_SUNXI_SLOT_EXTRA=2\n CONFIG_DEFAULT_DEVICE_TREE=\"sun8i-h3-nanopi-m1-plus\"\n@@ -16,3 +17,4 @@ CONFIG_SPL=y\n # CONFIG_SPL_ISO_PARTITION is not set\n # CONFIG_SPL_EFI_PARTITION is not set\n CONFIG_USB_EHCI_HCD=y\n+CONFIG_SUN8I_EMAC=y\n",
    "prefixes": [
        "U-Boot",
        "2/4"
    ]
}