Show a patch.

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

{
    "id": 8999,
    "url": "https://patchwork.libcamera.org/api/patches/8999/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/8999/",
    "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": "<20200725122442.1679820-4-vicamo.yang@canonical.com>",
    "date": "2020-07-25T12:24:42",
    "name": "[libcamera-devel,3/3] test: list-cameras: skip if no camera is available",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b2e6d2cd5c1a34f3f6debf880525c5d84249d959",
    "submitter": {
        "id": 61,
        "url": "https://patchwork.libcamera.org/api/people/61/?format=api",
        "name": "You-Sheng Yang",
        "email": "vicamo.yang@canonical.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/8999/mbox/",
    "series": [
        {
            "id": 1145,
            "url": "https://patchwork.libcamera.org/api/series/1145/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1145",
            "date": "2020-07-25T12:24:39",
            "name": "fix test failures in package build systems",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1145/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/8999/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/8999/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 6D3B4BD879\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat, 25 Jul 2020 13:03:30 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 467D8612F1;\n\tSat, 25 Jul 2020 15:03:29 +0200 (CEST)",
            "from mail-pg1-f171.google.com (mail-pg1-f171.google.com\n\t[209.85.215.171])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8A77261223\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 25 Jul 2020 14:24:55 +0200 (CEST)",
            "by mail-pg1-f171.google.com with SMTP id w2so6843052pgg.10\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 25 Jul 2020 05:24:55 -0700 (PDT)",
            "from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37])\n\tby smtp.gmail.com with ESMTPSA id\n\td37sm8887731pgd.18.2020.07.25.05.24.52\n\tfor <libcamera-devel@lists.libcamera.org>\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSat, 25 Jul 2020 05:24:53 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=kSKmT6S8K89Zy2ALnmBZGLkqWO9SHmmfudG5vSedVO4=;\n\tb=NkGxbvNk/ssS9R2YDe72D4dou7yj8vaL68FYY62YQUV6NM6wCv4IRENONk4GWBBtel\n\tY90YwF41ZMbA6RYvekCkCw9C6IyzS/uQyCDMlQl1sv8/MBuT9XBc6BgN7sHl3kXFWD54\n\tAqbyEmim54Fcaee2dv0csVpmehO9wsEksGOW2otm18JsTxLcA/bZqNZe2WIfubU3krBi\n\t3IW4PBkRTipVlJaZg/2VzwX4jY5xz5CIi5iO4jrH57dOdu3QBGIRGEPIEzxTug2V1C1x\n\tz8z1Qamdx//nhZj4rtJPRXU/sWkft8R6bFM5wrgDa0qe5AdL8yoTXHritqmVeJR5AuZ2\n\t9KdQ==",
        "X-Gm-Message-State": "AOAM532CE9MY5XSJwNyLtvsjB5hh/7hrOBW6hv0bR61pN3hEwcxTlKXJ\n\tX9ApsyaZPV+j5zV3vWHxcDyIXmEHiFY=",
        "X-Google-Smtp-Source": "ABdhPJwWoPVi44SPzj+rJGk4vNy3Emz6YM4dfrnet6ECwbpbmxFmUQ/t/bMA/1YC9mNephwtEqMxDA==",
        "X-Received": "by 2002:a63:9201:: with SMTP id o1mr11028193pgd.99.1595679893751;\n\tSat, 25 Jul 2020 05:24:53 -0700 (PDT)",
        "From": "You-Sheng Yang <vicamo.yang@canonical.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat, 25 Jul 2020 20:24:42 +0800",
        "Message-Id": "<20200725122442.1679820-4-vicamo.yang@canonical.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20200725122442.1679820-1-vicamo.yang@canonical.com>",
        "References": "<20200725122442.1679820-1-vicamo.yang@canonical.com>",
        "MIME-Version": "1.0",
        "X-Mailman-Approved-At": "Sat, 25 Jul 2020 15:03:26 +0200",
        "Subject": "[libcamera-devel] [PATCH 3/3] test: list-cameras: skip if no camera\n\tis available",
        "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>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>\n---\n test/list-cameras.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/test/list-cameras.cpp b/test/list-cameras.cpp\nindex e6a407a..f4cd3b7 100644\n--- a/test/list-cameras.cpp\n+++ b/test/list-cameras.cpp\n@@ -26,7 +26,7 @@ protected:\n \t\t\treturn TestFail;\n \t\t}\n \n-\t\treturn 0;\n+\t\treturn cm_->cameras().size() ? TestPass : TestSkip;\n \t}\n \n \tint run()\n",
    "prefixes": [
        "libcamera-devel",
        "3/3"
    ]
}