get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 945,
    "url": "http://patchwork.ozlabs.org/api/patches/945/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/200809222110.m8MLAOQQ029900@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.m8MLAOQQ029900@imap1.linux-foundation.org>",
    "list_archive_url": null,
    "date": "2008-09-22T21:10:24",
    "name": "[for,2.6.27?,09/10] drivers/net/hp-plus.c: fix build error",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "ce56c1d2c07b47e3499413ba897a0a7afb45c52b",
    "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.m8MLAOQQ029900@imap1.linux-foundation.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/945/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/945/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 04CB6DDED9\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 23 Sep 2008 07:14:48 +1000 (EST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753104AbYIVVOn (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 22 Sep 2008 17:14:43 -0400",
            "(majordomo@vger.kernel.org) by vger.kernel.org id S1753150AbYIVVOn\n\t(ORCPT <rfc822; netdev-outgoing>); Mon, 22 Sep 2008 17:14:43 -0400",
            "from smtp1.linux-foundation.org ([140.211.169.13]:42482 \"EHLO\n\tsmtp1.linux-foundation.org\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1753104AbYIVVOm (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 22 Sep 2008 17:14:42 -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 m8MLDDuD014806\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\n\tMon, 22 Sep 2008 14:13:14 -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\tm8MLAOQQ029900; Mon, 22 Sep 2008 14:10:24 -0700"
        ],
        "Message-Id": "<200809222110.m8MLAOQQ029900@imap1.linux-foundation.org>",
        "Subject": "[patch for 2.6.27? 09/10] drivers/net/hp-plus.c: fix build error",
        "To": "jeff@garzik.org",
        "Cc": "netdev@vger.kernel.org, akpm@linux-foundation.org,\n\trandy.dunlap@oracle.com",
        "From": "akpm@linux-foundation.org",
        "Date": "Mon, 22 Sep 2008 14:10:24 -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: Randy Dunlap <randy.dunlap@oracle.com>\n\nFix hp-plus build error (yet again; will it ever end?):\n\nhp-plus.c:(.init.text+0xa2cd): undefined reference to `NS8390p_init'\n\nSigned-off-by: Randy Dunlap <randy.dunlap@oracle.com>\nCc: Jeff Garzik <jeff@garzik.org>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\n---\n\n drivers/net/hp-plus.c |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff -puN drivers/net/hp-plus.c~drivers-net-hp-plusc-fix-build-error drivers/net/hp-plus.c\n--- a/drivers/net/hp-plus.c~drivers-net-hp-plusc-fix-build-error\n+++ a/drivers/net/hp-plus.c\n@@ -262,7 +262,7 @@ static int __init hpp_probe1(struct net_\n \t}\n \n \toutw(Perf_Page, ioaddr + HP_PAGING);\n-\tNS8390p_init(dev, 0);\n+\tNS8390_init(dev, 0);\n \t/* Leave the 8390 and HP chip reset. */\n \toutw(inw(ioaddr + HPP_OPTION) & ~EnableIRQ, ioaddr + HPP_OPTION);\n \n",
    "prefixes": [
        "for",
        "2.6.27?",
        "09/10"
    ]
}