get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110128,
    "url": "http://patchwork.ozlabs.org/api/patches/110128/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1313462527-3876-4-git-send-email-agnel.joel@gmail.com/",
    "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": "<1313462527-3876-4-git-send-email-agnel.joel@gmail.com>",
    "list_archive_url": null,
    "date": "2011-08-16T02:42:04",
    "name": "[U-Boot,4/7] led: correct off/on locations in structure",
    "commit_ref": "4086b51cb7eac451f96130affbc17094a9e7b75a",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "af284d6a16b98204dda4657d7c21b08fc5f9f7e9",
    "submitter": {
        "id": 8387,
        "url": "http://patchwork.ozlabs.org/api/people/8387/?format=api",
        "name": "Joel Fernandes",
        "email": "agnel.joel@gmail.com"
    },
    "delegate": {
        "id": 1713,
        "url": "http://patchwork.ozlabs.org/api/users/1713/?format=api",
        "username": "spaulraj",
        "first_name": "Sandeep",
        "last_name": "Paulraj",
        "email": "s-paulraj@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1313462527-3876-4-git-send-email-agnel.joel@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/110128/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/110128/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 41EF9B6F77\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Aug 2011 12:44:26 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id C5A90280AF;\n\tTue, 16 Aug 2011 04:44:24 +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 DWaItQjRFnTS; Tue, 16 Aug 2011 04:44:24 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 360D828091;\n\tTue, 16 Aug 2011 04:44:22 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id D005128091\n\tfor <u-boot@lists.denx.de>; Tue, 16 Aug 2011 04:44:20 +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 owaKRZfps6ni for <u-boot@lists.denx.de>;\n\tTue, 16 Aug 2011 04:44:20 +0200 (CEST)",
            "from mail-gw0-f44.google.com (mail-gw0-f44.google.com\n\t[74.125.83.44])\n\tby theia.denx.de (Postfix) with ESMTPS id 7435B28086\n\tfor <u-boot@lists.denx.de>; Tue, 16 Aug 2011 04:44:12 +0200 (CEST)",
            "by gwb20 with SMTP id 20so3319423gwb.3\n\tfor <u-boot@lists.denx.de>; Mon, 15 Aug 2011 19:44:11 -0700 (PDT)",
            "by 10.90.219.11 with SMTP id r11mr4487958agg.180.1313462651635;\n\tMon, 15 Aug 2011 19:44:11 -0700 (PDT)",
            "from localhost.localdomain\n\t(ip65-46-142-190.z142-46-65.customer.algx.net [65.46.142.190])\n\tby mx.google.com with ESMTPS id t11sm2208874and.3.2011.08.15.19.44.07\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tMon, 15 Aug 2011 19:44:11 -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)",
        "From": "Joel A Fernandes <agnel.joel@gmail.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Mon, 15 Aug 2011 21:42:04 -0500",
        "Message-Id": "<1313462527-3876-4-git-send-email-agnel.joel@gmail.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<1313462527-3876-1-git-send-email-agnel.joel@gmail.com>",
        "References": "<1313462527-3876-1-git-send-email-agnel.joel@gmail.com>",
        "Cc": "Koen Kooi <koen@dominion.thruhere.net>,\n\tSyed Mohammed Khasim <khasim@ti.com>, k-kooi@ti.com, jdk@ti.com",
        "Subject": "[U-Boot] [PATCH 4/7] led: correct off/on locations in structure",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.9",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/listinfo/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": "From: Jason Kridner <jkridner@beagleboard.org>\n\nAlthough the initialization should probably be done with names, the\nexisting implementation has these structures filled in the opposite\norder.\n\nSigned-off-by: Jason Kridner <jkridner@beagleboard.org>\nSigned-off-by: Koen Kooi <koen@dominion.thruhere.net>\nSigned-off-by: Joel A Fernandes <agnel.joel@gmail.com>\n---\n common/cmd_led.c |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/common/cmd_led.c b/common/cmd_led.c\nindex 8b46848..d14dd5a 100644\n--- a/common/cmd_led.c\n+++ b/common/cmd_led.c\n@@ -34,8 +34,8 @@\n struct led_tbl_s {\n \tchar\t\t*string;\t/* String for use in the command */\n \tled_id_t\tmask;\t\t/* Mask used for calling __led_set() */\n-\tvoid\t\t(*on)(void);\t/* Optional fucntion for turning LED on */\n-\tvoid\t\t(*off)(void);\t/* Optional fucntion for turning LED on */\n+\tvoid\t\t(*off)(void);\t/* Optional function for turning LED off */\n+\tvoid\t\t(*on)(void);\t/* Optional function for turning LED on */\n };\n \n typedef struct led_tbl_s led_tbl_t;\n",
    "prefixes": [
        "U-Boot",
        "4/7"
    ]
}