get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 943,
    "url": "http://patchwork.ozlabs.org/api/patches/943/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/200809222110.m8MLAJCC029877@imap1.linux-foundation.org/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<200809222110.m8MLAJCC029877@imap1.linux-foundation.org>",
    "list_archive_url": null,
    "date": "2008-09-22T21:10:18",
    "name": "[for,2.6.27?,04/10] drivers/net/mlx4/alloc.c needs mm.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e7c381d3a38ed96a033f0c35559605e34d3f7690",
    "submitter": {
        "id": 107,
        "url": "http://patchwork.ozlabs.org/api/people/107/?format=api",
        "name": "Andrew Morton",
        "email": "akpm@linux-foundation.org"
    },
    "delegate": {
        "id": 36,
        "url": "http://patchwork.ozlabs.org/api/users/36/?format=api",
        "username": "jgarzik",
        "first_name": "Jeff",
        "last_name": "Garzik",
        "email": "jgarzik@pobox.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/200809222110.m8MLAJCC029877@imap1.linux-foundation.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/943/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/943/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.176.167])\n\tby ozlabs.org (Postfix) with ESMTP id E2077DDF05\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 23 Sep 2008 07:12:14 +1000 (EST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753225AbYIVVMJ (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 22 Sep 2008 17:12:09 -0400",
            "(majordomo@vger.kernel.org) by vger.kernel.org id S1753236AbYIVVMH\n\t(ORCPT <rfc822; netdev-outgoing>); Mon, 22 Sep 2008 17:12:07 -0400",
            "from smtp1.linux-foundation.org ([140.211.169.13]:50272 \"EHLO\n\tsmtp1.linux-foundation.org\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1752259AbYIVVMF (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 22 Sep 2008 17:12:05 -0400",
            "from imap1.linux-foundation.org (imap1.linux-foundation.org\n\t[140.211.169.55])\n\tby smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with\n\tESMTP id m8MLAJwL014573\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\n\tMon, 22 Sep 2008 14:10:20 -0700",
            "from localhost.localdomain (localhost [127.0.0.1])\n\tby imap1.linux-foundation.org\n\t(8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id\n\tm8MLAJCC029877; Mon, 22 Sep 2008 14:10:19 -0700"
        ],
        "Message-Id": "<200809222110.m8MLAJCC029877@imap1.linux-foundation.org>",
        "Subject": "[patch for 2.6.27? 04/10] drivers/net/mlx4/alloc.c needs mm.h",
        "To": "jeff@garzik.org",
        "Cc": "netdev@vger.kernel.org, akpm@linux-foundation.org,\n\tdavem@davemloft.net, rdreier@cisco.com",
        "From": "akpm@linux-foundation.org",
        "Date": "Mon, 22 Sep 2008 14:10:18 -0700",
        "X-Spam-Status": "No, hits=-3.358 required=5 tests=AWL, BAYES_00,\n\tOSDL_HEADER_SUBJECT_BRACKETED",
        "X-Spam-Checker-Version": "SpamAssassin 3.2.4-osdl_revision__1.47__",
        "X-MIMEDefang-Filter": "lf$Revision: 1.188 $",
        "X-Scanned-By": "MIMEDefang 2.63 on 140.211.169.13",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "From: Andrew Morton <akpm@linux-foundation.org>\n\nsparc32 allmodconfig with linux-next:\n\ndrivers/net/mlx4/alloc.c: In function 'mlx4_buf_alloc':\ndrivers/net/mlx4/alloc.c:164: error: 'PAGE_KERNEL' undeclared (first use in this function)\ndrivers/net/mlx4/alloc.c:164: error: (Each undeclared identifier is reported only once\ndrivers/net/mlx4/alloc.c:164: error: for each function it appears in.)\n\nthis is due to some header shuffle in linux-next.  I didn't look to see what\nit was.  I'd sugges that this patch be merged ahead of a linux-next merge to\navoid bisection breaks.\n\nWe strictly only need asm/pgtable.h, but going direct to asm includes always\nseems grubby.\n\nCc: Jeff Garzik <jeff@garzik.org>\nCc: \"David S. Miller\" <davem@davemloft.net>\nAcked-by: Roland Dreier <rdreier@cisco.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\n---\n\n drivers/net/mlx4/alloc.c |    1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff -puN drivers/net/mlx4/alloc.c~drivers-net-mlx4-allocc-needs-mmh drivers/net/mlx4/alloc.c\n--- a/drivers/net/mlx4/alloc.c~drivers-net-mlx4-allocc-needs-mmh\n+++ a/drivers/net/mlx4/alloc.c\n@@ -33,6 +33,7 @@\n \n #include <linux/errno.h>\n #include <linux/slab.h>\n+#include <linux/mm.h>\n #include <linux/bitmap.h>\n #include <linux/dma-mapping.h>\n #include <linux/vmalloc.h>\n",
    "prefixes": [
        "for",
        "2.6.27?",
        "04/10"
    ]
}