get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 811160,
    "url": "http://patchwork.ozlabs.org/api/patches/811160/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170907202816.18765-2-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": "<20170907202816.18765-2-robdclark@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-07T20:28:10",
    "name": "[U-Boot] dm: video: Fix cache flushes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "de67297aecc1b89d7093a15883d72f2218100821",
    "submitter": {
        "id": 18760,
        "url": "http://patchwork.ozlabs.org/api/people/18760/?format=api",
        "name": "Rob Clark",
        "email": "robdclark@gmail.com"
    },
    "delegate": {
        "id": 1700,
        "url": "http://patchwork.ozlabs.org/api/users/1700/?format=api",
        "username": "ag",
        "first_name": "Anatolij",
        "last_name": "Gustschin",
        "email": "agust@denx.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170907202816.18765-2-robdclark@gmail.com/mbox/",
    "series": [
        {
            "id": 2057,
            "url": "http://patchwork.ozlabs.org/api/series/2057/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2057",
            "date": "2017-09-07T20:28:10",
            "name": "[U-Boot] dm: video: Fix cache flushes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2057/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/811160/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/811160/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=\"GcYJa3Ir\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xpBrF0Zl2z9sBW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 06:29:17 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B9FADC21E84; Thu,  7 Sep 2017 20:28:43 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 9FAD3C21D92;\n\tThu,  7 Sep 2017 20:28:36 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 7397AC21E73; Thu,  7 Sep 2017 20:28:30 +0000 (UTC)",
            "from mail-qt0-f194.google.com (mail-qt0-f194.google.com\n\t[209.85.216.194])\n\tby lists.denx.de (Postfix) with ESMTPS id 71B77C21E09\n\tfor <u-boot@lists.denx.de>; Thu,  7 Sep 2017 20:28:26 +0000 (UTC)",
            "by mail-qt0-f194.google.com with SMTP id p55so475134qtc.2\n\tfor <u-boot@lists.denx.de>; Thu, 07 Sep 2017 13:28:26 -0700 (PDT)",
            "from localhost ([144.121.20.162]) by smtp.gmail.com with ESMTPSA id\n\tb11sm153202qkb.75.2017.09.07.13.28.23\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 07 Sep 2017 13:28:23 -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=GcYJa3IrQcVsQTpYTCmx0AUeGNip+7bNQ46ef81XtKeONOxE6EborkGJfG39pd62in\n\tnlLYw5JOTxLbd/xvsr4aq6JhT2WT0KziFJtHNGYAuJkjtLSpJMxnSCfunmazCLfS6al+\n\tMb+o79VYEEpWryJnY5Ki1jfVXk4kVQJVgHGYMJ6MDTpWXeTnP9rg2PuCmy6O3KUrv54R\n\tzn8Y35jWAsTHkMHBRHYzZQEkqcBGCDOLQ2dtMGaiv8kPwA0Xq2T0eSRMJ3j7cRBNRFbh\n\tposicWz6M/bfc0KFbbuU2d/z4Hha7sn5QKCSLv3wxhw348vzNs1bokiXNn0wwrjOR2Jj\n\tZp5w==",
        "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=GQgZBQxpjBgoqK3Xg+AwvwHmtC9JJ7pWcbzmTAGtgWQFrwatZzwh+3vIBqOKbbm9dQ\n\tNBZUqL9a+JG2ayoB8J3JWuIenbrZ3+El+IzEwIwxQkWYplZrq3GZK4k+ApwA+s1sTmIK\n\t1mpH9rP0CI11RZ4+Bekwj/R8fIbJyagGDCqMBIq0mcO8VtFmqsUtHilAuBFYCgnQaK6Q\n\t4kGWfOcUPxnhk4HIkIS6XkME2LGLoHlqNJlonXnvIlMDJOh+XZpbR86asTRvIdqxdDMh\n\tveNZKHjRWUtlX7/2Lkooa0zX5D+T7bH2W9mQD+7UndjsDUdhXfDHQQAaMbOB5nxBduhA\n\tfZaw==",
        "X-Gm-Message-State": "AHPjjUh8cUTp/YAtkhkt7/6NRpSadijWBP01hlfFRZCpOLFoWbXcV/83\n\tpt7O3/spEtT3D/BqvK0=",
        "X-Google-Smtp-Source": "AOwi7QBe5wgL6feCiICD99oFtLIwt0YZ0ivHqd8Q+NP8t2CRJU+jKWNrZIXmoyvT7f5qcl5lRH76CQ==",
        "X-Received": "by 10.237.54.65 with SMTP id e59mr864862qtb.166.1504816105140;\n\tThu, 07 Sep 2017 13:28:25 -0700 (PDT)",
        "From": "Rob Clark <robdclark@gmail.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Thu,  7 Sep 2017 16:28:10 -0400",
        "Message-Id": "<20170907202816.18765-2-robdclark@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170907202816.18765-1-robdclark@gmail.com>",
        "References": "<20170907202816.18765-1-robdclark@gmail.com>",
        "Subject": "[U-Boot] [PATCH] 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"
    ]
}