get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 956560,
    "url": "http://patchwork.ozlabs.org/api/patches/956560/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180811152820.26817-7-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": "<20180811152820.26817-7-xypron.glpk@gmx.de>",
    "list_archive_url": null,
    "date": "2018-08-11T15:28:11",
    "name": "[U-Boot,06/15] test: test printing Unicode",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4a82d3ee26a78722c781ac9ad1be886231aefa12",
    "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/20180811152820.26817-7-xypron.glpk@gmx.de/mbox/",
    "series": [
        {
            "id": 60397,
            "url": "http://patchwork.ozlabs.org/api/series/60397/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=60397",
            "date": "2018-08-11T15:28:06",
            "name": "efi_loader: EFI_UNICODE_COLLATION_PROTOCOL",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/60397/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/956560/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/956560/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\tdmarc=none (p=none dis=none) header.from=gmx.de"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 41nmDR2Hhhz9sBD\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 12 Aug 2018 01:31:19 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E113BC21C8B; Sat, 11 Aug 2018 15:30:08 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3594BC21DC1;\n\tSat, 11 Aug 2018 15:28:49 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 7B834C21C51; Sat, 11 Aug 2018 15:28:45 +0000 (UTC)",
            "from mout.gmx.net (mout.gmx.net [212.227.17.20])\n\tby lists.denx.de (Postfix) with ESMTPS id 136BBC21CB6\n\tfor <u-boot@lists.denx.de>; Sat, 11 Aug 2018 15:28:45 +0000 (UTC)",
            "from LT02.fritz.box ([88.152.14.153]) by mail.gmx.com (mrgmx102\n\t[212.227.17.174]) with ESMTPSA (Nemesis) id 0MLA45-1foEpu25Kb-000PTq;\n\tSat, 11 Aug 2018 17:28:43 +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.0 required=5.0 tests=FREEMAIL_FROM\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "To": "Alexander Graf <agraf@suse.de>",
        "Date": "Sat, 11 Aug 2018 17:28:11 +0200",
        "Message-Id": "<20180811152820.26817-7-xypron.glpk@gmx.de>",
        "X-Mailer": "git-send-email 2.18.0",
        "In-Reply-To": "<20180811152820.26817-1-xypron.glpk@gmx.de>",
        "References": "<20180811152820.26817-1-xypron.glpk@gmx.de>",
        "X-Provags-ID": "V03:K1:KrC4xXJQvBdrYSawLQrL88slnhRjT5aj+uAIrRMxeXKTDwUoc7K\n\tj6nwIUDcYAUfPPRyoYvhhNp8V42bIsF9dhsaYwtmtJe0+xsWMy5CEpLnBn7yGaoHdShQuZ+\n\tuXIe9A49FFonH/1sDPxl/3KiK8B7LAEJxVAZK1JXgAsqLcLMhDppaM02xEis3QbKBKO/la1\n\tet+qrIusiFaHjHvi03mcA==",
        "X-UI-Out-Filterresults": "notjunk:1; V01:K0:7qZ3mDaLJzU=:RweyibO+EGa09kPZpQrcI2\n\t2bBmLnJufMQzTh/iaDh18fsx25+gzSmBRalGUHU23HpaZcRzZNOaxVL8g6WTvkcR/UA2SVWUS\n\tmh1ZsW8l7p6s6hIjB//3L4ykMvUMPF/rTt0kp891URr7yeJiui4GIymqg7I0AKBNm1qRVr/DW\n\t6KVmjO01x+YiwEgFCSJuusvLn69e/IrnwHSu3pZbxnRBxM8hdlwJSVpdzhoifTNr92JPGmM+F\n\takWiPaorfnA83x2oEgdOvwTed4dFSbFIqCn32hKe9kqevKhQUKoozTsCC3+bipx+ahkqgaZG+\n\twtcSDJRSBi7SgzPxLYZynzDLO2WHIR2OxxeZfY9QALCnaXcaRHLFUoyZ1nucb7aTOnNGLtBSx\n\tJmHQlM3aYsjhbuLc0i9TwGnArw8mrTouex16wUtTLC2NNVAlM4v+rlq+PgASAsjkzIqEjrsba\n\ty9GmqjStUu5mkp8NWeZdTxTEuegRQW/k274CbsiwREGHZzO9RpMEItymAkK+B5Dbcplm9b+68\n\tgHCVr9oT2zHRYcCcesMFioR3dzhymEMTH3s7bMffDf7jiFOcfd5aQaELssKVddauODjL3MhGQ\n\t+JEV7aCVLzE2U2/72lawRXhiR9H4Bfr+kTfraP82QJkA5L4R/4TGcqNxkvRkNHIPNWz6u902N\n\tIDhqFdjoveA09y2KHvAOmYAFz+ahN8OWYSyl73INqFtqFAqX2Ewo1MWqG/6sq0uWnMl8tAmJP\n\tNQbudJOEnVAYQ8VY7FA7MGJJlxQ4cptLzVWLuKUcWZqhLNme9F+mMMLLLyg=",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 06/15] test: test printing Unicode",
        "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": "Test printing of Unicode strings\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n test/unicode_ut.c | 37 +++++++++++++++++++++++++++++++++++++\n 1 file changed, 37 insertions(+)",
    "diff": "diff --git a/test/unicode_ut.c b/test/unicode_ut.c\nindex 29316606c4..8e8c4d189e 100644\n--- a/test/unicode_ut.c\n+++ b/test/unicode_ut.c\n@@ -34,6 +34,42 @@ static const char d3[] = {0xe6, 0xbd, 0x9c, 0xe6, 0xb0, 0xb4, 0xe8, 0x89,\n static const char d4[] = {0xf0, 0x90, 0x92, 0x8d, 0xf0, 0x90, 0x92, 0x96,\n \t\t\t  0xf0, 0x90, 0x92, 0x87, 0x00};\n \n+static int ut_string16(void)\n+{\n+#if defined(CONFIG_EFI_LOADER) && \\\n+\t!defined(CONFIG_SPL_BUILD) && !defined(API_BUILD)\n+\tchar buf[20];\n+\n+\tmemset(buf, 0xff, sizeof(buf));\n+\tsprintf(buf, \"%8.6ls\", c2);\n+\tif (buf[1] != ' ')\n+\t\treturn -1;\n+\tif (strncmp(&buf[2], d2, 7))\n+\t\treturn -1;\n+\tif (buf[9])\n+\t\treturn -1;\n+\n+\tmemset(buf, 0xff, sizeof(buf));\n+\tsprintf(buf, \"%8.6ls\", c4);\n+\tif (buf[4] != ' ')\n+\t\treturn -1;\n+\tif (strncmp(&buf[5], d4, 12))\n+\t\treturn -1;\n+\tif (buf[17])\n+\t\treturn -1;\n+\n+\tmemset(buf, 0xff, sizeof(buf));\n+\tsprintf(buf, \"%-8.2ls\", c4);\n+\tif (strncmp(buf, d4, 8))\n+\t\treturn -1;\n+\tif (buf[8] != ' ')\n+\t\treturn -1;\n+\tif (buf[14])\n+\t\treturn -1;\n+#endif\n+\treturn 0;\n+}\n+\n static int ut_utf8_get(void)\n {\n \tconst char *s;\n@@ -451,6 +487,7 @@ int do_ut_unicode(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])\n {\n \tint ret = 0;\n \n+\tret |= ut_string16();\n \tret |= ut_utf8_get();\n \tret |= ut_utf8_put();\n \tret |= ut_utf8_utf16_strlen();\n",
    "prefixes": [
        "U-Boot",
        "06/15"
    ]
}