get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130294,
    "url": "https://patches.dpdk.org/api/patches/130294/?format=api",
    "web_url": "https://patches.dpdk.org/project/ci/patch/20230814182104.470270-4-bruce.richardson@intel.com/",
    "project": {
        "id": 5,
        "url": "https://patches.dpdk.org/api/projects/5/?format=api",
        "name": "CI",
        "link_name": "ci",
        "list_id": "ci.dpdk.org",
        "list_email": "ci@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dpdk-ci",
        "webscm_url": "https://git.dpdk.org/tools/dpdk-ci/",
        "list_archive_url": "https://inbox.dpdk.org/ci",
        "list_archive_url_format": "https://inbox.dpdk.org/ci/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230814182104.470270-4-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/ci/20230814182104.470270-4-bruce.richardson@intel.com",
    "date": "2023-08-14T18:20:59",
    "name": "[v3,3/8] app/test: make telemetry data test buildable on windows",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f8530eb022c495b33fd88e6c5a0840955e306b7e",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/ci/patch/20230814182104.470270-4-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29221,
            "url": "https://patches.dpdk.org/api/series/29221/?format=api",
            "web_url": "https://patches.dpdk.org/project/ci/list/?series=29221",
            "date": "2023-08-14T18:20:57",
            "name": "[v3,1/8] app/test: add new macros for various test types",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/29221/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/130294/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/130294/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ci-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1A3EB43064;\n\tMon, 14 Aug 2023 20:21:28 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 07C8E432DB;\n\tMon, 14 Aug 2023 20:21:22 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id D2C0B432C0;\n Mon, 14 Aug 2023 20:21:18 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Aug 2023 11:21:18 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by orsmga002.jf.intel.com with ESMTP; 14 Aug 2023 11:21:16 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1692037279; x=1723573279;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=R5VXiABk3hLwCo409KrIVh7+p61FUM2D3dECXMkFHeo=;\n b=bLutWW5/fZnOI9moA4/DcMmuumXOG6lpMFFJaucOUOfw3coaE8/9vQ6n\n cAfWZo9md/i3XHku1vsSxoF+tZ1bRmyu3ekRDYE1Imjkekvv34oYd2bol\n pPae339rNW5axwPLTBApZniitF8yT7Mc5VauVE2U/m7SPIU3tIHOJocbv\n 5lf5GnmtwmpY62bhMFl/nTr5wx5R2pPvCfvsrRAtSUwOSq9tDjnnd1GH6\n 9iLWxIXSJdRHI1/ckqZbG30dWoEa7JO5SC0YnDtxOWOPBKktxGloNny3h\n trQ7l648MbWRVILbeAlq820kUUBMW71NxjFVbqfzNff+NNpq8HvisU6Pl w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10802\"; a=\"375831104\"",
            "E=Sophos;i=\"6.01,173,1684825200\"; d=\"scan'208\";a=\"375831104\"",
            "E=McAfee;i=\"6600,9927,10802\"; a=\"733545465\"",
            "E=Sophos;i=\"6.01,173,1684825200\"; d=\"scan'208\";a=\"733545465\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "ci@dpdk.org,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH v3 3/8] app/test: make telemetry data test buildable on\n windows",
        "Date": "Mon, 14 Aug 2023 19:20:59 +0100",
        "Message-Id": "<20230814182104.470270-4-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230814182104.470270-1-bruce.richardson@intel.com>",
        "References": "<20230721115125.55137-1-bruce.richardson@intel.com>\n <20230814182104.470270-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "ci@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK CI discussions <ci.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/ci>,\n <mailto:ci-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/ci/>",
        "List-Post": "<mailto:ci@dpdk.org>",
        "List-Help": "<mailto:ci-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/ci>,\n <mailto:ci-request@dpdk.org?subject=subscribe>",
        "Errors-To": "ci-bounces@dpdk.org"
    },
    "content": "To enable the building of the telemetry data tests file when building on\nwindows, we need to provide a stub implementation. That way, the test\nfile is buildable any time the library itself is built.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/test/test_telemetry_data.c | 14 ++++++++++++--\n 1 file changed, 12 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/app/test/test_telemetry_data.c b/app/test/test_telemetry_data.c\nindex a960f44c1b..b2dc1d75db 100644\n--- a/app/test/test_telemetry_data.c\n+++ b/app/test/test_telemetry_data.c\n@@ -2,11 +2,20 @@\n  * Copyright 2020 Intel Corporation\n  */\n \n+#ifdef RTE_EXEC_ENV_WINDOWS\n+#include \"test.h\"\n+\n+static int\n+telemetry_data_autotest(void)\n+{\n+\treturn TEST_SKIPPED;\n+}\n+\n+#else\n+\n #include <string.h>\n #include <sys/socket.h>\n-#ifndef RTE_EXEC_ENV_WINDOWS\n #include <sys/un.h>\n-#endif\n #include <unistd.h>\n #include <limits.h>\n \n@@ -604,5 +613,6 @@ telemetry_data_autotest(void)\n \tclose(sock);\n \treturn 0;\n }\n+#endif /* windows/non-windows */\n \n REGISTER_TEST_COMMAND(telemetry_data_autotest, telemetry_data_autotest);\n",
    "prefixes": [
        "v3",
        "3/8"
    ]
}