get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806202,
    "url": "http://patchwork.ozlabs.org/api/patches/806202/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170827080051.816-1-judge.packham@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": "<20170827080051.816-1-judge.packham@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-27T08:00:51",
    "name": "[U-Boot] moveconfig: fix error message in do_autoconf()",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "5a4c2a9a64b284fc28446b5d3f98bad37f7eede2",
    "submitter": {
        "id": 6125,
        "url": "http://patchwork.ozlabs.org/api/people/6125/?format=api",
        "name": "Chris Packham",
        "email": "judge.packham@gmail.com"
    },
    "delegate": {
        "id": 38701,
        "url": "http://patchwork.ozlabs.org/api/users/38701/?format=api",
        "username": "masahir0y",
        "first_name": "Masahiro",
        "last_name": "Yamada",
        "email": "yamada.m@jp.panasonic.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170827080051.816-1-judge.packham@gmail.com/mbox/",
    "series": [
        {
            "id": 3,
            "url": "http://patchwork.ozlabs.org/api/series/3/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=3",
            "date": "2017-08-27T08:00:51",
            "name": "[U-Boot] moveconfig: fix error message in do_autoconf()",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806202/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806202/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=\"mojse0EA\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xg6nc4Cdxz9sRm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 27 Aug 2017 18:02:28 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 520D8C22106; Sun, 27 Aug 2017 08:01:25 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 381F8C22105;\n\tSun, 27 Aug 2017 08:01:18 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 3A943C220EB; Sun, 27 Aug 2017 08:01:04 +0000 (UTC)",
            "from mail-pf0-f195.google.com (mail-pf0-f195.google.com\n\t[209.85.192.195])\n\tby lists.denx.de (Postfix) with ESMTPS id 7FCADC220E3\n\tfor <u-boot@lists.denx.de>; Sun, 27 Aug 2017 08:01:03 +0000 (UTC)",
            "by mail-pf0-f195.google.com with SMTP id y65so2076142pfd.5\n\tfor <u-boot@lists.denx.de>; Sun, 27 Aug 2017 01:01:03 -0700 (PDT)",
            "from chrisp-dl.ws.atlnz.lc ([2001:df5:b000:22:3a2c:4aff:fe70:2b02])\n\tby smtp.gmail.com with ESMTPSA id\n\t184sm18393097pfg.2.2017.08.27.01.00.58\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 27 Aug 2017 01:01:00 -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_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_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;\n\tbh=d9UwFvVEn+x6Q+RfB7HGqcT0seFrlg+T12JXE2fwBMc=;\n\tb=mojse0EAGp1rb6DqxqEvuSdBbJn24JwscX3idWGdg1OVtfYjSs1DdGzfrDaVGrMM0b\n\tJdxdO4gPpPoDMY/VUE9HraUKUQcp0BSCvQZR1zs8yeeporAufO4CHIvHA/XSzkruPxGx\n\t2GkYptPzMIhFXK5vTkK2KSjHAFzvmn0iZlh3XMBlY1XHuIXhdYrs59LH5mO8UcrE1WON\n\tyfRaBPsSJ/HP5AHN9OYY8nQIi9QfP/Nfy6Gx/tM5df8XzT5uYpFbhXg+annRPkGvjHB3\n\tiDF61qcMsqugtA9YffSbD3GdFK/YmDhK2XIw/RPxm2yhn4Il99JQO/DNhL3nyvtd/aQw\n\thD9g==",
        "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;\n\tbh=d9UwFvVEn+x6Q+RfB7HGqcT0seFrlg+T12JXE2fwBMc=;\n\tb=nPCgPjSiOGbEj7Dn8fAImOx3L2yuP/b+cfsI71nAOw7MxAhW08scZM61n5tHct5qLt\n\tPkeaYCjnNQaYhyjLzxZdSJfTCWLcOlJjy3CR+w4NqzJdGa+N9QdRX1DRA97C16gIxV5z\n\tD9b1j52eSm8Wg8/LUBxEP79JdocK7IDb2d62QQG02IwaqQAXqAmWc7dxY9rvcglng4hw\n\tJdXyVJMcEJ/vMZspCOSWsHO0M5nt9Py6Fo3Aktos/GSAtuhIei0sG+rl0uTQVTdqs0kg\n\toq6RroWYjwU72zLawepqnJvPT4I25e/mU2M06GtpPtBcukDqa4NQk0daKyInj3fsWhPy\n\t1nyw==",
        "X-Gm-Message-State": "AHYfb5itkaIzJ1Say2MPMGsA12gxT7JEZZdShWfQgqVI9D5Wmnt03dGV\n\talnpLwAqwJXkZrpiRF6IhQ==",
        "X-Received": "by 10.99.37.199 with SMTP id l190mr3710525pgl.367.1503820861469; \n\tSun, 27 Aug 2017 01:01:01 -0700 (PDT)",
        "From": "Chris Packham <judge.packham@gmail.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Sun, 27 Aug 2017 20:00:51 +1200",
        "Message-Id": "<20170827080051.816-1-judge.packham@gmail.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "Cc": "Chris Packham <judge.packham@gmail.com>,\n\tJoe Hershberger <joe.hershberger@ni.com>",
        "Subject": "[U-Boot] [PATCH] moveconfig: fix error message in do_autoconf()",
        "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": "Move the % arch outside the double quote so that the missing toolchain\nmessage is displayed correctly.\n\nSigned-off-by: Chris Packham <judge.packham@gmail.com>\n---\n\n tools/moveconfig.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/tools/moveconfig.py b/tools/moveconfig.py\nindex 8a038501929c..45742dc2e6b9 100755\n--- a/tools/moveconfig.py\n+++ b/tools/moveconfig.py\n@@ -1170,7 +1170,7 @@ class Slot:\n             toolchain = self.toolchains.Select(arch)\n         except ValueError:\n             self.log += color_text(self.options.color, COLOR_YELLOW,\n-                    \"Tool chain for '%s' is missing.  Do nothing.\\n % arch\")\n+                    \"Tool chain for '%s' is missing.  Do nothing.\\n\" % arch)\n             self.finish(False)\n             return\n \tenv = toolchain.MakeEnvironment(False)\n",
    "prefixes": [
        "U-Boot"
    ]
}