get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806165,
    "url": "http://patchwork.ozlabs.org/api/patches/806165/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170826225110.7381-3-xypron.glpk@gmx.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": "<20170826225110.7381-3-xypron.glpk@gmx.de>",
    "list_archive_url": null,
    "date": "2017-08-26T22:51:03",
    "name": "[U-Boot,02/23] efi_loader: notify when ExitBootServices is invoked",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b6ebe1a4ce1d5152fd2a3770ff78a156a29fc98a",
    "submitter": {
        "id": 61270,
        "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "xypron.glpk@gmx.de"
    },
    "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/20170826225110.7381-3-xypron.glpk@gmx.de/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/806165/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806165/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 3xftdz1Sq6z9s78\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 27 Aug 2017 08:55:03 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid DE379C22139; Sat, 26 Aug 2017 22:52:41 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B9FB7C221BA;\n\tSat, 26 Aug 2017 22:52:10 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 6AFD1C22186; Sat, 26 Aug 2017 22:52:06 +0000 (UTC)",
            "from mout.gmx.net (mout.gmx.net [212.227.17.21])\n\tby lists.denx.de (Postfix) with ESMTPS id 6B4F1C220F4\n\tfor <u-boot@lists.denx.de>; Sat, 26 Aug 2017 22:52:06 +0000 (UTC)",
            "from localhost.localdomain ([84.118.154.110]) by mail.gmx.com\n\t(mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id\n\t0MCOdh-1dcd6R1au9-009CZ5; Sun, 27 Aug 2017 00:51:22 +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, RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "To": "Alexander Graf <agraf@suse.de>",
        "Date": "Sun, 27 Aug 2017 00:51:03 +0200",
        "Message-Id": "<20170826225110.7381-3-xypron.glpk@gmx.de>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170826225110.7381-1-xypron.glpk@gmx.de>",
        "References": "<20170826225110.7381-1-xypron.glpk@gmx.de>",
        "X-Provags-ID": "V03:K0:3+V7+5nd3vCFuvYijy0CO9A5S01ygS/Ls/6WLeEQwyKxqop0qZU\n\t4b6hxj0kFTOp0VkWIFgmpUdMG20s+iQLPLkUimYm/PgLmbP66lyV2LaI4tO3rL7YnSGoaWu\n\tTbzemivFqHCUysTtN0+tuw3Woig4JWO0tj/6Gzi3N3WoDjk09fVd1mVFf+AJ2rzmbHUuPtc\n\tf79Lli+Br+pIGrgLQ0+YA==",
        "X-UI-Out-Filterresults": "notjunk:1; V01:K0:7hMctQ4zUok=:2Kbh33kpyxVePrMI3NE16R\n\tS6HJ1TeqpPSHPuEK+3oEj4GEpbhDOai4/WXN+KKT95hJWEpVHmznJfnduUp3Ih8NtCljjgD1b\n\tCpQPsvnd2FimRtfobDIvYKtCa4BeuI56lULYFtYRJbkdcinG2aWy2TQawpoueiabvIbqmQv/z\n\tWT46Oq5/hX5EY9u+sjJkGvNlKSjTa02LWZmnaKwQSpYd4n/7xCDcxP4fX6mBxKckIhuktql8m\n\t375hMuAoVrYD7z9w2Zu4FZDNE9LdyAUl52RIlLsFxEMbvXJv3PMaqO2Ya0SYqvhcg71F+sR1G\n\tf/dzqRsWJBIGANYjKgD0m2UBScWtH2TfyTJa3QQarF8iFEUgaj1YKtD83N7jBWY1UkYTu9LXy\n\tLJNg8kXPmoFK9RZCNqCWYr8EQbo8o/XHOQ70Sq5D/9CgvRBKGRphseOAl8Bj6lWl48l2qAYDj\n\tsWLvxZKwOGMtuo6iBins4XLMZT6ObdpHWiE7agpuQGLCt7eY12Vxc8OV2wxTPUpTAuargN6i+\n\tvuAr4dDIaxKuzhcWTU2rdu+P91jZoTrJuw/hYVxz6biPBMou9oCUAZZt9xUuEd6gQD+w051pB\n\tqeZQDU9Vo+eRKQZcR4I1A48yzxhJPxbCgC24OI7CTse3y0RG/brcn3hFIT+JpVQX2fmeU3EUw\n\tTRsBZOT1Dw1/j5I7qSCcMvsguvrT5uToi9Ud/40Mh56/DLLFWnNLpxEKD7C7PgbLIf9bJ+7av\n\tj/xCpD9H1obxCpQX/kGSkHbpdJ50olh7ktqrJ0GD7mVJN3uSMYXjI+re6wa+TRTqcH4RBPqku\n\tpFQ0utGdMS81TkT+BacmdomqfvWLw==",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 02/23] efi_loader: notify when ExitBootServices is\n\tinvoked",
        "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": "All events of type EVT_SIGNAL_EXIT_BOOT_SERVICES have to be\nnotified when ExitBootServices is invoked.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n lib/efi_loader/efi_boottime.c | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c\nindex ab26e2989b..b5538e0769 100644\n--- a/lib/efi_loader/efi_boottime.c\n+++ b/lib/efi_loader/efi_boottime.c\n@@ -843,8 +843,17 @@ static void efi_exit_caches(void)\n static efi_status_t EFIAPI efi_exit_boot_services(void *image_handle,\n \t\t\t\t\t\t  unsigned long map_key)\n {\n+\tint i;\n+\n \tEFI_ENTRY(\"%p, %ld\", image_handle, map_key);\n \n+\t/* Notify that ExitBootServices is invoked. */\n+\tfor (i = 0; i < ARRAY_SIZE(efi_events); ++i) {\n+\t\tif (efi_events[i].type != EVT_SIGNAL_EXIT_BOOT_SERVICES)\n+\t\t\tcontinue;\n+\t\tefi_signal_event(&efi_events[i]);\n+\t}\n+\n \tboard_quiesce_devices();\n \n \t/* Fix up caches for EFI payloads if necessary */\n",
    "prefixes": [
        "U-Boot",
        "02/23"
    ]
}