get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1152,
    "url": "http://patchwork.ozlabs.org/api/patches/1152/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20080923183215.GA25629@oksana.dev.rtsoft.ru/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<20080923183215.GA25629@oksana.dev.rtsoft.ru>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20080923183215.GA25629@oksana.dev.rtsoft.ru/",
    "date": "2008-09-23T18:32:15",
    "name": "[1/2] USB: Protect hcd.h from multiple inclusions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f62fac5bcb4f4707a127c4893bd98fd83333fed2",
    "submitter": {
        "id": 45,
        "url": "http://patchwork.ozlabs.org/api/people/45/?format=api",
        "name": "Anton Vorontsov",
        "email": "avorontsov@ru.mvista.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20080923183215.GA25629@oksana.dev.rtsoft.ru/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/1152/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1152/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id 37D7DDE50B\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 24 Sep 2008 04:32:30 +1000 (EST)",
            "from buildserver.ru.mvista.com (unknown [85.21.88.6])\n\tby ozlabs.org (Postfix) with ESMTP id 68B41DDED9\n\tfor <linuxppc-dev@ozlabs.org>; Wed, 24 Sep 2008 04:32:17 +1000 (EST)",
            "from localhost (unknown [10.150.0.9])\n\tby buildserver.ru.mvista.com (Postfix) with ESMTP\n\tid E367B882B; Tue, 23 Sep 2008 23:32:15 +0500 (SAMST)"
        ],
        "Date": "Tue, 23 Sep 2008 22:32:15 +0400",
        "From": "Anton Vorontsov <avorontsov@ru.mvista.com>",
        "To": "Andrew Morton <akpm@linux-foundation.org>",
        "Subject": "[PATCH 1/2] USB: Protect hcd.h from multiple inclusions",
        "Message-ID": "<20080923183215.GA25629@oksana.dev.rtsoft.ru>",
        "References": "<20080923183129.GA19024@oksana.dev.rtsoft.ru>",
        "MIME-Version": "1.0",
        "Content-Disposition": "inline",
        "In-Reply-To": "<20080923183129.GA19024@oksana.dev.rtsoft.ru>",
        "User-Agent": "Mutt/1.5.18 (2008-05-17)",
        "Cc": "David Brownell <dbrownell@users.sourceforge.net>,\n\tGreg Kroah-Hartman <greg@kroah.com>, linux-usb@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,\n\tLi Yang <leoli@freescale.com>, Timur Tabi <timur@freescale.com>",
        "X-BeenThere": "linuxppc-dev@ozlabs.org",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>",
        "List-Unsubscribe": "<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://ozlabs.org/pipermail/linuxppc-dev>",
        "List-Post": "<mailto:linuxppc-dev@ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@ozlabs.org?subject=help>",
        "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org"
    },
    "content": "This will let us use this header in other header files.\nWill be needed for the FHCI USB Host driver.\n\nSigned-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>\n---\n drivers/usb/core/hcd.h |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)",
    "diff": "diff --git a/drivers/usb/core/hcd.h b/drivers/usb/core/hcd.h\nindex e710ce0..66b64d7 100644\n--- a/drivers/usb/core/hcd.h\n+++ b/drivers/usb/core/hcd.h\n@@ -16,6 +16,8 @@\n  * Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n  */\n \n+#ifndef __USB_CORE_HCD_H\n+#define __USB_CORE_HCD_H\n \n #ifdef __KERNEL__\n \n@@ -483,3 +485,5 @@ static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,\n extern struct rw_semaphore ehci_cf_port_reset_rwsem;\n \n #endif /* __KERNEL__ */\n+\n+#endif /* __USB_CORE_HCD_H */\n",
    "prefixes": [
        "1/2"
    ]
}