get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814470,
    "url": "http://patchwork.ozlabs.org/api/patches/814470/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1505538646-19191-5-git-send-email-yamada.masahiro@socionext.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": "<1505538646-19191-5-git-send-email-yamada.masahiro@socionext.com>",
    "list_archive_url": null,
    "date": "2017-09-16T05:10:42",
    "name": "[U-Boot,v2,4/8] common.h: remove error()",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "bebc1dd8eb4bcab7b34196e2aa1ee40b1669add1",
    "submitter": {
        "id": 65882,
        "url": "http://patchwork.ozlabs.org/api/people/65882/?format=api",
        "name": "Masahiro Yamada",
        "email": "yamada.masahiro@socionext.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1505538646-19191-5-git-send-email-yamada.masahiro@socionext.com/mbox/",
    "series": [
        {
            "id": 3418,
            "url": "http://patchwork.ozlabs.org/api/series/3418/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=3418",
            "date": "2017-09-16T05:10:45",
            "name": "Sync and consolidate Linux-derived printk, BUILD_BUG, BUG, WARN, etc.",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/3418/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814470/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814470/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=nifty.com header.i=@nifty.com\n\theader.b=\"imbg2Hwz\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xvL5K3rrCz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 15:13:25 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 23450C21F7B; Sat, 16 Sep 2017 05:11:55 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 30CDDC21F8B;\n\tSat, 16 Sep 2017 05:11:21 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 8C22DC21C93; Sat, 16 Sep 2017 05:11:18 +0000 (UTC)",
            "from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76])\n\tby lists.denx.de (Postfix) with ESMTPS id D58C5C21E10\n\tfor <u-boot@lists.denx.de>; Sat, 16 Sep 2017 05:11:16 +0000 (UTC)",
            "from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp\n\t[122.131.185.176]) (authenticated)\n\tby conuserg-09.nifty.com with ESMTP id v8G5Asoo028761;\n\tSat, 16 Sep 2017 14:10:58 +0900"
        ],
        "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=T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v8G5Asoo028761",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1505538658;\n\tbh=ji/xVK2hcYyZFkFV1LPq/yG2wbXQgVjQU1gaR+ayHy4=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=imbg2HwzqFPtK1aSKAwMBMKhc5os5NyAm4+zX8CAd3LlCbba71PlkRr2kEFMxK4fZ\n\tXH2NmsqFagIZDKZ9xUjKj5TjgdEakKi6lLJ/nZxqbZIS1SbbBH8uVIqtLUzt4JHnQQ\n\tNcfKVnssAbU1YYceAnEiOF0UbT3jkXIMQV52J2NuZ5+WCQJwr6rGgaFcAagEUkr8nP\n\tG+wyo3NqaP6XeAzJaPkq9I3FkRA4T4/ofJpp5TkP0Dbfuq0kd8RLYg7STdGCvDxF54\n\tPNGbf/5RdqqSIAXWkNTzM/hYAMifwPbGOVG+artaTbO+3WVyDsbXe8QdmZn4dvtXJm\n\tbQVlTIL0WPdVg==",
        "X-Nifty-SrcIP": "[122.131.185.176]",
        "From": "Masahiro Yamada <yamada.masahiro@socionext.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Sat, 16 Sep 2017 14:10:42 +0900",
        "Message-Id": "<1505538646-19191-5-git-send-email-yamada.masahiro@socionext.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1505538646-19191-1-git-send-email-yamada.masahiro@socionext.com>",
        "References": "<1505538646-19191-1-git-send-email-yamada.masahiro@socionext.com>",
        "Subject": "[U-Boot] [PATCH v2 4/8] common.h: remove 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": "This macro prevents us from using compiletime_error/assert defined\nin <linux/compiler.h>.\n\nNow we can remove it, then we will be able to import more BUILD_BUG\nmacros from Linux.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\nChanges in v2: None\n\n include/common.h | 5 -----\n 1 file changed, 5 deletions(-)",
    "diff": "diff --git a/include/common.h b/include/common.h\nindex 4eb92298a207..7ea78bde83f7 100644\n--- a/include/common.h\n+++ b/include/common.h\n@@ -90,11 +90,6 @@ void __assert_fail(const char *assertion, const char *file, unsigned line,\n \t({ if (!(x) && _DEBUG) \\\n \t\t__assert_fail(#x, __FILE__, __LINE__, __func__); })\n \n-#define error(fmt, args...) do {\t\t\t\t\t\\\n-\t\tprintf(\"ERROR: \" pr_fmt(fmt) \"\\nat %s:%d/%s()\\n\",\t\\\n-\t\t\t##args, __FILE__, __LINE__, __func__);\t\t\\\n-} while (0)\n-\n #ifndef BUG\n #define BUG() do { \\\n \tprintf(\"BUG: failure at %s:%d/%s()!\\n\", __FILE__, __LINE__, __FUNCTION__); \\\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "4/8"
    ]
}