get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110254,
    "url": "http://patchwork.ozlabs.org/api/patches/110254/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1313537939-12767-1-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": "<1313537939-12767-1-git-send-email-agnel.joel@gmail.com>",
    "list_archive_url": null,
    "date": "2011-08-16T23:38:59",
    "name": "[U-Boot,v2,5/7] led: Fixed setting of STATUS_LED_BIT1 when led_name is 'all'",
    "commit_ref": "d604cda34ab2190fb07a1134bb488105e1a2f9c3",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "da31cb399474b92f2f15466e430ca60ee20dd7f2",
    "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/1313537939-12767-1-git-send-email-agnel.joel@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/110254/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/110254/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 3C028B6F85\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 17 Aug 2011 09:39:24 +1000 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 48CBD28088;\n\tWed, 17 Aug 2011 01:39: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 wfU3Pugv5s1K; Wed, 17 Aug 2011 01:39:19 +0200 (CEST)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 58B4228083;\n\tWed, 17 Aug 2011 01:39:17 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 53AA228083\n\tfor <u-boot@lists.denx.de>; Wed, 17 Aug 2011 01:39:14 +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 tsCYav55Hnmx for <u-boot@lists.denx.de>;\n\tWed, 17 Aug 2011 01:39:12 +0200 (CEST)",
            "from mail-yx0-f172.google.com (mail-yx0-f172.google.com\n\t[209.85.213.172])\n\tby theia.denx.de (Postfix) with ESMTPS id 1439628082\n\tfor <u-boot@lists.denx.de>; Wed, 17 Aug 2011 01:39:10 +0200 (CEST)",
            "by yxp4 with SMTP id 4so333260yxp.3\n\tfor <u-boot@lists.denx.de>; Tue, 16 Aug 2011 16:39:08 -0700 (PDT)",
            "by 10.236.75.193 with SMTP id z41mr1242480yhd.15.1313537948146;\n\tTue, 16 Aug 2011 16:39:08 -0700 (PDT)",
            "from localhost.localdomain (cpe-76-184-244-226.tx.res.rr.com\n\t[76.184.244.226])\n\tby mx.google.com with ESMTPS id c63sm643370yhe.4.2011.08.16.16.39.05\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tTue, 16 Aug 2011 16:39:07 -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": "Tue, 16 Aug 2011 18:38:59 -0500",
        "Message-Id": "<1313537939-12767-1-git-send-email-agnel.joel@gmail.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "Cc": "Syed Mohammed Khasim <khasim@ti.com>, k-kooi@ti.com, jdk@ti.com",
        "Subject": "[U-Boot] [PATCH v2 5/7] led: Fixed setting of STATUS_LED_BIT1 when\n\tled_name is 'all'",
        "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": "Fix for only one led getting set or reset when the led_name is 'all'\n\nPrevious discussion:\nhttp://lists.denx.de/pipermail/u-boot/2011-May/093068.html\n\nChanges since v1:\nFixed checkpatch if statement error noticed by Sergei.\n\nSigned-off-by: Joel A Fernandes <agnel.joel@gmail.com>\nSigned-off-by: Jason Kridner <jkridner@beagleboard.org>\nCc: Sergei Shtylyov <sshtylyov@mvista.com>\n---\n common/cmd_led.c |    4 +++-\n 1 files changed, 3 insertions(+), 1 deletions(-)",
    "diff": "diff --git a/common/cmd_led.c b/common/cmd_led.c\nindex d14dd5a..183dc0b 100644\n--- a/common/cmd_led.c\n+++ b/common/cmd_led.c\n@@ -108,7 +108,9 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])\n \t\t\t} else {\n \t\t\t\t__led_set(led_commands[i].mask, state);\n \t\t\t}\n-\t\t\tbreak;\n+\t\t\t/* Need to set only 1 led if led_name wasn't 'all' */\n+\t\t\tif (strcmp(\"all\", argv[1]) != 0)\n+\t\t\t\tbreak;\n \t\t}\n \t}\n \n",
    "prefixes": [
        "U-Boot",
        "v2",
        "5/7"
    ]
}