get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 169045,
    "url": "http://patchwork.ozlabs.org/api/patches/169045/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1341433531-18124-1-git-send-email-linz@li-pro.net/",
    "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": "<1341433531-18124-1-git-send-email-linz@li-pro.net>",
    "list_archive_url": null,
    "date": "2012-07-04T20:25:29",
    "name": "[U-Boot,1/3] fdt: Add board specific dts inclusion",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0689851c553e4cb22260b0f79906a28a3d41e0e2",
    "submitter": {
        "id": 5893,
        "url": "http://patchwork.ozlabs.org/api/people/5893/?format=api",
        "name": "Stephan Linz",
        "email": "linz@li-pro.net"
    },
    "delegate": {
        "id": 1692,
        "url": "http://patchwork.ozlabs.org/api/users/1692/?format=api",
        "username": "monstr",
        "first_name": "Michal",
        "last_name": "Simek",
        "email": "monstr@monstr.eu"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1341433531-18124-1-git-send-email-linz@li-pro.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/169045/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/169045/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 6D8BB2C007E\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  5 Jul 2012 06:25:54 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 4FF3A281E0;\n\tWed,  4 Jul 2012 22:25:50 +0200 (CEST)",
            "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 fQBBLZxXLbZ9; Wed,  4 Jul 2012 22:25:50 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id D57F3281D7;\n\tWed,  4 Jul 2012 22:25:45 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id EB1BC281CD\n\tfor <u-boot@lists.denx.de>; Wed,  4 Jul 2012 22:25:41 +0200 (CEST)",
            "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 QuKWrEbCceOp for <u-boot@lists.denx.de>;\n\tWed,  4 Jul 2012 22:25:40 +0200 (CEST)",
            "from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.161])\n\tby theia.denx.de (Postfix) with ESMTPS id 2EDCC281CB\n\tfor <u-boot@lists.denx.de>; Wed,  4 Jul 2012 22:25:38 +0200 (CEST)",
            "from localhost.localdomain (i5E86C06A.versanet.de [94.134.192.106])\n\tby smtp.strato.de (joses mo1) (RZmta 29.19 AUTH)\n\twith ESMTPA id e017c3o64J2cEY ; Wed, 4 Jul 2012 22:25:36 +0200 (CEST)"
        ],
        "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)",
        "X-RZG-AUTH": ":IGUKb2CkcrLHmZv+FHarxbxlXmJO7WRQLa+vsyW+4B7AQuz+obUhwq8hL6pp",
        "X-RZG-CLASS-ID": "mo00",
        "From": "Stephan Linz <linz@li-pro.net>",
        "To": "monstr@monstr.eu,\n\tsjg@chromium.org",
        "Date": "Wed,  4 Jul 2012 22:25:29 +0200",
        "Message-Id": "<1341433531-18124-1-git-send-email-linz@li-pro.net>",
        "X-Mailer": "git-send-email 1.7.0.4",
        "Cc": "Stephan Linz <linz@li-pro.net>, u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 1/3] fdt: Add board specific dts inclusion",
        "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": "Some architectures, for example Microblaze, doesn't need a\nsplitted device tree because every Microblaze hw design is\ndifferent. The individuell Microblaze device tree will be\nauto generated by FPGA design tools and could be used directly\nwith dtc.\n\nThe auto generated dts for Microblaze can not processed by CPP.\nUnfortunately that is the default procedure in U-Boot to merge\na splitted device tree (substitution of ARCH_CPU_DTS).\n\nMicroblaze will never use the ARCH_CPU_DTS substitution and we\nintroduce the new board specific substitution variable BOARD_DTS\nthat points into vendor/board/dts subdir with the file name\nof CONFIG_DEFAULT_DEVICE_TREE. The common dts file in vendor/dts\nsubdir (defined by CONFIG_DEFAULT_DEVICE_TREE) contain a single\ninclude line that can processed by CPP:\n\n    /include/ BOARD_DTS\n\nSigned-off-by: Stephan Linz <linz@li-pro.net>\n---\n dts/Makefile |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)",
    "diff": "diff --git a/dts/Makefile b/dts/Makefile\nindex 914e479..b1f47a1 100644\n--- a/dts/Makefile\n+++ b/dts/Makefile\n@@ -36,7 +36,8 @@ $(error Your architecture does not have device tree support enabled. \\\n Please define CONFIG_ARCH_DEVICE_TREE))\n \n # We preprocess the device tree file provide a useful define\n-DTS_CPPFLAGS := -DARCH_CPU_DTS=\\\"$(SRCTREE)/arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\\\"\n+DTS_CPPFLAGS := -DARCH_CPU_DTS=\\\"$(SRCTREE)/arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\\\" \\\n+\t\t-DBOARD_DTS=\\\"$(SRCTREE)/board/$(VENDOR)/$(BOARD)/dts/$(DEVICE_TREE).dts\\\"\n \n all:\t$(obj).depend $(LIB)\n \n",
    "prefixes": [
        "U-Boot",
        "1/3"
    ]
}