get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817979,
    "url": "http://patchwork.ozlabs.org/api/patches/817979/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170924195716.3433-16-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": "<20170924195716.3433-16-xypron.glpk@gmx.de>",
    "list_archive_url": null,
    "date": "2017-09-24T19:57:14",
    "name": "[U-Boot,15/17] efi_selftest: correct definition of efi_st_error",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8958bc8afb68a9ac2d00ae89a2a98e9402ba79ac",
    "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/20170924195716.3433-16-xypron.glpk@gmx.de/mbox/",
    "series": [
        {
            "id": 4841,
            "url": "http://patchwork.ozlabs.org/api/series/4841/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=4841",
            "date": "2017-09-24T19:57:03",
            "name": "efi_loader: Simple Network Protocol",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4841/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817979/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817979/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 3y0dXB4rgdz9t3k\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 06:06:34 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 64BE4C2214F; Sun, 24 Sep 2017 20:02:15 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 9E32BC22160;\n\tSun, 24 Sep 2017 19:58:57 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 13FA0C2210A; Sun, 24 Sep 2017 19:58:17 +0000 (UTC)",
            "from mout.gmx.net (mout.gmx.net [212.227.17.22])\n\tby lists.denx.de (Postfix) with ESMTPS id 3C230C220AE\n\tfor <u-boot@lists.denx.de>; Sun, 24 Sep 2017 19:58:14 +0000 (UTC)",
            "from workstation4.fritz.box ([84.118.154.110]) by mail.gmx.com\n\t(mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id\n\t0MgHHO-1dkjvP46kw-00NeJk; Sun, 24 Sep 2017 21:57:34 +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": "Alexander Graf <agraf@suse.de>",
        "Date": "Sun, 24 Sep 2017 21:57:14 +0200",
        "Message-Id": "<20170924195716.3433-16-xypron.glpk@gmx.de>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170924195716.3433-1-xypron.glpk@gmx.de>",
        "References": "<20170924195716.3433-1-xypron.glpk@gmx.de>",
        "X-Provags-ID": "V03:K0:iIFFviBb+z3lOKqKXtdsdllwSj+wDJIVbwBhifRQg53iESuHxjN\n\t3MPIZvO6qwPMV/9hPgSerkLlNUz6WNTcXH6qnUNFR9AG45T0y2eXaQDx6VdQuQarx4tWnEl\n\tIcvSozBcVFwPUrJubizioZh4gyYYP+RYPeiKitrHO5mZTfA/f12VlwKuH+0GyMXmThTa2id\n\tP2YjearHGS23czWVklk6Q==",
        "X-UI-Out-Filterresults": "notjunk:1; V01:K0:X+07ig6L3pM=:lXjDmseWKixwcWOT4IqyPn\n\t1hjRZ2kdKEC9c1/fjwhHh6zwGU57oesw15f1tVWPDebJWjpL085g2A69f1Vlcus/W5RW2yB9u\n\tILHFArFLyNtKUjDS65cpH9KYejdB4vwkKPiFsQ/TyS0uwU7mX5QJRq+5ng2dtOztxMMqk61lZ\n\tzNo1hnpGg/37m1SoJIeaoReLYmYdjUf1AKV2E1w6rdSqnBevyUulxilgMDesK9e3+ayQpLZS6\n\tEE1iS86DtbP6OkTG7PSazQkoAUvNTO8cykwWEt0w1l6Kj4vi9ezGFWiIvlAeDgYPdvMTcd9PA\n\tVazQYLMN5GwiJk8JsV7yTSYVYMUPICzK/ae7kJcxUbmiJoGCkuhUneV1BfvYY1tQwRFEQ29wD\n\tI24TL97Rv8Zj2A590We6gBZ9Stup9ybpSVjBOy+ChmF+QfRrZbZ7WauD1FLx93B390V8rUGWO\n\tB54ktDHZPAiIbwfT/tO4m3ojlXL1aq/6myQdoA6yfsdAfo/iQ7o+EuxdD3QQAM5IalwVzXzN9\n\tuwJCmWU3Lyuk5Ebrr6Pc48cIE1XylMzASIZ76mGFtS668uggenktVTfiwcKGNeTI9jyOD77Im\n\t5DLf8SsHtfbj7lgrnTGSre2EKegSwbe3wzcPIZQ/v3MU+VHgcdGtgzBaz8mUPSAuv4Nu2LeMc\n\tB+xesYkfCqPoIGE5FXCBDI2UNkPWE+cXupWe/7xEA9dHoqXWSLPY55BqtMl24UmaONZKvLGg0\n\tKwbv7zzg3pHoGi1GMjLzygi13Rm/u7JkanWBvNX5at0wCsSGBCVj41OPHphvhcqNXLj/oN7BV\n\tbPyPqdCLbS1FSpZ4qW0bkBN1CheCw==",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 15/17] efi_selftest: correct definition of\n\tefi_st_error",
        "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": "Enclose definition in parantheses to allow using efi_st_error\nlike a void function.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n include/efi_selftest.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/include/efi_selftest.h b/include/efi_selftest.h\nindex 76304a2b2a..7273a0f49a 100644\n--- a/include/efi_selftest.h\n+++ b/include/efi_selftest.h\n@@ -20,8 +20,8 @@\n  * @...\tformat string followed by fields to print\n  */\n #define efi_st_error(...) \\\n-\tefi_st_printf(\"%s(%u):\\nERROR: \", __FILE__, __LINE__); \\\n-\tefi_st_printf(__VA_ARGS__) \\\n+\t(efi_st_printf(\"%s(%u):\\nERROR: \", __FILE__, __LINE__), \\\n+\tefi_st_printf(__VA_ARGS__)) \\\n \n /*\n  * A test may be setup and executed at boottime,\n",
    "prefixes": [
        "U-Boot",
        "15/17"
    ]
}