get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806328,
    "url": "http://patchwork.ozlabs.org/api/patches/806328/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170828001711.19662-2-andrew@aj.id.au/",
    "project": {
        "id": 37,
        "url": "http://patchwork.ozlabs.org/api/projects/37/?format=api",
        "name": "Devicetree Bindings",
        "link_name": "devicetree-bindings",
        "list_id": "devicetree.vger.kernel.org",
        "list_email": "devicetree@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170828001711.19662-2-andrew@aj.id.au>",
    "list_archive_url": null,
    "date": "2017-08-28T00:17:10",
    "name": "[v2,1/2] dt-bindings: leds: gpio: Add optional retain-state-shutdown property",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "1798225d1607a2a0c0d8ab545aea3f39502446d9",
    "submitter": {
        "id": 68332,
        "url": "http://patchwork.ozlabs.org/api/people/68332/?format=api",
        "name": "Andrew Jeffery",
        "email": "andrew@aj.id.au"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170828001711.19662-2-andrew@aj.id.au/mbox/",
    "series": [
        {
            "id": 54,
            "url": "http://patchwork.ozlabs.org/api/series/54/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=54",
            "date": "2017-08-28T00:17:10",
            "name": "leds: gpio: Allow retaining state on shutdown",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/54/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806328/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806328/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<devicetree-owner@vger.kernel.org>",
        "X-Original-To": "incoming-dt@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-dt@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=aj.id.au header.i=@aj.id.au header.b=\"hvaMUUt6\";\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com\n\theader.b=\"Dl9h4bKa\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgXRy73m7z9s8J\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 10:18:38 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751870AbdH1ASK (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tSun, 27 Aug 2017 20:18:10 -0400",
            "from out2-smtp.messagingengine.com ([66.111.4.26]:39045 \"EHLO\n\tout2-smtp.messagingengine.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751726AbdH1ASH (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Sun, 27 Aug 2017 20:18:07 -0400",
            "from compute4.internal (compute4.nyi.internal [10.202.2.44])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 7D10620A59;\n\tSun, 27 Aug 2017 20:18:06 -0400 (EDT)",
            "from frontend2 ([10.202.2.161])\n\tby compute4.internal (MEProxy); Sun, 27 Aug 2017 20:18:06 -0400",
            "from keelia.aj.id.au\n\t(ppp118-210-176-216.bras2.adl6.internode.on.net [118.210.176.216])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 4C02C24A82;\n\tSun, 27 Aug 2017 20:18:01 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc\n\t:date:from:in-reply-to:message-id:references:subject:to\n\t:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=f2BkUl\n\tDyMX57IrbII8xjZq11RcSmikYwYAsMWtUcSYI=; b=hvaMUUt6H2ZxR59fNyXEZ6\n\t0ZXI2LZnlcXaVzqUHmNSbZS9udAvb7bwV5GeioeXE8/lJuOgmnhfxHAUHSX4PIgn\n\tu4ui41i8QHnTrx3QkrFBLTIpl7G+2zHyp1x4XJxbZ5jwGLFt/CZLq9CLrrnumhO2\n\tG34yrPjGky/keTLjbcpMZUD4M4kA+Tor1ug3+yKHBBqiNexjp3OBF2WBB+Zhwciu\n\tkqSjkQX1e2amIqUmZSvQwJ4Gdd71cCWjILhIHDoGU23otbO9WwrRZoND3WyXC0pC\n\t2XzpJEOuRr9Xs4r4UO5+D74wB3NIcdqKFUvGrPQBS9MsuVfzGT0QuYRGnx7kT4yw\n\t==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:date:from:in-reply-to:message-id\n\t:references:subject:to:x-me-sender:x-me-sender:x-sasl-enc\n\t:x-sasl-enc; s=fm1; bh=f2BkUlDyMX57IrbII8xjZq11RcSmikYwYAsMWtUcS\n\tYI=; b=Dl9h4bKa3HQsw9+q0mbrDsqM9WV7riZHouAcOOEihQuIkw6ISJ/Zc0O6N\n\twnQL7p4ahI6U231raQUpHN7m5kCJa+SeFlBfcM/0kpj5DtzEX+0gt1jQqXU+2jp7\n\t1VWUEVGeBPn7HAuGTBeme+yEeltGGYYTwhJg3c1zowzl/IKTyaUEbO3Fdvq6mNSH\n\t3t36OUrXs41TzW8GlgeIHQMq576dLUj5rSfUu7utr+gYmgiTuMjfYexcxlKUL4zJ\n\tQH1GuUfm2lzKcl1wVWXr+fbz9eJz3u5V2xe0jbbN72FLfhjOl2fUVTfF5AsToFCh\n\tlXYGMFdAot52b4KyZ+kVITuNw/KMA=="
        ],
        "X-ME-Sender": "<xms:PmGjWfi8VpS3geOXYqGjWRvvAuM4MG5uUjR2b2iRuMUbrfssT5dZrw>",
        "X-Sasl-enc": "+GjhHp1iqk2VRWlwOmqnqqRtqZgPH4lkj1s8xIGc7TtB 1503879485",
        "From": "Andrew Jeffery <andrew@aj.id.au>",
        "To": "linux-leds@vger.kernel.org",
        "Cc": "Andrew Jeffery <andrew@aj.id.au>, rpurdie@rpsys.net,\n\tjacek.anaszewski@gmail.com, pavel@ucw.cz, robh+dt@kernel.org,\n\tmark.rutland@arm.com, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, joel@jms.id.au, openbmc@lists.ozlabs.org",
        "Subject": "[PATCH v2 1/2] dt-bindings: leds: gpio: Add optional\n\tretain-state-shutdown property",
        "Date": "Mon, 28 Aug 2017 09:47:10 +0930",
        "Message-Id": "<20170828001711.19662-2-andrew@aj.id.au>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170828001711.19662-1-andrew@aj.id.au>",
        "References": "<20170828001711.19662-1-andrew@aj.id.au>",
        "Sender": "devicetree-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<devicetree.vger.kernel.org>",
        "X-Mailing-List": "devicetree@vger.kernel.org"
    },
    "content": "On Baseboard Management Controller (BMC) systems it's sometimes\nnecessary for a LED to retain its state across a BMC reset (which is\nindependent of the host system state). Add a devicetree property to\ndescribe this behaviour. The property would typically be used in\nconjunction with 'default-state = \"keep\"'.\n\nSigned-off-by: Andrew Jeffery <andrew@aj.id.au>\n---\n Documentation/devicetree/bindings/leds/leds-gpio.txt | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/Documentation/devicetree/bindings/leds/leds-gpio.txt b/Documentation/devicetree/bindings/leds/leds-gpio.txt\nindex 76535ca37120..a48dda268f81 100644\n--- a/Documentation/devicetree/bindings/leds/leds-gpio.txt\n+++ b/Documentation/devicetree/bindings/leds/leds-gpio.txt\n@@ -18,6 +18,9 @@ LED sub-node properties:\n   see Documentation/devicetree/bindings/leds/common.txt\n - retain-state-suspended: (optional) The suspend state can be retained.Such\n   as charge-led gpio.\n+- retain-state-shutdown: (optional) Retain the state of the LED on shutdown.\n+  Useful in BMC systems, for example when the BMC is rebooted while the host\n+  remains up.\n - panic-indicator : (optional)\n   see Documentation/devicetree/bindings/leds/common.txt\n \n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}