get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 811584,
    "url": "http://patchwork.ozlabs.org/api/patches/811584/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170908131822.31020-11-sakari.ailus@linux.intel.com/",
    "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": "<20170908131822.31020-11-sakari.ailus@linux.intel.com>",
    "list_archive_url": null,
    "date": "2017-09-08T13:18:13",
    "name": "[v9,15/24] dt: bindings: Add a binding for flash LED devices associated to a sensor",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f8af8706a543008e4ec4f644c8cd1c90921f6541",
    "submitter": {
        "id": 65485,
        "url": "http://patchwork.ozlabs.org/api/people/65485/?format=api",
        "name": "Sakari Ailus",
        "email": "sakari.ailus@linux.intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170908131822.31020-11-sakari.ailus@linux.intel.com/mbox/",
    "series": [
        {
            "id": 2205,
            "url": "http://patchwork.ozlabs.org/api/series/2205/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=2205",
            "date": "2017-09-08T13:11:51",
            "name": "Unified fwnode endpoint parser, async sub-device notifier support, N9 flash DTS",
            "version": 9,
            "mbox": "http://patchwork.ozlabs.org/series/2205/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/811584/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/811584/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>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xpdFV5l4pz9s4s\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 23:19:10 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1756117AbdIHNTF (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 8 Sep 2017 09:19:05 -0400",
            "from nblzone-211-213.nblnetworks.fi ([83.145.211.213]:47510 \"EHLO\n\thillosipuli.retiisi.org.uk\" rhost-flags-OK-OK-OK-FAIL)\n\tby vger.kernel.org with ESMTP id S1756083AbdIHNSa (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 8 Sep 2017 09:18:30 -0400",
            "from lanttu.localdomain (unknown\n\t[IPv6:2001:1bc8:1a6:d3d5::e1:1002])\n\tby hillosipuli.retiisi.org.uk (Postfix) with ESMTP id EF34A600FB;\n\tFri,  8 Sep 2017 16:18:27 +0300 (EEST)"
        ],
        "From": "Sakari Ailus <sakari.ailus@linux.intel.com>",
        "To": "linux-media@vger.kernel.org",
        "Cc": "niklas.soderlund@ragnatech.se, robh@kernel.org, hverkuil@xs4all.nl,\n\tlaurent.pinchart@ideasonboard.com, linux-acpi@vger.kernel.org,\n\tmika.westerberg@intel.com, devicetree@vger.kernel.org,\n\tpavel@ucw.cz, sre@kernel.org",
        "Subject": "[PATCH v9 15/24] dt: bindings: Add a binding for flash LED devices\n\tassociated to a sensor",
        "Date": "Fri,  8 Sep 2017 16:18:13 +0300",
        "Message-Id": "<20170908131822.31020-11-sakari.ailus@linux.intel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170908131235.30294-1-sakari.ailus@linux.intel.com>",
        "References": "<20170908131235.30294-1-sakari.ailus@linux.intel.com>",
        "Sender": "devicetree-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<devicetree.vger.kernel.org>",
        "X-Mailing-List": "devicetree@vger.kernel.org"
    },
    "content": "Camera flash drivers (and LEDs) are separate from the sensor devices in\nDT. In order to make an association between the two, provide the\nassociation information to the software.\n\nSigned-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>\nAcked-by: Rob Herring <robh@kernel.org>\nAcked-by: Hans Verkuil <hans.verkuil@cisco.com>\n---\n Documentation/devicetree/bindings/media/video-interfaces.txt | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt\nindex 852041a7480c..fdba30479b47 100644\n--- a/Documentation/devicetree/bindings/media/video-interfaces.txt\n+++ b/Documentation/devicetree/bindings/media/video-interfaces.txt\n@@ -67,6 +67,14 @@ are required in a relevant parent node:\n \t\t    identifier, should be 1.\n  - #size-cells    : should be zero.\n \n+\n+Optional properties\n+-------------------\n+\n+- flash-leds: An array of phandles, each referring to a flash LED, a sub-node\n+  of the LED driver device node.\n+\n+\n Optional endpoint properties\n ----------------------------\n \n",
    "prefixes": [
        "v9",
        "15/24"
    ]
}