Show a patch.

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

{
    "id": 47,
    "url": "https://patchwork.libcamera.org/api/patches/47/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/47/",
    "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": "<20181213145313.6754-2-laurent.pinchart@ideasonboard.com>",
    "date": "2018-12-13T14:53:13",
    "name": "[libcamera-devel,2/2] Documentation: contributing: Mark command line as shell code-block",
    "commit_ref": "8274fed13d0acecfb8253eea0ee80fc0da2856dd",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c9bfbba80ed24f18c9847d3abcb86538aeff251c",
    "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/47/mbox/",
    "series": [
        {
            "id": 22,
            "url": "https://patchwork.libcamera.org/api/series/22/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=22",
            "date": "2018-12-13T14:53:12",
            "name": "[libcamera-devel,1/2] Documentation: coding-style: Fix list indentation",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/22/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/47/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/47/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<laurent.pinchart@ideasonboard.com>",
        "Received": [
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 073F6600CC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Dec 2018 15:52:31 +0100 (CET)",
            "from avalon.bb.dnainternet.fi\n\t(dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 88A0F568\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Dec 2018 15:52:30 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1544712750;\n\tbh=1PCrNpDL/PYO0OOzrgQv3vXMC0H3+BSmS/nhj4k9q/g=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=p268RUCY9mr5j4+BOwmk93fRb+uz3xAr6BuAu8PQo5Kl0N2RRD2hPS5ZOhrZs8mtF\n\ty5x4A94hVxwtCGY2NApgww5htnVhBGM9u9kSeVJnA7SG/6iA1pkJfjSyd73UU3QIST\n\tbeqa9rfqpughtP9740eKYP5qrnq95o1+XFzpFi4c=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 13 Dec 2018 16:53:13 +0200",
        "Message-Id": "<20181213145313.6754-2-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.19.2",
        "In-Reply-To": "<20181213145313.6754-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20181213145313.6754-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 2/2] Documentation: contributing: Mark\n\tcommand line as shell code-block",
        "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": "Thu, 13 Dec 2018 14:52:31 -0000"
    },
    "content": "The git clone command line is a (single line) block of shell code, mark\nit appropriately.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n Documentation/contributing.rst | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/Documentation/contributing.rst b/Documentation/contributing.rst\nindex 0eedadc94906..8f6f40b0795d 100644\n--- a/Documentation/contributing.rst\n+++ b/Documentation/contributing.rst\n@@ -29,6 +29,8 @@ Source Code\n libcamera is in early stages of development, and no releases are available yet.\n The source code is available from the project's `git tree`_, hosted by `LinuxTV`_.\n \n+.. code-block:: shell\n+\n   $ git clone git://linuxtv.org/libcamera.git\n \n .. _git tree: https://git.linuxtv.org/libcamera.git/\n",
    "prefixes": [
        "libcamera-devel",
        "2/2"
    ]
}