get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 167470,
    "url": "http://patchwork.ozlabs.org/api/patches/167470/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1340749706-27266-3-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": "<1340749706-27266-3-git-send-email-linz@li-pro.net>",
    "list_archive_url": null,
    "date": "2012-06-26T22:28:26",
    "name": "[U-Boot,3/3] microblaze: Enable ubi support",
    "commit_ref": "7cfb13a7f4d54d4f8989cc6214b4b3b8d5861d18",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "4e0679ef945e6ef07749d21dc96eedfe81b9b0bd",
    "submitter": {
        "id": 5893,
        "url": "http://patchwork.ozlabs.org/api/people/5893/?format=api",
        "name": "Stephan Linz",
        "email": "linz@li-pro.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1340749706-27266-3-git-send-email-linz@li-pro.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/167470/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/167470/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 23D04B6F77\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Jun 2012 08:29:12 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B631B28090;\n\tWed, 27 Jun 2012 00:29:08 +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 7KIG2inWS9C2; Wed, 27 Jun 2012 00:29:08 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 25CFE2807F;\n\tWed, 27 Jun 2012 00:29:06 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 0457328085\n\tfor <u-boot@lists.denx.de>; Wed, 27 Jun 2012 00:29:04 +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 ov+ocubNEbtU for <u-boot@lists.denx.de>;\n\tWed, 27 Jun 2012 00:29:03 +0200 (CEST)",
            "from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.160])\n\tby theia.denx.de (Postfix) with ESMTPS id 67A7A2807F\n\tfor <u-boot@lists.denx.de>; Wed, 27 Jun 2012 00:29:01 +0200 (CEST)",
            "from localhost.localdomain (i58828265.versanet.de [88.130.130.101])\n\tby smtp.strato.de (josoe mo28) (RZmta 29.19 DYNA|AUTH)\n\twith ESMTPA id 301132o5QL3T1F ; Wed, 27 Jun 2012 00:28:35 +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+4RLunWeioNrxL1hubceP",
        "X-RZG-CLASS-ID": "mo00",
        "From": "Stephan Linz <linz@li-pro.net>",
        "To": "u-boot@lists.denx.de",
        "Date": "Wed, 27 Jun 2012 00:28:26 +0200",
        "Message-Id": "<1340749706-27266-3-git-send-email-linz@li-pro.net>",
        "X-Mailer": "git-send-email 1.7.0.4",
        "In-Reply-To": "<1340749706-27266-1-git-send-email-linz@li-pro.net>",
        "References": "<1340749706-27266-1-git-send-email-linz@li-pro.net>",
        "Cc": "Stephan Linz <linz@li-pro.net>",
        "Subject": "[U-Boot] [PATCH 3/3] microblaze: Enable ubi support",
        "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": "Increase malloc area for UBI to >= 512k -- foreseeing of UBIFS\nset to 768k. To save memory in flash (CONFIG_SYS_MONITOR_LEN)\nthe UBIFS is disabled by default.\n\nSigned-off-by: Stephan Linz <linz@li-pro.net>\n---\n include/configs/microblaze-generic.h |   20 ++++++++++++++++++--\n 1 files changed, 18 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h\nindex 2ef7d62..2fd2279 100644\n--- a/include/configs/microblaze-generic.h\n+++ b/include/configs/microblaze-generic.h\n@@ -166,7 +166,7 @@\n \t\t\t- CONFIG_SYS_MONITOR_LEN - GENERATED_BD_INFO_SIZE)\n #define\tCONFIG_SYS_MONITOR_END \\\n \t\t\t(CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)\n-#define\tCONFIG_SYS_MALLOC_LEN\t\tSIZE\n+#define\tCONFIG_SYS_MALLOC_LEN\t\t(SIZE * 3)\n #define\tCONFIG_SYS_MALLOC_BASE \\\n \t\t\t(CONFIG_SYS_MONITOR_BASE - CONFIG_SYS_MALLOC_LEN)\n \n@@ -273,6 +273,8 @@\n # define CONFIG_CMD_FLASH\n # define CONFIG_CMD_IMLS\n # define CONFIG_CMD_JFFS2\n+# define CONFIG_CMD_UBI\n+# undef CONFIG_CMD_UBIFS\n \n # if !defined(RAMENV)\n #  define CONFIG_CMD_SAVEENV\n@@ -285,7 +287,21 @@\n #endif\n \n #if defined(CONFIG_CMD_JFFS2)\n-/* JFFS2 partitions */\n+# define CONFIG_MTD_PARTITIONS\n+#endif\n+\n+#if defined(CONFIG_CMD_UBIFS)\n+# define CONFIG_CMD_UBI\n+# define CONFIG_LZO\n+#endif\n+\n+#if defined(CONFIG_CMD_UBI)\n+# define CONFIG_MTD_PARTITIONS\n+# define CONFIG_RBTREE\n+#endif\n+\n+#if defined(CONFIG_MTD_PARTITIONS)\n+/* MTD partitions */\n #define CONFIG_CMD_MTDPARTS\t/* mtdparts command line support */\n #define CONFIG_MTD_DEVICE\t/* needed for mtdparts commands */\n #define CONFIG_FLASH_CFI_MTD\n",
    "prefixes": [
        "U-Boot",
        "3/3"
    ]
}