get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 805784,
    "url": "http://patchwork.ozlabs.org/api/patches/805784/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170825063503.31577-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": "<20170825063503.31577-2-andrew@aj.id.au>",
    "list_archive_url": null,
    "date": "2017-08-25T06:35:02",
    "name": "[1/2] dt-bindings: leds: gpio: Add optional retain-state-shutdown property",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "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/20170825063503.31577-2-andrew@aj.id.au/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/805784/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/805784/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=\"kqLC+EK8\";\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=messagingengine.com\n\theader.i=@messagingengine.com\n\theader.b=\"QM464gPS\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xdrzS0WBdz9t24\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 16:36:36 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754285AbdHYGgI (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 25 Aug 2017 02:36:08 -0400",
            "from out2-smtp.messagingengine.com ([66.111.4.26]:38919 \"EHLO\n\tout2-smtp.messagingengine.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1754231AbdHYGgF (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 25 Aug 2017 02:36:05 -0400",
            "from compute4.internal (compute4.nyi.internal [10.202.2.44])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 8504C21479;\n\tFri, 25 Aug 2017 02:36:04 -0400 (EDT)",
            "from frontend1 ([10.202.2.160])\n\tby compute4.internal (MEProxy); Fri, 25 Aug 2017 02:36:04 -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 9EBBE7E1B4;\n\tFri, 25 Aug 2017 02:36:00 -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=NcTUM4\n\tEhpW7ne/3uFo+obaqRQHcFXtOdywhZSzQTpRM=; b=kqLC+EK8SWqx9CgaEjsIZx\n\tcnqYOvU4+nGYCM9LyucVFPAtf7QmulTYF9nx06NolRdOlAcZ6X5zB/xgdn/Mo4py\n\tzZ8UKMQJHQ3WpxWXMrQuZ+JRBvMe1EpjkYVRGqW6UmezLPXWvchebBTH5Zrj5Dfu\n\t6BFNZmBqNcQry0IH1mLCw/zNowU/+4YTY4bWs/MyfZUroVcJJ1AyOH2vhUrz/w3d\n\tYnMqJFmevPCqqWvCEkXh4kWGBss7DArqUiWEYW038bc1w8lATXGkZqnZfQj5JFrk\n\tOYn62lc+uPRZlQXv5klLcS5lMJTcrxCk/5MtIj5R6sVX73ORZLqRsi4nEKCqvY7Q\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=NcTUM4EhpW7ne/3uFo+obaqRQHcFXtOdywhZSzQTp\n\tRM=; b=QM464gPSgVo5/00yUz4RK5/AK+w4b9QhnJSH5APH9X/cQDnnqgo3tkpFG\n\tWsaZLJ4lDZsuk79NliwLgVtHUgXMvKj2HtTBqz62DriRKAV1LplKXopeYzH3pwZK\n\t+sp7mi2k32gZQBnQpV7fSai++xXeSGywGOyFQnmdpR+QOnc0K0myxf1dC7UkDwLz\n\t9dPDDzt17BsSoysK/8w4PelXBuebKxVsn3amgS+72BK7XITr9Wido2lI+k6RxB/k\n\tY6MR8SIt/jVVR1Dw1quagVaytVUWGnBSNDsbKCTyXuvEaga8Xz716zx5fdNxRiCF\n\tpFG12gf9P0DyrRmzjzPVv9Hf31yuA=="
        ],
        "X-ME-Sender": "<xms:VMWfWWCZ7yHYdH-pyREz1oJXxVHBZ1UDpNE3_aqwYMwuEcRtS8jGug>",
        "X-Sasl-enc": "JzDY7hYVZZSzW2hiCXhbgCZ2kQvemiy5xwYzOJzvPEGD 1503642963",
        "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 1/2] dt-bindings: leds: gpio: Add optional\n\tretain-state-shutdown property",
        "Date": "Fri, 25 Aug 2017 16:05:02 +0930",
        "Message-Id": "<20170825063503.31577-2-andrew@aj.id.au>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170825063503.31577-1-andrew@aj.id.au>",
        "References": "<20170825063503.31577-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 BMC systems it's sometimes necessary for a LED to retain its state\nacross a BMC reset (which is independent of the host system state). Add\na devicetree property to describe this behaviour. The property would\ntypically be used in conjunction 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": [
        "1/2"
    ]
}