get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 129170,
    "url": "http://patches.dpdk.org/api/patches/129170/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230630172756.128108-1-karen.kelly@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230630172756.128108-1-karen.kelly@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230630172756.128108-1-karen.kelly@intel.com",
    "date": "2023-06-30T17:27:56",
    "name": "tests/power_telemetry: update to add runpath to query tool args",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a122dbe5783bcf41fafb48f639675e5439b6e3f3",
    "submitter": {
        "id": 3067,
        "url": "http://patches.dpdk.org/api/people/3067/?format=api",
        "name": "Karen Kelly",
        "email": "karen.kelly@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20230630172756.128108-1-karen.kelly@intel.com/mbox/",
    "series": [
        {
            "id": 28754,
            "url": "http://patches.dpdk.org/api/series/28754/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=28754",
            "date": "2023-06-30T17:27:56",
            "name": "tests/power_telemetry: update to add runpath to query tool args",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/28754/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/129170/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/129170/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 3F9E542D98;\n\tFri, 30 Jun 2023 19:29:02 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3A334410FC;\n\tFri, 30 Jun 2023 19:29:02 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id D4C2440EDB\n for <dts@dpdk.org>; Fri, 30 Jun 2023 19:29:00 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Jun 2023 10:28:07 -0700",
            "from silpixa00400354.ir.intel.com (HELO\n silpixa00400354.ger.corp.intel.com) ([10.237.213.67])\n by orsmga006.jf.intel.com with ESMTP; 30 Jun 2023 10:28:06 -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=1688146141; x=1719682141;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=QuP0j6vsmQeZuZEtn5zKPWoUXQqOxA2DI6qGlqODtDQ=;\n b=mIUfWjehIsizgU6sK7aFxpD2qpBXPjanLxWx9uPewqHgjkRuR22uirGy\n yFDzGD2WMYzBAaEkotVfM70yTs6r05O5PLxSkiM8ZnZZk6TxCHG3/0HbI\n wnkxPfZzkpBwZcZCQqtsPI5MHv7XUEVlg0LmUi0ZLbQqlW/InHDapUVa1\n 3fQIWe2lyYix/guqXxnTTPy8AZ7gb69FWs9upY3ehEiOFYM0DA4qFzoEK\n 8NqPqE8aeujIWA80PDNvJqeAlu5NkVNwMSwe3At/77m3J9ptnKUuU/9vp\n 14x051la7xOJXyFKBc+C3KimSa91nf4lBuAfvc4zUdbVoDEpXi4vfTbd2 w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10757\"; a=\"365026222\"",
            "E=Sophos;i=\"6.01,171,1684825200\"; d=\"scan'208\";a=\"365026222\"",
            "E=McAfee;i=\"6600,9927,10757\"; a=\"695086253\"",
            "E=Sophos;i=\"6.01,171,1684825200\"; d=\"scan'208\";a=\"695086253\""
        ],
        "X-ExtLoop1": "1",
        "From": "Karen Kelly <karen.kelly@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "reshma.pattan@intel.com,\n\tkaren.kelly@intel.com",
        "Subject": "[dts][PATCH] tests/power_telemetry: update to add runpath to query\n tool args",
        "Date": "Fri, 30 Jun 2023 17:27:56 +0000",
        "Message-Id": "<20230630172756.128108-1-karen.kelly@intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "Telemetry test creates query_tool.py. Due to changes to\ndpdk_telemetry_client.py, query_tool.py needed to be updated to take\nin the value of the runpath.\n\nSigned-off-by: Karen Kelly <karen.kelly@intel.com>\n---\n tests/TestSuite_power_telemetry.py | 9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_power_telemetry.py b/tests/TestSuite_power_telemetry.py\nindex 9ddf7992..d6a7efd4 100644\n--- a/tests/TestSuite_power_telemetry.py\n+++ b/tests/TestSuite_power_telemetry.py\n@@ -154,6 +154,8 @@ class TestPowerTelemetry(TestCase):\n             import json\n             from dpdk_telemetry_client import Client, GLOBAL_METRICS_REQ, BUFFER_SIZE\n \n+            RUN_TIME_PATH = \"/var/run/dpdk/rte\"\n+\n             class ClientExd(Client):\n                 def __init__(self, json_file):\n                     super(ClientExd, self).__init__()\n@@ -176,11 +178,16 @@ class TestPowerTelemetry(TestCase):\n                                 nargs='*',\n                                 default=None,\n                                 help='json_file option')\n+            parser.add_argument('-r',\n+                                '--run_time_path',\n+                                nargs='*',\n+                                default=RUN_TIME_PATH,\n+                                help='run time path option')\n             args = parser.parse_args()\n             file_path = args.file_prefix[0]\n             client = ClientExd(args.json_file[0])\n             client.getFilepath(file_path)\n-            client.setRunpath(file_path)\n+            client.setRunpath(args.run_time_path)\n             client.register()\n             client.requestGlobalMetrics()\n             time.sleep(2)\n",
    "prefixes": []
}