get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812667,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/812667/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170912014031.31651-1-xypron.glpk@gmx.de/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170912014031.31651-1-xypron.glpk@gmx.de>",
    "list_archive_url": null,
    "date": "2017-09-12T01:40:31",
    "name": "[U-Boot,1/1] x86: ivybridge: remove unused variables",
    "commit_ref": "8a1c44271c55961fb70fb6177f9c02fdb05287c5",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cbb46fdbdf9873d2a33c5c50d89f61fb1a4c4522",
    "submitter": {
        "id": 61270,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/61270/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "xypron.glpk@gmx.de"
    },
    "delegate": {
        "id": 56520,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/56520/?format=api",
        "username": "bmeng",
        "first_name": "Bin",
        "last_name": "Meng",
        "email": "bmeng.cn@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170912014031.31651-1-xypron.glpk@gmx.de/mbox/",
    "series": [
        {
            "id": 2601,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/2601/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2601",
            "date": "2017-09-12T01:40:31",
            "name": "[U-Boot,1/1] x86: ivybridge: remove unused variables",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2601/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812667/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812667/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>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xrnZ32JPgz9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 11:40:57 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 67F98C21F65; Tue, 12 Sep 2017 01:40:49 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 72E1DC21D76;\n\tTue, 12 Sep 2017 01:40:47 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 76391C21D76; Tue, 12 Sep 2017 01:40:46 +0000 (UTC)",
            "from mout.gmx.net (mout.gmx.net [212.227.15.18])\n\tby lists.denx.de (Postfix) with ESMTPS id 30AB6C21D57\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 01:40:46 +0000 (UTC)",
            "from laptop1.fritz.box ([92.40.249.47]) by mail.gmx.com (mrgmx001\n\t[212.227.17.184]) with ESMTPSA (Nemesis) id\n\t0M2t0Q-1dYXjm2UI2-00sgXd; Tue, 12 Sep 2017 03:40:45 +0200"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "To": "Simon Glass <sjg@chromium.org>,\n\tBin Meng <bmeng.cn@gmail.com>",
        "Date": "Tue, 12 Sep 2017 03:40:31 +0200",
        "Message-Id": "<20170912014031.31651-1-xypron.glpk@gmx.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "X-Provags-ID": "V03:K0:9K0/kbW8sPepiRW5FAJGdJvlVnB+AAKy5X5QV/oWUqpSheRJMeG\n\tkCjpGKOK34Tf32UrPVkr97FXEk+npoQcqWWZX9RmvdngpN7Qip01Un+klE0sF/XU10KLw+i\n\tstKlJbLYnGVx8LJ5v3l3Z4GNS0t21kT98jqklrMUNhb/qXq0y0/o8n+5sTSrZuFlpIQIpX8\n\tHQokLcJz0B8r/fV0jzAqA==",
        "X-UI-Out-Filterresults": "notjunk:1; V01:K0:l0Mfcui+KdQ=:E/cJPQJ0sbTJsDURN5T2bc\n\tUIJdf2+pfGyLd6FO24fzGec1ossiUe2gwzc6074M6ASGrmnWz0cq4tH/EsvoYbRV+RAEHjPPT\n\t3qNSm/CD4rJd9R4I6tDsvXZYfW2oezB9uUYH6c77aj86KNY1NGi+HSlkWwzaQP5WJdS3cjYWs\n\trCPluB3yq+SBuXT0LoxLVUc5U3XUsYqdqs61BILQUzLmKfWaG7hMqukh3bpVEF+pV2ajI3g8i\n\tAO5eyGh+XCs7irS6MAtfJSpeysal8ABpmYE09k0dlUO+NxwTHCHwtifY5nOCYT561flvDn+Dc\n\t6wdFi1FU+Xzz6Nh+X3VcFKzwzwjtx3xtVU2kYJqphj3JkwXJ53HNQQtPg9IRbdqpdAnE4BHBn\n\tl75JIHfd4go7Cp2J3AEOVIlyStlQ1aP5gztbL4iegOQrCM6NvTaQ3Sjo/Y2vgc59g62Fno08M\n\tYUrI6K90G8cAsKpFeZSV1WOEcWmcd0mjrLRp8RGm0BdR1rhuAG+ueBZ6r/X1lGYLtRymNMBpS\n\tPJ0LMTKd2E6UctubDbWr05a1kGB4rxjKwPqQFYboV1gYTMM6gSg+K20ABiCpuRTOkOqNBqrPh\n\tFAXQygEdwQDoebeOEpGajhegQ4GiCTPHYX+0B3kY77oOdQImxnGRWEdcZUbwyUtHmdJt4WBZe\n\t96km5QyiqoukTMoQUPFYdlETUSMj3LcxGCmSdUr+/AT8ocn3A81HbNQ4nDisAj/NCElkEzLJ1\n\t44CW62WUQjh/sXTyoUAKIjMbHlzLxGy/GfsH5VKi1UwWzAWmkN79T/bKF5AwXdwE5ihAygHiP\n\tPXxuI0hIlCgrzhpL5iUTJW1bG+nCQ==",
        "Cc": "u-boot@lists.denx.de, Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "Subject": "[U-Boot] [PATCH 1/1] x86: ivybridge: remove unused variables",
        "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": "legacy_hole_base_k and legacy_hole_size_k are defined but\nnot used.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n arch/x86/cpu/ivybridge/northbridge.c | 10 ----------\n 1 file changed, 10 deletions(-)",
    "diff": "diff --git a/arch/x86/cpu/ivybridge/northbridge.c b/arch/x86/cpu/ivybridge/northbridge.c\nindex 94f31c40be..442942956b 100644\n--- a/arch/x86/cpu/ivybridge/northbridge.c\n+++ b/arch/x86/cpu/ivybridge/northbridge.c\n@@ -34,16 +34,6 @@ int bridge_silicon_revision(struct udevice *dev)\n \treturn bridge_id | stepping;\n }\n \n-/*\n- * Reserve everything between A segment and 1MB:\n- *\n- * 0xa0000 - 0xbffff: legacy VGA\n- * 0xc0000 - 0xcffff: VGA OPROM (needed by kernel)\n- * 0xe0000 - 0xfffff: SeaBIOS, if used, otherwise DMI\n- */\n-static const int legacy_hole_base_k = 0xa0000 / 1024;\n-static const int legacy_hole_size_k = 384;\n-\n static int get_pcie_bar(struct udevice *dev, u32 *base, u32 *len)\n {\n \tu32 pciexbar_reg;\n",
    "prefixes": [
        "U-Boot",
        "1/1"
    ]
}