get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 813401,
    "url": "http://patchwork.ozlabs.org/api/patches/813401/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1505303106-9780-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": "<1505303106-9780-5-git-send-email-yamada.masahiro@socionext.com>",
    "list_archive_url": null,
    "date": "2017-09-13T11:45:04",
    "name": "[U-Boot,4/6] vsprintf.h: include <linux/types.h>",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "3c8085da327fe7346c013e1c0393638a4ae871c2",
    "submitter": {
        "id": 65882,
        "url": "http://patchwork.ozlabs.org/api/people/65882/?format=api",
        "name": "Masahiro Yamada",
        "email": "yamada.masahiro@socionext.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/1505303106-9780-5-git-send-email-yamada.masahiro@socionext.com/mbox/",
    "series": [
        {
            "id": 2896,
            "url": "http://patchwork.ozlabs.org/api/series/2896/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2896",
            "date": "2017-09-13T11:45:01",
            "name": "Sync and consolidate Linux-derived printk, BUILD_BUG, BUG, WARN, etc.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2896/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/813401/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/813401/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=\"mb/1q7j/\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsg1B3djvz9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 21:49:02 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 21046C22484; Wed, 13 Sep 2017 11:46:47 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D942CC225D1;\n\tWed, 13 Sep 2017 11:45:44 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E0145C22515; Wed, 13 Sep 2017 11:45:32 +0000 (UTC)",
            "from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77])\n\tby lists.denx.de (Postfix) with ESMTPS id E8FB9C22515\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 11:45:31 +0000 (UTC)",
            "from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp\n\t[153.142.97.92]) (authenticated)\n\tby conuserg-10.nifty.com with ESMTP id v8DBjE4r018351;\n\tWed, 13 Sep 2017 20:45:19 +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-10.nifty.com v8DBjE4r018351",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1505303119;\n\tbh=iTliMGe7nh3bldcpVwZhQAA7bk/2dK70t8lWGXNR0MA=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=mb/1q7j/kyH8Rmj67in9uvOJKCPjWtbT/0OVtgkj1SIraxSzaA6YHNONmcolfXeEY\n\tXpInEby4wNU9XBBRGykDwkqIGxGGP8nawkO6l9dSDvNYpQ5MYFhKJhsJld2a/qyjfo\n\tLjZqrD1aRPxvl0BNQXnGrql1NS1Ep/2OYThX48FWNRJtKGZJftrffVC0nYxvtknZmU\n\tK1WU3l6zaLK0IbcbrpH+dFId8G4QRLjTCW9xygQIcfgQ2O2N/JdmSc/IKZJhhfwvan\n\tI4dDrED9aSN768H+P/NsG7wAEbDl8If7aA+I1PYT6Gt3l5qNa53HLEdrUsNL22tZKZ\n\tWvgExTt5E5Tfw==",
        "X-Nifty-SrcIP": "[153.142.97.92]",
        "From": "Masahiro Yamada <yamada.masahiro@socionext.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Wed, 13 Sep 2017 20:45:04 +0900",
        "Message-Id": "<1505303106-9780-5-git-send-email-yamada.masahiro@socionext.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1505303106-9780-1-git-send-email-yamada.masahiro@socionext.com>",
        "References": "<1505303106-9780-1-git-send-email-yamada.masahiro@socionext.com>",
        "Subject": "[U-Boot] [PATCH 4/6] vsprintf.h: include <linux/types.h>",
        "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 header uses ulong, size_t, loff_t.\nInclude <linux/types.h> to make this header self-contained.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\n include/vsprintf.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/include/vsprintf.h b/include/vsprintf.h\nindex 490c96c..33d05aa 100644\n--- a/include/vsprintf.h\n+++ b/include/vsprintf.h\n@@ -9,6 +9,7 @@\n #define __VSPRINTF_H\n \n #include <stdarg.h>\n+#include <linux/types.h>\n \n ulong simple_strtoul(const char *cp, char **endp, unsigned int base);\n \n",
    "prefixes": [
        "U-Boot",
        "4/6"
    ]
}