Show a patch.

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

{
    "id": 512,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/512/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/512/",
    "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": "<20190205171010.1356-2-jacopo@jmondi.org>",
    "date": "2019-02-05T17:10:08",
    "name": "[libcamera-devel,1/3] libcamera: v4l2_device: Add method parameters comment",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "0bdaf33ca4b6004bda4432b6ebfcf8fec3c6d77c",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/1.1/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": {
        "id": 15,
        "url": "https://patchwork.libcamera.org/api/1.1/users/15/?format=api",
        "username": "jmondi",
        "first_name": "Jacopo",
        "last_name": "Mondi",
        "email": "jacopo@jmondi.org"
    },
    "mbox": "https://patchwork.libcamera.org/patch/512/mbox/",
    "series": [
        {
            "id": 169,
            "url": "https://patchwork.libcamera.org/api/1.1/series/169/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=169",
            "date": "2019-02-05T17:10:07",
            "name": "Add v4l2 subdevice",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/169/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/512/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/512/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<jacopo@jmondi.org>",
        "Received": [
            "from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net\n\t[217.70.183.193])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 98EB660DC2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  5 Feb 2019 18:09:59 +0100 (CET)",
            "from uno.localdomain (d51A4137F.access.telenet.be [81.164.19.127])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 21582240007;\n\tTue,  5 Feb 2019 17:09:58 +0000 (UTC)"
        ],
        "X-Originating-IP": "81.164.19.127",
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue,  5 Feb 2019 18:10:08 +0100",
        "Message-Id": "<20190205171010.1356-2-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190205171010.1356-1-jacopo@jmondi.org>",
        "References": "<20190205171010.1356-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 1/3] libcamera: v4l2_device: Add method\n\tparameters comment",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.23",
        "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": "Tue, 05 Feb 2019 17:10:00 -0000"
    },
    "content": "Please the doxygen overlord!\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/v4l2_device.cpp | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/src/libcamera/v4l2_device.cpp b/src/libcamera/v4l2_device.cpp\nindex 1823457..3cecfc8 100644\n--- a/src/libcamera/v4l2_device.cpp\n+++ b/src/libcamera/v4l2_device.cpp\n@@ -329,6 +329,8 @@ void V4L2Device::close()\n \n /**\n  * \\brief Retrieve the image format set on the V4L2 device\n+ * \\param[out] format The image format applied on the device\n+ *\n  * \\return 0 for success, a negative error code otherwise\n  */\n int V4L2Device::getFormat(V4L2DeviceFormat *format)\n@@ -339,6 +341,7 @@ int V4L2Device::getFormat(V4L2DeviceFormat *format)\n \n /**\n  * \\brief Configure an image format on the V4L2 device\n+ * \\param[in] format format The image format to apply to the device\n  *\n  * Apply the supplied \\a format to the device, and return the actually\n  * applied format parameters, as \\ref V4L2Device::getFormat would do.\n",
    "prefixes": [
        "libcamera-devel",
        "1/3"
    ]
}