Show a patch.

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

{
    "id": 3683,
    "url": "https://patchwork.libcamera.org/api/patches/3683/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3683/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20200504092829.10099-2-laurent.pinchart@ideasonboard.com>",
    "date": "2020-05-04T09:28:24",
    "name": "[libcamera-devel,1/6] LICENSES: Add BSD-2-Clause license",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8dcc25ddea0f4539e6c2afc513d8977cf880a89e",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/3683/mbox/",
    "series": [
        {
            "id": 880,
            "url": "https://patchwork.libcamera.org/api/series/880/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=880",
            "date": "2020-05-04T09:28:23",
            "name": "libcamera: Raspberry Pi camera support",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/880/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3683/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3683/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<laurent.pinchart@ideasonboard.com>",
        "Received": [
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 51944603F2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  4 May 2020 11:28:38 +0200 (CEST)",
            "from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi\n\t[81.175.216.236])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id C0EFE4F7;\n\tMon,  4 May 2020 11:28:37 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"Bw5XBvq8\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1588584518;\n\tbh=9JbbUN6yVJD7mX2oEUwHA7gtmEuMM1xMW4Yk7+fqwm4=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=Bw5XBvq8xfdA3qnch0sUxAsfFOK5sYIR4Lkl6eyxFWUfGePKskR7t6CeviyLbivpv\n\teUUS23B/Y1s1F6p3OuGrrzp0vk8/MzxcMgWuOAqsGFLVN2Zfd9R7lVIwfrIHbAMkwe\n\tXo2O21WSkT1RRu5vBxLJSdGg5N0czugzz5DuZwJk=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon,  4 May 2020 12:28:24 +0300",
        "Message-Id": "<20200504092829.10099-2-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20200504092829.10099-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20200504092829.10099-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 1/6] LICENSES: Add BSD-2-Clause license",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "X-List-Received-Date": "Mon, 04 May 2020 09:28:38 -0000"
    },
    "content": "In preparation for new code covered by the BSD-2-Clause license, add it\nto the LICENSES directory.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n LICENSES/BSD-2-Clause.txt | 22 ++++++++++++++++++++++\n 1 file changed, 22 insertions(+)\n create mode 100644 LICENSES/BSD-2-Clause.txt",
    "diff": "diff --git a/LICENSES/BSD-2-Clause.txt b/LICENSES/BSD-2-Clause.txt\nnew file mode 100644\nindex 000000000000..2d2bab1127b0\n--- /dev/null\n+++ b/LICENSES/BSD-2-Clause.txt\n@@ -0,0 +1,22 @@\n+Copyright (c) <year> <owner>. All rights reserved.\n+\n+Redistribution and use in source and binary forms, with or without modification,\n+are permitted provided that the following conditions are met:\n+\n+1. Redistributions of source code must retain the above copyright notice,\n+this list of conditions and the following disclaimer.\n+\n+2. Redistributions in binary form must reproduce the above copyright notice,\n+this list of conditions and the following disclaimer in the documentation\n+and/or other materials provided with the distribution.\n+\n+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n+USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n",
    "prefixes": [
        "libcamera-devel",
        "1/6"
    ]
}