get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 291434,
    "url": "http://patchwork.ozlabs.org/api/patches/291434/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1384487159-43032-3-git-send-email-fenghua@phytium.com.cn/",
    "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": "<1384487159-43032-3-git-send-email-fenghua@phytium.com.cn>",
    "list_archive_url": null,
    "date": "2013-11-15T03:45:51",
    "name": "[U-Boot,v15,02/10] cmd_pxe: remove compiling warnings",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b7e7fda50b71e81e75a4753d0ce3c4f812477de9",
    "submitter": {
        "id": 34808,
        "url": "http://patchwork.ozlabs.org/api/people/34808/?format=api",
        "name": null,
        "email": "fenghua@phytium.com.cn"
    },
    "delegate": {
        "id": 1694,
        "url": "http://patchwork.ozlabs.org/api/users/1694/?format=api",
        "username": "aaribaud",
        "first_name": "Albert",
        "last_name": "ARIBAUD",
        "email": "albert.aribaud@free.fr"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1384487159-43032-3-git-send-email-fenghua@phytium.com.cn/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/291434/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/291434/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",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 70E432C00BC\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Nov 2013 14:47:30 +1100 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id D23AA4AD73;\n\tFri, 15 Nov 2013 04:47:14 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id YyR-CiJ7A7p2; Fri, 15 Nov 2013 04:47:14 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 3D6014AD82;\n\tFri, 15 Nov 2013 04:47:00 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B16784AD4F\n\tfor <u-boot@lists.denx.de>; Fri, 15 Nov 2013 04:46:56 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id tw8fIfsf11Yb for <u-boot@lists.denx.de>;\n\tFri, 15 Nov 2013 04:46:53 +0100 (CET)",
            "from mail.corpease.net (mail10.corpease.net [61.145.121.76])\n\tby theia.denx.de (Postfix) with ESMTP id 0AA1F4AD74\n\tfor <u-boot@lists.denx.de>; Fri, 15 Nov 2013 04:46:49 +0100 (CET)",
            "from localhost (unknown [220.202.153.92])\n\tby mail10.corpease.net (Coremail) with SMTP id\n\tTAGowJB7DwIbmYVSiRw2AA--.40567S3; \n\tFri, 15 Nov 2013 11:46:37 +0800 (CST)"
        ],
        "X-Virus-Scanned": [
            "Debian amavisd-new at theia.denx.de",
            "Debian amavisd-new at theia.denx.de"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "From": "fenghua@phytium.com.cn",
        "To": "u-boot@lists.denx.de",
        "Date": "Fri, 15 Nov 2013 11:45:51 +0800",
        "Message-Id": "<1384487159-43032-3-git-send-email-fenghua@phytium.com.cn>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "In-Reply-To": "<1384487159-43032-2-git-send-email-fenghua@phytium.com.cn>",
        "References": "<1384487159-43032-1-git-send-email-fenghua@phytium.com.cn>\n\t<1384487159-43032-2-git-send-email-fenghua@phytium.com.cn>",
        "X-CM-TRANSID": "TAGowJB7DwIbmYVSiRw2AA--.40567S3",
        "X-Coremail-Antispam": "1UD129KBjvdXoWrtr43KF4xWw1fJw45WF17Wrg_yoWfCwb_CF\n\tWjqF15G3s0gF17GrnI9r1Svr48Aa4rWFnYgwnIk3yayry2qwsxAFZ3Gr95uw45u398ua4I\n\tyanrZr13JFnxGjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT\n\t9fnUUIcSsGvfJTRUUUbdkYjxAI6xkYrwAYjxAI6xCIbckI1I0E57IF64kEYxAxM7k042IE\n\t4asKkaVY67AtM7k042IEIxkG67AtM7k0a2IF6r1UM7kC6x804xWl14x267AKxVW8JVW5Jw\n\tAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kI\n\tII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7\n\txvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7xvwVC2z280aVAFwI0_Jr0_Gr1l84AC\n\tjcxK6I8E87Iv6xkF7I0E14v26r4j6r4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc804V\n\tCqF7xvr2I5Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv\n\t7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JM4\n\tx0x7Aq67IIx4CEVc8vx2IErcIFxwAKzVCY07xG64k0F24lc2xSY4AK67AK6r48MxAIw28I\n\tcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMxCIbVAxMI8I3I0E5I8CrVAFwI0_Jr\n\t0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0E\n\twIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JV\n\tWxJwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAI\n\tcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7x5xrUlUUUUUU==",
        "X-Originating-IP": "[220.202.153.92]",
        "X-CM-SenderInfo": "pihqwxdxd61x51wl3zoofrzhdfq/",
        "Cc": "trini@ti.com, scottwood@freescale.com",
        "Subject": "[U-Boot] [PATCH v15 02/10] cmd_pxe: remove compiling warnings",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "u-boot-bounces@lists.denx.de",
        "Errors-To": "u-boot-bounces@lists.denx.de"
    },
    "content": "From: David Feng <fenghua@phytium.com.cn>\n\nSigned-off-by: David Feng <fenghua@phytium.com.cn>\n---\n common/cmd_pxe.c |    4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c\nindex db6b156..c27ec35 100644\n--- a/common/cmd_pxe.c\n+++ b/common/cmd_pxe.c\n@@ -59,7 +59,7 @@ static int format_mac_pxe(char *outbuf, size_t outbuf_len)\n \tuchar ethaddr[6];\n \n \tif (outbuf_len < 21) {\n-\t\tprintf(\"outbuf is too small (%d < 21)\\n\", outbuf_len);\n+\t\tprintf(\"outbuf is too small (%zd < 21)\\n\", outbuf_len);\n \n \t\treturn -EINVAL;\n \t}\n@@ -103,7 +103,7 @@ static int get_bootfile_path(const char *file_path, char *bootfile_path,\n \tpath_len = (last_slash - bootfile) + 1;\n \n \tif (bootfile_path_size < path_len) {\n-\t\tprintf(\"bootfile_path too small. (%d < %d)\\n\",\n+\t\tprintf(\"bootfile_path too small. (%zd < %zd)\\n\",\n \t\t\t\tbootfile_path_size, path_len);\n \n \t\treturn -1;\n",
    "prefixes": [
        "U-Boot",
        "v15",
        "02/10"
    ]
}