Show a patch.

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

{
    "id": 26870,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/26870/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26870/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20260611011722.1767689-6-laurent.pinchart@ideasonboard.com>",
    "date": "2026-06-11T01:17:21",
    "name": "[5/6] libcamera: global_configuration: Drop \"YAML\" from function documentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "1ee4bec8d299f2ef2e6782d52923c4c926c8adc1",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26870/mbox/",
    "series": [
        {
            "id": 5986,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5986/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5986",
            "date": "2026-06-11T01:17:16",
            "name": "libcamera: Drop legacy mentions of YAML",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5986/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26870/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26870/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 18412C3300\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 11 Jun 2026 01:17:34 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7C07261F40;\n\tThu, 11 Jun 2026 03:17:34 +0200 (CEST)",
            "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 87CEB61F40\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 11 Jun 2026 03:17:30 +0200 (CEST)",
            "from killaraus.ideasonboard.com\n\t(2001-14ba-70f3-e800--a06.rev.dnainternet.fi\n\t[IPv6:2001:14ba:70f3:e800::a06])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id EFEBF673\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 11 Jun 2026 03:17:00 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"wLlB1QVT\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1781140621;\n\tbh=lFNMkO5+jBe/Z3V6S6cMMoYj7AYz1ckX7F+A6GUsVrg=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=wLlB1QVTgsjwaXpl1rQM5nCxTk3cW9d2MU2cIYu1uHVxRPsS9ffqKc4lVZvCqoDVd\n\tf3F3e91LS/n6enNP+7zoJ87Phk270uGDRkwzgjEMpid5W6D/HRTLCQdHm3VAZeIR8W\n\tInzdZ/SnpegS04g1l5K8wmC84NcOBwSC0SRfZk88=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH 5/6] libcamera: global_configuration: Drop \"YAML\" from\n\tfunction documentation",
        "Date": "Thu, 11 Jun 2026 04:17:21 +0300",
        "Message-ID": "<20260611011722.1767689-6-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260611011722.1767689-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20260611011722.1767689-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/global_configuration.cpp | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/src/libcamera/global_configuration.cpp b/src/libcamera/global_configuration.cpp\nindex 46a285c3c4ea..6556cc524424 100644\n--- a/src/libcamera/global_configuration.cpp\n+++ b/src/libcamera/global_configuration.cpp\n@@ -258,7 +258,7 @@ unsigned int GlobalConfiguration::version() const\n  * \\brief Retrieve the libcamera global configuration\n  *\n  * This returns the whole configuration stored in the top-level section\n- * `%configuration` of the YAML configuration file.\n+ * `%configuration` of the configuration file.\n  *\n  * The requested part of the configuration can be accessed using \\a ValueNode\n  * methods.\n@@ -274,7 +274,7 @@ const ValueNode &GlobalConfiguration::configuration() const\n  * \\fn std::optional<T> GlobalConfiguration::option(const std::initializer_list<std::string_view> &confPath) const\n  * \\brief Retrieve the value of configuration option \\a confPath\n  * \\tparam T The type of the retrieved configuration value\n- * \\param[in] confPath Sequence of the YAML section names (excluding\n+ * \\param[in] confPath Sequence of the section names (excluding\n  * `%configuration`) leading to the requested option\n  * \\return The value of the configuration item corresponding to \\a confPath if\n  * it exists in the configuration file, or no value otherwise\n@@ -282,7 +282,7 @@ const ValueNode &GlobalConfiguration::configuration() const\n \n /**\n  * \\brief Retrieve the value of configuration option \\a confPath\n- * \\param[in] confPath Sequence of the YAML section names (excluding\n+ * \\param[in] confPath Sequence of the section names (excluding\n  * `%configuration`) leading to the requested list option, separated by dots\n  * \\return A vector of strings or no value if not found\n  */\n",
    "prefixes": [
        "5/6"
    ]
}