get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1044625,
    "url": "http://patchwork.ozlabs.org/api/patches/1044625/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190219064404.9813-1-yunfeng.ding@nxp.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": "<20190219064404.9813-1-yunfeng.ding@nxp.com>",
    "list_archive_url": null,
    "date": "2019-02-19T06:44:04",
    "name": "[U-Boot] board/freescale: Enable DHCP distro boot for Layerscape board",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "bb0ec6198ea25730c0f5fcd3bff1cc9e2ad3abd6",
    "submitter": {
        "id": 75972,
        "url": "http://patchwork.ozlabs.org/api/people/75972/?format=api",
        "name": "Yunfeng Ding",
        "email": "yunfeng.ding@nxp.com"
    },
    "delegate": {
        "id": 2467,
        "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api",
        "username": "prabhu_kush",
        "first_name": "Prabhakar",
        "last_name": "Kushwaha",
        "email": "prabhakar@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190219064404.9813-1-yunfeng.ding@nxp.com/mbox/",
    "series": [
        {
            "id": 92877,
            "url": "http://patchwork.ozlabs.org/api/series/92877/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=92877",
            "date": "2019-02-19T06:44:04",
            "name": "[U-Boot] board/freescale: Enable DHCP distro boot for Layerscape board",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/92877/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1044625/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1044625/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\tdmarc=fail (p=none dis=none) header.from=nxp.com"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 443dsF1QNBz9s3l\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Feb 2019 22:33:21 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid CF593C21DF3; Tue, 19 Feb 2019 11:33:16 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0104BC21DB6;\n\tTue, 19 Feb 2019 11:33:14 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E34CBC21E0B; Tue, 19 Feb 2019 06:42:44 +0000 (UTC)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby lists.denx.de (Postfix) with ESMTPS id E50D0C21D9A\n\tfor <u-boot@lists.denx.de>; Tue, 19 Feb 2019 06:42:43 +0000 (UTC)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 23C5E20005A;\n\tTue, 19 Feb 2019 07:42:43 +0100 (CET)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4C80E200014;\n\tTue, 19 Feb 2019 07:42:41 +0100 (CET)",
            "from localhost.localdomain (mega.ap.freescale.net [10.192.208.232])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id A2F4C402C9;\n\tTue, 19 Feb 2019 14:42:38 +0800 (SGT)"
        ],
        "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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "From": "Yunfeng Ding <yunfeng.ding@nxp.com>",
        "To": "prabhakar.kushwaha@nxp.com,\n\tu-boot@lists.denx.de",
        "Date": "Tue, 19 Feb 2019 14:44:04 +0800",
        "Message-Id": "<20190219064404.9813-1-yunfeng.ding@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "X-Mailman-Approved-At": "Tue, 19 Feb 2019 11:33:12 +0000",
        "Cc": "Yunfeng Ding <yunfeng.ding@nxp.com>",
        "Subject": "[U-Boot] [PATCH] board/freescale: Enable DHCP distro boot for\n\tLayerscape board",
        "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": "Enable DHCP distro boot for Layerscape\n\nSigned-off-by: Yunfeng Ding <yunfeng.ding@nxp.com>\n\n---\n include/configs/ls1012a_common.h | 5 +++--\n include/configs/ls1021atwr.h     | 3 ++-\n include/configs/ls1043a_common.h | 3 ++-\n include/configs/ls1046a_common.h | 3 ++-\n include/configs/ls1088ardb.h     | 3 ++-\n include/configs/ls2080ardb.h     | 3 ++-\n 6 files changed, 13 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h\nindex 324dba2b7e..d6e0e0614f 100644\n--- a/include/configs/ls1012a_common.h\n+++ b/include/configs/ls1012a_common.h\n@@ -96,9 +96,10 @@\n \n #ifndef CONFIG_SPL_BUILD\n #define BOOT_TARGET_DEVICES(func) \\\n-\tfunc(SCSI, scsi, 0) \\\n \tfunc(MMC, mmc, 0) \\\n-\tfunc(USB, usb, 0)\n+\tfunc(USB, usb, 0) \\\n+\tfunc(SCSI, scsi, 0) \\\n+\tfunc(DHCP, dhcp, na)\n #include <config_distro_bootcmd.h>\n #endif\n \ndiff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h\nindex 2c91ae783b..4b6760b600 100644\n--- a/include/configs/ls1021atwr.h\n+++ b/include/configs/ls1021atwr.h\n@@ -315,7 +315,8 @@\n \n #define BOOT_TARGET_DEVICES(func) \\\n \tfunc(MMC, mmc, 0) \\\n-\tfunc(USB, usb, 0)\n+\tfunc(USB, usb, 0) \\\n+\tfunc(DHCP, dhcp, na)\n #include <config_distro_bootcmd.h>\n \n #ifdef CONFIG_LPUART\ndiff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h\nindex 49b014181e..27bbfb4c95 100644\n--- a/include/configs/ls1043a_common.h\n+++ b/include/configs/ls1043a_common.h\n@@ -239,7 +239,8 @@\n #ifndef CONFIG_SPL_BUILD\n #define BOOT_TARGET_DEVICES(func) \\\n \tfunc(MMC, mmc, 0) \\\n-\tfunc(USB, usb, 0)\n+\tfunc(USB, usb, 0) \\\n+\tfunc(DHCP, dhcp, na)\n #include <config_distro_bootcmd.h>\n #endif\n \ndiff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h\nindex 6e36c9339b..eb4c78f549 100644\n--- a/include/configs/ls1046a_common.h\n+++ b/include/configs/ls1046a_common.h\n@@ -213,7 +213,8 @@\n #define BOOT_TARGET_DEVICES(func) \\\n \tfunc(SCSI, scsi, 0) \\\n \tfunc(MMC, mmc, 0) \\\n-\tfunc(USB, usb, 0)\n+\tfunc(USB, usb, 0) \\\n+\tfunc(DHCP, dhcp, na)\n #include <config_distro_bootcmd.h>\n #endif\n \ndiff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h\nindex f52ea4d746..6387b19dd5 100644\n--- a/include/configs/ls1088ardb.h\n+++ b/include/configs/ls1088ardb.h\n@@ -577,7 +577,8 @@\n \n #define BOOT_TARGET_DEVICES(func) \\\n \tfunc(MMC, mmc, 0) \\\n-\tfunc(SCSI, scsi, 0)\n+\tfunc(SCSI, scsi, 0) \\\n+\tfunc(DHCP, dhcp, na)\n #include <config_distro_bootcmd.h>\n #endif\n \ndiff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h\nindex ef0f4ff48e..d3d759533d 100644\n--- a/include/configs/ls2080ardb.h\n+++ b/include/configs/ls2080ardb.h\n@@ -333,7 +333,8 @@ unsigned long get_board_sys_clk(void);\n #define BOOT_TARGET_DEVICES(func) \\\n \tfunc(USB, usb, 0) \\\n \tfunc(MMC, mmc, 0) \\\n-\tfunc(SCSI, scsi, 0)\n+\tfunc(SCSI, scsi, 0) \\\n+\tfunc(DHCP, dhcp, na)\n #include <config_distro_bootcmd.h>\n \n #ifdef CONFIG_TFABOOT\n",
    "prefixes": [
        "U-Boot"
    ]
}