get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 291435,
    "url": "http://patchwork.ozlabs.org/api/patches/291435/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1384487159-43032-4-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-4-git-send-email-fenghua@phytium.com.cn>",
    "list_archive_url": null,
    "date": "2013-11-15T03:45:52",
    "name": "[U-Boot,v15,03/10] add weak entry definition",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "cdb7b672a1fdd6b0c3d86686098e1fe375581527",
    "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-4-git-send-email-fenghua@phytium.com.cn/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/291435/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/291435/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 CC7B92C00C4\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Nov 2013 14:47:44 +1100 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 527E14ADBB;\n\tFri, 15 Nov 2013 04:47:27 +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 gq5snimGpQH2; Fri, 15 Nov 2013 04:47:26 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id D102E4AD8F;\n\tFri, 15 Nov 2013 04:47:22 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id D3C484AD74\n\tfor <u-boot@lists.denx.de>; Fri, 15 Nov 2013 04:47:20 +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 AELm8Awk8b-e for <u-boot@lists.denx.de>;\n\tFri, 15 Nov 2013 04:47:20 +0100 (CET)",
            "from mail.corpease.net (mail10.corpease.net [61.145.121.76])\n\tby theia.denx.de (Postfix) with ESMTP id 9097C4AD8F\n\tfor <u-boot@lists.denx.de>; Fri, 15 Nov 2013 04:47:01 +0100 (CET)",
            "from localhost (unknown [220.202.153.92])\n\tby mail10.corpease.net (Coremail) with SMTP id\n\tTAGowJC7P5wfmYVSpBw2AA--.30947S3; \n\tFri, 15 Nov 2013 11:46:45 +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:52 +0800",
        "Message-Id": "<1384487159-43032-4-git-send-email-fenghua@phytium.com.cn>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "In-Reply-To": "<1384487159-43032-3-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>\n\t<1384487159-43032-3-git-send-email-fenghua@phytium.com.cn>",
        "X-CM-TRANSID": "TAGowJC7P5wfmYVSpBw2AA--.30947S3",
        "X-Coremail-Antispam": "1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73\n\tVFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUor7k042IEc7kJM7k042IE4IxYO2xFxVAq\n\tjxCEw4Av424lb7IF0VCFvT92vfvE14ylb7IF0VCIc40E14ylb7Iv0xC_Jr1lb4IE77IF4w\n\tAFF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK\n\t6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcV\n\tAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv\n\t67AKxVWUJVW8JwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UM2kK6xCIbVAIwIAEc2\n\t0F6c8GOVW8Jr15Jr4le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCE34x0Y48IcwAqx4xG\n\t64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE14v26r\n\t1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAq\n\tYI8I648v4I1lw4CEc2x0rVAKj4xxMxkIecxEwVAFwVW8GwCF04k20xvY0x0EwIxGrwCFx2\n\tIqxVCFs4IE7xkEbVWUJVW8JwCFI7vE0wC20s026c02F40E14v26r1j6r18MI8I3I0E7480\n\tY4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7\n\tIYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k2\n\t6cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxV\n\tAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0b01Uo7UUUUU=",
        "X-Originating-IP": "[220.202.153.92]",
        "X-CM-SenderInfo": "pihqwxdxd61x51wl3zoofrzhdfq/",
        "Cc": "trini@ti.com, scottwood@freescale.com",
        "Subject": "[U-Boot] [PATCH v15 03/10] add weak entry definition",
        "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 include/linux/linkage.h |    4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/include/linux/linkage.h b/include/linux/linkage.h\nindex 39c712e..7435fcd 100644\n--- a/include/linux/linkage.h\n+++ b/include/linux/linkage.h\n@@ -48,6 +48,10 @@\n \t.globl SYMBOL_NAME(name); \\\n \tLENTRY(name)\n \n+#define WEAK(name) \\\n+\t.weak SYMBOL_NAME(name); \\\n+\tLENTRY(name)\n+\n #ifndef END\n #define END(name) \\\n \t.size name, .-name\n",
    "prefixes": [
        "U-Boot",
        "v15",
        "03/10"
    ]
}