get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1000443,
    "url": "http://patchwork.ozlabs.org/api/patches/1000443/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20181120085526.35281-2-wen.he_1@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": "<20181120085526.35281-2-wen.he_1@nxp.com>",
    "list_archive_url": null,
    "date": "2018-11-20T08:55:26",
    "name": "[U-Boot,2/2] armv8: ls1043aqds: modify the qspi_bootcmd definition",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "dce45d41dd77394e0781193467d02b12870bf8cc",
    "submitter": {
        "id": 73065,
        "url": "http://patchwork.ozlabs.org/api/people/73065/?format=api",
        "name": "Wen He",
        "email": "wen.he_1@nxp.com"
    },
    "delegate": {
        "id": 2666,
        "url": "http://patchwork.ozlabs.org/api/users/2666/?format=api",
        "username": "yorksun",
        "first_name": "York",
        "last_name": "Sun",
        "email": "yorksun@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20181120085526.35281-2-wen.he_1@nxp.com/mbox/",
    "series": [
        {
            "id": 76973,
            "url": "http://patchwork.ozlabs.org/api/series/76973/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=76973",
            "date": "2018-11-20T08:55:25",
            "name": "[U-Boot,1/2] armv8: ls1043ardb: Add the nand_bootcmd definition",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/76973/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1000443/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1000443/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 42zlT76ZShz9s3l\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 20 Nov 2018 23:32:11 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 4D996C22051; Tue, 20 Nov 2018 12:28:12 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 72F59C220B8;\n\tTue, 20 Nov 2018 12:19:56 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 53CA1C21FCB; Tue, 20 Nov 2018 08:55:30 +0000 (UTC)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby lists.denx.de (Postfix) with ESMTPS id 19985C21EDE\n\tfor <u-boot@lists.denx.de>; Tue, 20 Nov 2018 08:55:30 +0000 (UTC)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id DAEF4200042;\n\tTue, 20 Nov 2018 09:55:29 +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 D0FCB20006F;\n\tTue, 20 Nov 2018 09:55:26 +0100 (CET)",
            "from mega.ap.freescale.net (mega.ap.freescale.net [10.192.208.232])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B1451402D2;\n\tTue, 20 Nov 2018 16:55:22 +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": "Wen He <wen.he_1@nxp.com>",
        "To": "u-boot@lists.denx.de,\n\tyork.sun@nxp.com",
        "Date": "Tue, 20 Nov 2018 16:55:26 +0800",
        "Message-Id": "<20181120085526.35281-2-wen.he_1@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20181120085526.35281-1-wen.he_1@nxp.com>",
        "References": "<20181120085526.35281-1-wen.he_1@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "X-Mailman-Approved-At": "Tue, 20 Nov 2018 12:19:39 +0000",
        "Cc": "alison.wang@nxp.com, Wen He <wen.he_1@nxp.com>",
        "Subject": "[U-Boot] [PATCH 2/2] armv8: ls1043aqds: modify the qspi_bootcmd\n\tdefinition",
        "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": "Fix the kernel offset of qspi_bootcmd scripts, followed\nthe qoriq_memory_layout definition.\n\nSigned-off-by: Wen He <wen.he_1@nxp.com>\n---\n include/configs/ls1043a_common.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h\nindex 795e904..7b2f31c 100644\n--- a/include/configs/ls1043a_common.h\n+++ b/include/configs/ls1043a_common.h\n@@ -302,8 +302,8 @@\n \t\t\"source ${scriptaddr}\\0\"\t\t\t\\\n \t\"qspi_bootcmd=echo Trying load from qspi..;\"\t\\\n \t\t\"sf probe && sf read $load_addr \"\t\\\n-\t\t\"$kernel_addr $kernel_size; env exists secureboot \"\t\\\n-\t\t\"&& sf read $kernelheader_addr_r $kernelheader_addr \"\t\\\n+\t\t\"$kernel_start $kernel_size; env exists secureboot \"\t\\\n+\t\t\"&& sf read $kernelheader_addr_r $kernelheader_start \"\t\\\n \t\t\"$kernelheader_size && esbc_validate ${kernelheader_addr_r}; \" \\\n \t\t\"bootm $load_addr#$board\\0\"\t\\\n \t\"nor_bootcmd=echo Trying load from nor..;\"\t\\\n",
    "prefixes": [
        "U-Boot",
        "2/2"
    ]
}