get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812142,
    "url": "http://patchwork.ozlabs.org/api/patches/812142/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170910132236.14318-10-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": "<20170910132236.14318-10-robdclark@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-10T13:22:30",
    "name": "[U-Boot,v1,09/12] dm: video: Fix cache flushes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "de67297aecc1b89d7093a15883d72f2218100821",
    "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/20170910132236.14318-10-robdclark@gmail.com/mbox/",
    "series": [
        {
            "id": 2401,
            "url": "http://patchwork.ozlabs.org/api/series/2401/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2401",
            "date": "2017-09-10T13:22:21",
            "name": "efi_loader+video: support for Shell.efi",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2401/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812142/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812142/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=\"ZK3zZgRd\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xqsKj0F2Qz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 10 Sep 2017 23:27:04 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 9FA3FC21EDB; Sun, 10 Sep 2017 13:26:00 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 4A1D3C21F3A;\n\tSun, 10 Sep 2017 13:24:03 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B8973C21E40; Sun, 10 Sep 2017 13:23:23 +0000 (UTC)",
            "from mail-qk0-f193.google.com (mail-qk0-f193.google.com\n\t[209.85.220.193])\n\tby lists.denx.de (Postfix) with ESMTPS id 27CE9C21F21\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 13:23:14 +0000 (UTC)",
            "by mail-qk0-f193.google.com with SMTP id c69so4063059qke.5\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 06:23:14 -0700 (PDT)",
            "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\tt65sm4364713qke.12.2017.09.10.06.23.11\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 10 Sep 2017 06:23:11 -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=r/bhCAJ8JDz2goG1KgDPPLDzuaAvPHuu7Eu9hHjwt5s=;\n\tb=ZK3zZgRdSWApwWwmtBcSllIWDRu52MlF2zb2qgNeASIwRliuAP9jH8d26kMqQSZuf5\n\ttM5HphvJKaKNGpk/zoZ6CkFadgnbOIOSOROewa4KrH4orLYu76kA1mcHKItXzvSfX8JJ\n\thHiBwIuv7I3lr8DvsjQBgJkAMKyVYjELtzeXdFnkq8YynqWm/5EFjzyvD6FAWiI3XCL3\n\tMxTWXg00OgQ4V2l1IMyw8nOCui0qYEpTYgXInk5WFBIvh5VoXazG2l1TKZOroHP+RfSu\n\tROL6Ld87pVKIOoLM/6jxt6UbTSsIa6i/5XbkJsH+KnCISitJVjAtirL1IGNe1ZkDkyUQ\n\tlo7g==",
        "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=r/bhCAJ8JDz2goG1KgDPPLDzuaAvPHuu7Eu9hHjwt5s=;\n\tb=Fi4GvjLgsrkcGHopnUtmuYTj8InYaDCP5efoZt6tytBstSRsy5cM6s2scqbnAxovti\n\t1/EY2z8oBBiWY4SiP1djA+IsESVRpj+6q6XJ7slYt0swaLjRfLdqeuYaunrsRhHFkmDG\n\ts1634jrFSidkvflyQNeCFd2yUw7VWTSKMNpHZw0Efu7tjWL1qVYNSmWBk72+9nhPAXSj\n\tuVxqAncXpVZ7RNevEBUnf3lhgM30TZnbbb7H4CtpCDfKGwsAW+oHi/9hZ3MScj/v3a08\n\tsX+FS2V4bWZwOlQsCPQ2zP9uo/TZyzorUQDDY8ttOvxGpo3Df+EOOGnG3UXg4INBGdH/\n\tDuXw==",
        "X-Gm-Message-State": "AHPjjUhjm63HnwhM/dZWQDoz9MGStb0Hvyyv/OClPUPR4IBXwuAERgwf\n\tuPQzCVlfjhaClr+jTBI=",
        "X-Google-Smtp-Source": "AOwi7QDUPHtuSn9YDvudAvlM2jV0P1h7tRmPat/mAFFyBvcsWTtS//48x+MWJ9fMRLFIs7z//eLIvw==",
        "X-Received": "by 10.55.18.137 with SMTP id 9mr11763126qks.208.1505049792505;\n\tSun, 10 Sep 2017 06:23:12 -0700 (PDT)",
        "From": "Rob Clark <robdclark@gmail.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Sun, 10 Sep 2017 09:22:30 -0400",
        "Message-Id": "<20170910132236.14318-10-robdclark@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170910132236.14318-1-robdclark@gmail.com>",
        "References": "<20170910132236.14318-1-robdclark@gmail.com>",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>,\n\tLeif Lindholm <leif.lindholm@linaro.org>",
        "Subject": "[U-Boot] [PATCH v1 09/12] dm: video: Fix cache flushes",
        "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": "Content can come to screen via putc() and we cannot always rely on\nupdates ending with a puts().  This is the case with efi_console output\nto vidconsole.  Fixes corruption with Shell.efi.\n\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n drivers/video/vidconsole-uclass.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c\nindex b5afd72227..e081d5a0ee 100644\n--- a/drivers/video/vidconsole-uclass.c\n+++ b/drivers/video/vidconsole-uclass.c\n@@ -163,6 +163,7 @@ static void vidconsole_putc(struct stdio_dev *sdev, const char ch)\n \tstruct udevice *dev = sdev->priv;\n \n \tvidconsole_put_char(dev, ch);\n+\tvideo_sync(dev->parent);\n }\n \n static void vidconsole_puts(struct stdio_dev *sdev, const char *s)\n@@ -260,6 +261,8 @@ static int do_video_puts(cmd_tbl_t *cmdtp, int flag, int argc,\n \tfor (s = argv[1]; *s; s++)\n \t\tvidconsole_put_char(dev, *s);\n \n+\tvideo_sync(dev->parent);\n+\n \treturn 0;\n }\n \n",
    "prefixes": [
        "U-Boot",
        "v1",
        "09/12"
    ]
}