Show a patch.

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

{
    "id": 2823,
    "url": "https://patchwork.libcamera.org/api/patches/2823/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/2823/",
    "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": "<20200213153635.27953-12-laurent.pinchart@ideasonboard.com>",
    "date": "2020-02-13T15:36:35",
    "name": "[libcamera-devel,PATCH/RFC,11/11] licenses: Add SPDX headers to Gentoo ebuild",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8784dad7a57f9c16621df6a187533141a93c11b5",
    "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/2823/mbox/",
    "series": [
        {
            "id": 671,
            "url": "https://patchwork.libcamera.org/api/series/671/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=671",
            "date": "2020-02-13T15:36:24",
            "name": "Improve license information",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/671/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/2823/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/2823/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 E3A67619E1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Feb 2020 16:37:00 +0100 (CET)",
            "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 2AFFD9D3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Feb 2020 16:37:00 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1581608220;\n\tbh=xP1zLDNeuaAUWFjjX/HJQHGBIOg+AuveoezN4Jy3VwA=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=HRZakWDOb2Y0oQDYQ/CVmDVasVv2d4p8bE/f2HIgYqZIdmV1Qi/nBoLaiPzz+2ahG\n\t59C/dWN3I6jAkJIEZSctZNBKnCnaDBRegFJpsxdXfNCdbnfHoegy0Bd4YHqgLrTPCt\n\t5C3LU9d7Rpf4lRanaR2F1w422bnRNK8gWFcF49s8=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 13 Feb 2020 17:36:35 +0200",
        "Message-Id": "<20200213153635.27953-12-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.24.1",
        "In-Reply-To": "<20200213153635.27953-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20200213153635.27953-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH/RFC 11/11] licenses: Add SPDX headers to\n\tGentoo ebuild",
        "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": "Thu, 13 Feb 2020 15:37:01 -0000"
    },
    "content": "Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n package/gentoo/media-libs/libcamera/libcamera-9999.ebuild | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild\nindex fc241b1f5584..b336932ef321 100644\n--- a/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild\n+++ b/package/gentoo/media-libs/libcamera/libcamera-9999.ebuild\n@@ -1,5 +1,5 @@\n+# SPDX-License-Identifier: GPL-2.0-only\n # Copyright 2019 Google Inc.\n-# Distributed under the terms of the GNU General Public License v2\n \n EAPI=6\n PYTHON_COMPAT=( python3_{5,6,7} )\n",
    "prefixes": [
        "libcamera-devel",
        "PATCH/RFC",
        "11/11"
    ]
}