get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 624,
    "url": "http://patchwork.ozlabs.org/api/patches/624/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/21064664.53031221827956443.JavaMail.weblogic@epml16/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<21064664.53031221827956443.JavaMail.weblogic@epml16>",
    "list_archive_url": null,
    "date": "2008-09-19T12:39:16",
    "name": "[2/2,MTD,Flex-OneNAND] JFFS2 support",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": true,
    "hash": "6cb9bc6c99f61e59a713dd9f7627b9ea822d5a06",
    "submitter": {
        "id": 305,
        "url": "http://patchwork.ozlabs.org/api/people/305/?format=api",
        "name": "AYYANARPONNUSAMY GANGHEYAMOORTHY",
        "email": "moorthy.apg@samsung.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/21064664.53031221827956443.JavaMail.weblogic@epml16/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/624/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/624/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id D0304DDFB0\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 20 Sep 2008 00:13:49 +1000 (EST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1Kggj5-0001nf-Ny; Fri, 19 Sep 2008 14:12:51 +0000",
            "from mailout5.samsung.com ([203.254.224.35])\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1KgfGa-00057q-8s\n\tfor linux-mtd@lists.infradead.org; Fri, 19 Sep 2008 12:39:20 +0000",
            "from ep_ms13_bk (mailout5.samsung.com [203.254.224.35])\n\tby mailout5.samsung.com\n\t(iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))\n\twith ESMTP id <0K7G003G90HGWX@mailout5.samsung.com> for\n\tlinux-mtd@lists.infradead.org; Fri, 19 Sep 2008 21:39:16 +0900 (KST)",
            "from ep_spt01 (ms13.samsung.com [203.254.225.109])\n\tby ms13.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul\n\t14 2004)) with ESMTP id <0K7G00LBP0HGMY@ms13.samsung.com> for\n\tlinux-mtd@lists.infradead.org; Fri, 19 Sep 2008 21:39:16 +0900 (KST)"
        ],
        "Content-return": "prohibited",
        "Date": "Fri, 19 Sep 2008 12:39:16 +0000 (GMT)",
        "From": "AYYANARPONNUSAMY GANGHEYAMOORTHY <moorthy.apg@samsung.com>",
        "Subject": "[PATCH 2/2] [MTD] [Flex-OneNAND] JFFS2 support",
        "To": "linux-mtd@lists.infradead.org",
        "Message-id": "<21064664.53031221827956443.JavaMail.weblogic@epml16>",
        "MIME-version": [
            "1.0",
            "1.0"
        ],
        "X-Priority": "3",
        "Msgkey": "20080919123727559@moorthy.apg",
        "X-MTR": "20080919123727559@moorthy.apg",
        "X-EPLocale": "en_US.windows-1252",
        "X-EPWebmail-Msg-Type": "personal",
        "X-EPWebmail-Reply-Demand": "0",
        "X-EPApproval-Locale": "",
        "X-EPHeader": "ML",
        "X-EPTrCode": "",
        "X-EPTrName": "",
        "X-Spam-Score": "2.8 (++)",
        "X-Spam-Report": "SpamAssassin version 3.2.5 on bombadil.infradead.org summary:\n\tContent analysis details:   (2.8 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t0.0 MIME_BASE64_BLANKS RAW: Extra blank lines in base64 encoding\n\t2.8 MIME_BASE64_TEXT RAW: Message text disguised using base64\n\tencoding",
        "Cc": "David.Woodhouse@intel.com",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.9",
        "Precedence": "list",
        "Reply-To": "moorthy.apg@samsung.com",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linux-mtd-bounces@lists.infradead.org",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "This patch allows JFFS2 to be used on Flex-OneNAND\nWe register the Flex-OneNAND driver with capability\nof MLC NAND flash.\n\nSigned-off-by: Rajshekar H Payagond <rajshekar.hp@samsung.com>",
    "diff": "--- a/drivers/mtd/onenand/onenand_base.c\t2008-09-02 13:53:40.000000000 +0530\n+++ b/drivers/mtd/onenand/onenand_base.c\t2008-09-02 13:54:34.000000000 +0530\n@@ -3262,7 +3262,8 @@ int onenand_scan(struct mtd_info *mtd, i\n \n \t/* Fill in remaining MTD driver data */\n \tmtd->type = MTD_NANDFLASH;\n-\tmtd->flags = MTD_CAP_NANDFLASH;\n+\tmtd->flags = ONENAND_IS_MLC(this) ? MTD_CAP_MLCNANDFLASH :\n+\t\t\tMTD_CAP_NANDFLASH;\n \tmtd->erase = onenand_erase;\n \tmtd->point = NULL;\n \tmtd->unpoint = NULL;\n",
    "prefixes": [
        "2/2",
        "MTD",
        "Flex-OneNAND"
    ]
}