get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1032873,
    "url": "http://patchwork.ozlabs.org/api/patches/1032873/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190129153841.23430-10-ykaukab@suse.de/",
    "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": "<20190129153841.23430-10-ykaukab@suse.de>",
    "list_archive_url": null,
    "date": "2019-01-29T15:38:38",
    "name": "[U-Boot,09/12] nxp: ls1046a: use default scan_dev_for_boot",
    "commit_ref": "d3d86fca22e022016c7fc6a6c8e4cf6bbc25f074",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "38f4f4d2c92d0cfbe4a239260282923b87486078",
    "submitter": {
        "id": 74697,
        "url": "http://patchwork.ozlabs.org/api/people/74697/?format=api",
        "name": "Yousaf Kaukab",
        "email": "ykaukab@suse.de"
    },
    "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/20190129153841.23430-10-ykaukab@suse.de/mbox/",
    "series": [
        {
            "id": 88871,
            "url": "http://patchwork.ozlabs.org/api/series/88871/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=88871",
            "date": "2019-01-29T15:38:29",
            "name": "nxp: fix dhcp and efi boot support for various socs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/88871/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1032873/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1032873/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=none (p=none dis=none) header.from=suse.de"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 43prR52Q69z9sML\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Jan 2019 02:44:49 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 08A0FC21E1D; Tue, 29 Jan 2019 15:41:44 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7317CC21E31;\n\tTue, 29 Jan 2019 15:39:42 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D4DD9C21EA7; Tue, 29 Jan 2019 15:39:36 +0000 (UTC)",
            "from mx1.suse.de (mx2.suse.de [195.135.220.15])\n\tby lists.denx.de (Postfix) with ESMTPS id B46CDC21DFB\n\tfor <u-boot@lists.denx.de>; Tue, 29 Jan 2019 15:39:31 +0000 (UTC)",
            "from relay2.suse.de (unknown [195.135.220.254])\n\tby mx1.suse.de (Postfix) with ESMTP id 86595AFD3;\n\tTue, 29 Jan 2019 15:39:31 +0000 (UTC)"
        ],
        "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",
        "X-Virus-Scanned": "by amavisd-new at test-mx.suse.de",
        "From": "Mian Yousaf Kaukab <ykaukab@suse.de>",
        "To": "u-boot@lists.denx.de",
        "Date": "Tue, 29 Jan 2019 16:38:38 +0100",
        "Message-Id": "<20190129153841.23430-10-ykaukab@suse.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20190129153841.23430-1-ykaukab@suse.de>",
        "References": "<20190129153841.23430-1-ykaukab@suse.de>",
        "Cc": "priyanka.jain@nxp.com",
        "Subject": "[U-Boot] [PATCH 09/12] nxp: ls1046a: use default scan_dev_for_boot",
        "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": "Default environment variable is more complete. Also scans for efi\nbinaries for example.\n\nSigned-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>\n---\n include/configs/ls1046a_common.h | 7 -------\n 1 file changed, 7 deletions(-)",
    "diff": "diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h\nindex eb4c78f549..da1cfc0b88 100644\n--- a/include/configs/ls1046a_common.h\n+++ b/include/configs/ls1046a_common.h\n@@ -260,13 +260,6 @@\n \t\t\t\"run scan_dev_for_boot; \"            \\\n \t\t  \"fi; \"                                   \\\n \t\t\"done\\0\"                                   \\\n-\t\"scan_dev_for_boot=\"\t\t\t\t  \\\n-\t\t\"echo Scanning ${devtype} \"\t\t  \\\n-\t\t\t\t\"${devnum}:${distro_bootpart}...; \"  \\\n-\t\t\"for prefix in ${boot_prefixes}; do \"\t  \\\n-\t\t\t\"run scan_dev_for_scripts; \"\t  \\\n-\t\t\"done;\"\t\t\t\t\t  \\\n-\t\t\"\\0\"\t\t\t\t\t  \\\n \t\"boot_a_script=\"\t\t\t\t  \\\n \t\t\"load ${devtype} ${devnum}:${distro_bootpart} \"  \\\n \t\t\t\"${scriptaddr} ${prefix}${script}; \"    \\\n",
    "prefixes": [
        "U-Boot",
        "09/12"
    ]
}