get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812096,
    "url": "http://patchwork.ozlabs.org/api/patches/812096/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170910112149.21358-3-robdclark@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": "<20170910112149.21358-3-robdclark@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-10T11:21:19",
    "name": "[U-Boot,v2,01/21] part: move efi_guid_t",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "a0321cd427f56d60083d1d60874cdbe9a3df81b8",
    "submitter": {
        "id": 18760,
        "url": "http://patchwork.ozlabs.org/api/people/18760/?format=api",
        "name": "Rob Clark",
        "email": "robdclark@gmail.com"
    },
    "delegate": {
        "id": 3400,
        "url": "http://patchwork.ozlabs.org/api/users/3400/?format=api",
        "username": "agraf",
        "first_name": "Alexander",
        "last_name": "Graf",
        "email": "agraf@suse.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170910112149.21358-3-robdclark@gmail.com/mbox/",
    "series": [
        {
            "id": 2383,
            "url": "http://patchwork.ozlabs.org/api/series/2383/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2383",
            "date": "2017-09-10T11:21:17",
            "name": "efi_loader: enough UEFI for standard distro boot",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/2383/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812096/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812096/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=\"OxtH22QM\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xqpZm5sDFz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 10 Sep 2017 21:23:11 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 4FE3AC21E55; Sun, 10 Sep 2017 11:22:22 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 4C9A9C21E97;\n\tSun, 10 Sep 2017 11:22:20 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D42F1C21DBD; Sun, 10 Sep 2017 11:22:12 +0000 (UTC)",
            "from mail-qt0-f195.google.com (mail-qt0-f195.google.com\n\t[209.85.216.195])\n\tby lists.denx.de (Postfix) with ESMTPS id C7CF3C21C39\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 11:22:08 +0000 (UTC)",
            "by mail-qt0-f195.google.com with SMTP id k2so4079721qte.5\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 04:22:08 -0700 (PDT)",
            "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\tc7sm471997qtg.30.2017.09.10.04.22.06\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 10 Sep 2017 04:22:06 -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_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_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=C8brqXExN7NxaVnn/oz5yvzer5LRFsZ1dCKpKCuxfPE=;\n\tb=OxtH22QMXFmmnsCUMjTO1s3UFqnde641ZYCx+TEKbCbNNHuNofzZvuVWIss/JGf2MZ\n\tHj5cN3Rqn6WYQ9uvXx7PooF+GBsablV5sWCy1vJg94jBUU5JMqJhtQqOrabDwHZug/w3\n\tMCOYSiPxchs1gz5/SfsTpoDdiXsuGgJOlp38n3HNYJ8tQGx7W3IXX2ed0lfcujtG7h8G\n\tWb5jJPYvhQ7iSdQ093MppHKBdUUl8/1iAWO5VEMp6+xfWydX7hmqHFLYXl88tFZQBnxn\n\tz/O+fBRETEwnsO3aKHPbzT5HevPQh7hpfaxAy/0oki9Op9T2Bb1q832iQQYgg7r1PV/a\n\tsYPw==",
        "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=C8brqXExN7NxaVnn/oz5yvzer5LRFsZ1dCKpKCuxfPE=;\n\tb=Dem4YyrKzCA6ABV1t2R2ZXcC9wnfCpKJ1G3WEXkmZfQtl2jJUUjC3818MQRJENn2F6\n\tABtjgFaNq8eVmh/AdyJ9TfCu0jjA8RML1Dk3FFXzN9y793znzmWZ+ykcHftiU9UU+/AM\n\t87oUX2rAU2pRQ+yjngIGExDsDbCckeJTruZnI3mFsyEWfDU+/52oTPQa2B8s1qsImTtn\n\tThFaZ7KcEhHnzdX2bUR8VgpRQICAjIAvvBZXJFebf5LzRAnZxBMuVx531x8IM2hT8+8B\n\tksY4rZEM63nB2ZD2BVTj1uicVL6vXcayyUk0oOSsc6uDSg7R2AzC/w8sgjqXMRbtSQ+B\n\twQEA==",
        "X-Gm-Message-State": "AHPjjUi4ZyFRMIL2m8B3xq4+r9sYwydOjHJ0A8IQXkUXLbTuhMY0bgjT\n\tkGwRLboUtAdxYc3eT+o=",
        "X-Google-Smtp-Source": "AOwi7QAMofl65zLW7N1QwwA82gBkLgH+L420pzjDodxjErsr/WWq59kaAwTOapJSyF9AoiikwNTwHg==",
        "X-Received": "by 10.200.8.225 with SMTP id y30mr11565952qth.239.1505042527390; \n\tSun, 10 Sep 2017 04:22:07 -0700 (PDT)",
        "From": "Rob Clark <robdclark@gmail.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Sun, 10 Sep 2017 07:21:19 -0400",
        "Message-Id": "<20170910112149.21358-3-robdclark@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170910112149.21358-1-robdclark@gmail.com>",
        "References": "<20170910112149.21358-1-robdclark@gmail.com>",
        "Cc": "Petr Kulhavy <brain@jikos.cz>, Heinrich Schuchardt <xypron.glpk@gmx.de>, \n\tAlison Chaiken <alison@peloton-tech.com>,\n\tSteve Rae <steve.rae@raedomain.com>, \n\tMaxime Ripard <maxime.ripard@free-electrons.com>",
        "Subject": "[U-Boot] [PATCH v2 01/21] part: move efi_guid_t",
        "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": "Prep work for next patch.\n\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n include/efi.h      | 4 ++++\n include/part.h     | 3 ++-\n include/part_efi.h | 4 ----\n 3 files changed, 6 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/include/efi.h b/include/efi.h\nindex 02b78b31b1..87b0b43f20 100644\n--- a/include/efi.h\n+++ b/include/efi.h\n@@ -28,6 +28,10 @@\n \n struct efi_device_path;\n \n+typedef struct {\n+\tu8 b[16];\n+} efi_guid_t;\n+\n #define EFI_BITS_PER_LONG\tBITS_PER_LONG\n \n /*\ndiff --git a/include/part.h b/include/part.h\nindex 86117a7ce5..b2e820ef8a 100644\n--- a/include/part.h\n+++ b/include/part.h\n@@ -280,8 +280,9 @@ struct part_driver {\n #define U_BOOT_PART_TYPE(__name)\t\t\t\t\t\\\n \tll_entry_declare(struct part_driver, __name, part_driver)\n \n-#if CONFIG_IS_ENABLED(EFI_PARTITION)\n #include <part_efi.h>\n+\n+#if CONFIG_IS_ENABLED(EFI_PARTITION)\n /* disk/part_efi.c */\n /**\n  * write_gpt_table() - Write the GUID Partition Table to disk\ndiff --git a/include/part_efi.h b/include/part_efi.h\nindex 317c044795..31e6bc6e14 100644\n--- a/include/part_efi.h\n+++ b/include/part_efi.h\n@@ -58,10 +58,6 @@\n /* linux/include/efi.h */\n typedef u16 efi_char16_t;\n \n-typedef struct {\n-\tu8 b[16];\n-} efi_guid_t;\n-\n /* based on linux/include/genhd.h */\n struct partition {\n \tu8 boot_ind;\t\t/* 0x80 - active */\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "01/21"
    ]
}