get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 189473,
    "url": "http://patchwork.ozlabs.org/api/patches/189473/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1349441933-22840-2-git-send-email-monstr@monstr.eu/",
    "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": "<1349441933-22840-2-git-send-email-monstr@monstr.eu>",
    "list_archive_url": null,
    "date": "2012-10-05T12:58:51",
    "name": "[U-Boot,2/4] microblaze: Fix byteorder for microblaze",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "80b9b5c10bc46f27ca49311acb095d45b596ee9e",
    "submitter": {
        "id": 2237,
        "url": "http://patchwork.ozlabs.org/api/people/2237/?format=api",
        "name": "Michal Simek",
        "email": "monstr@monstr.eu"
    },
    "delegate": {
        "id": 1692,
        "url": "http://patchwork.ozlabs.org/api/users/1692/?format=api",
        "username": "monstr",
        "first_name": "Michal",
        "last_name": "Simek",
        "email": "monstr@monstr.eu"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1349441933-22840-2-git-send-email-monstr@monstr.eu/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/189473/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/189473/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 9DFE02C0332\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  5 Oct 2012 22:59:25 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 5F6C42809A;\n\tFri,  5 Oct 2012 14:59:17 +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 SyAKVKKUa3uI; Fri,  5 Oct 2012 14:59:17 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 016DA2809C;\n\tFri,  5 Oct 2012 14:59:08 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 1A8252808D\n\tfor <u-boot@lists.denx.de>; Fri,  5 Oct 2012 14:58:59 +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 Vb2J6qPs5fWJ for <u-boot@lists.denx.de>;\n\tFri,  5 Oct 2012 14:58:58 +0200 (CEST)",
            "from mail-wg0-f52.google.com (mail-wg0-f52.google.com\n\t[74.125.82.52])\n\tby theia.denx.de (Postfix) with ESMTPS id 97D872808C\n\tfor <u-boot@lists.denx.de>; Fri,  5 Oct 2012 14:58:56 +0200 (CEST)",
            "by mail-wg0-f52.google.com with SMTP id fg15so1314686wgb.9\n\tfor <u-boot@lists.denx.de>; Fri, 05 Oct 2012 05:58:56 -0700 (PDT)",
            "by 10.180.8.41 with SMTP id o9mr3317404wia.3.1349441936605;\n\tFri, 05 Oct 2012 05:58:56 -0700 (PDT)",
            "from localhost (nat-2.starnet.cz. [92.62.224.2])\n\tby mx.google.com with ESMTPS id ei1sm2238440wid.7.2012.10.05.05.58.55\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tFri, 05 Oct 2012 05:58:56 -0700 (PDT)"
        ],
        "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-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=google.com; s=20120113;\n\th=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\n\t:x-gm-message-state;\n\tbh=0b0BqOpUk7jM6PTA7IJBM5s3pnA0fUoaEm4nN7QSDYw=;\n\tb=o7g4bzkStAbuAl079b4p9M5dJc0I0y091dGJemDBDp30xL+FqE7Yctf4GT4A2i/7Q0\n\tJRxY5Zx9c/1W0kFkV30mlGnm5fIKuhxo382NLlYIFOcdv7HLaBii6DwNhA/ScMCjnhse\n\tJwprlPu5ZGoSsBvw9CX420OjwCCAusjzNOJSsFbeLWWVkpYvQlzcK8QGqO2slgcR48FY\n\tGIwVzjTmXCjC1AIFKIEZsG2vU5NWSTpptCp9YM/1fOF/lm0iVWPmPZo7qRASM7S5aUgZ\n\tNZgdZgmkmskVFOnaOJ/VBYkDabm/zGVQUIajJUdXrbT/FwKmsWdLtLr48dnaW2bhmDaG\n\tmoMw==",
        "From": "Michal Simek <monstr@monstr.eu>",
        "To": "u-boot@lists.denx.de",
        "Date": "Fri,  5 Oct 2012 14:58:51 +0200",
        "Message-Id": "<1349441933-22840-2-git-send-email-monstr@monstr.eu>",
        "X-Mailer": "git-send-email 1.7.0.4",
        "In-Reply-To": "<1349441933-22840-1-git-send-email-monstr@monstr.eu>",
        "References": "<1349441933-22840-1-git-send-email-monstr@monstr.eu>",
        "X-Gm-Message-State": "ALoCoQlWmcFDnF/92cxIlwlphnHzJLd0ck2H+5E5zxYKX0JGrHuRjflNhSBB1LTLqxtECsMnUoBc",
        "Subject": "[U-Boot] [PATCH 2/4] microblaze: Fix byteorder for microblaze",
        "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": "Just remove ancient code.\n\nSigned-off-by: Michal Simek <monstr@monstr.eu>\n---\n arch/microblaze/include/asm/byteorder.h |   23 -----------------------\n 1 files changed, 0 insertions(+), 23 deletions(-)",
    "diff": "diff --git a/arch/microblaze/include/asm/byteorder.h b/arch/microblaze/include/asm/byteorder.h\nindex b2757a4..f3a471d 100644\n--- a/arch/microblaze/include/asm/byteorder.h\n+++ b/arch/microblaze/include/asm/byteorder.h\n@@ -20,29 +20,6 @@\n \n #ifdef __GNUC__\n \n-/* This is effectively a dupe of the arch-independent byteswap\n-   code in include/linux/byteorder/swab.h, however we force a cast\n-   of the result up to 32 bits.  This in turn forces the compiler\n-   to explicitly clear the high 16 bits, which it wasn't doing otherwise.\n-\n-   I think this is a symptom of a bug in mb-gcc.  JW 20040303\n-*/\n-\n-\n-static __inline__ __u16 ___arch__swab16 (__u16 half_word)\n-{\n-\t/* 32 bit temp to cast result, forcing clearing of high word */\n-\t__u32 temp;\n-\n-\ttemp = ((half_word & 0x00FFU) << 8) | ((half_word & 0xFF00U) >> 8);\n-\n-\treturn (__u16) temp;\n-}\n-\n-#define __arch__swab16(x) ___arch__swab16(x)\n-\n-/* Microblaze has no arch-specific endian conversion insns */\n-\n #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)\n #  define __BYTEORDER_HAS_U64__\n #  define __SWAB_64_THRU_32__\n",
    "prefixes": [
        "U-Boot",
        "2/4"
    ]
}