get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103595,
    "url": "https://patches.dpdk.org/api/patches/103595/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/1635909181-165996-3-git-send-email-songx.jiale@intel.com/",
    "project": {
        "id": 3,
        "url": "https://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": "<1635909181-165996-3-git-send-email-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1635909181-165996-3-git-send-email-songx.jiale@intel.com",
    "date": "2021-11-03T03:12:58",
    "name": "[V2,3/6] tests/cvl_fdir: update case code for dpdk code change",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "7a14a1604d899b4aa1e3710e5ce4e39686beecbd",
    "submitter": {
        "id": 2352,
        "url": "https://patches.dpdk.org/api/people/2352/?format=api",
        "name": "Jiale, SongX",
        "email": "songx.jiale@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/1635909181-165996-3-git-send-email-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 20252,
            "url": "https://patches.dpdk.org/api/series/20252/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=20252",
            "date": "2021-11-03T03:12:56",
            "name": "[V2,1/6] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/20252/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/103595/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/103595/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 CC3AAA0C4C;\n\tWed,  3 Nov 2021 04:13:17 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A5AE441122;\n\tWed,  3 Nov 2021 04:13:17 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 7018140E03\n for <dts@dpdk.org>; Wed,  3 Nov 2021 04:13:16 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Nov 2021 20:13:16 -0700",
            "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Nov 2021 20:13:14 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10156\"; a=\"231271161\"",
            "E=Sophos;i=\"5.87,204,1631602800\"; d=\"scan'208\";a=\"231271161\"",
            "E=Sophos;i=\"5.87,204,1631602800\"; d=\"scan'208\";a=\"500868702\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Date": "Wed,  3 Nov 2021 11:12:58 +0800",
        "Message-Id": "<1635909181-165996-3-git-send-email-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1635909181-165996-1-git-send-email-songx.jiale@intel.com>",
        "References": "<1635909181-165996-1-git-send-email-songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V2 3/6] tests/cvl_fdir: update case code for dpdk code\n change",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/cvl_fdir_test_plan.rst | 4 ++--\n tests/TestSuite_cvl_fdir.py       | 4 ++--\n 2 files changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst\nindex b5052578..8e508d71 100644\n--- a/test_plans/cvl_fdir_test_plan.rst\n+++ b/test_plans/cvl_fdir_test_plan.rst\n@@ -703,7 +703,7 @@ Note: there may be error message change.\n \n    get the message::\n \n-    No such device: No such device\n+    Invalid port 2\n \n 10. check the flow list::\n \n@@ -3550,7 +3550,7 @@ Subcase 11: invalid port\n \n    Failed to create flow, report message::\n \n-    No such device: No such device\n+    Invalid port 2\n \n 2. check there is no rule listed on port 2::\n \ndiff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py\nindex 75c3ba93..d0ed03bc 100644\n--- a/tests/TestSuite_cvl_fdir.py\n+++ b/tests/TestSuite_cvl_fdir.py\n@@ -2759,7 +2759,7 @@ class TestCVLFdir(TestCase):\n         #     check_stats=False, check_msg='Bad arguments')\n         self.validate_fdir_rule(\n             'flow validate 2 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 proto is 255 ttl is 2 tos is 4 / end actions queue index 1 / end',\n-            check_stats=False, check_msg='No such device')\n+            check_stats=False, check_msg='Invalid port 2')\n         self.check_fdir_rule(stats=False)\n \n     def test_mac_ipv4_pay_protocal(self):\n@@ -2980,7 +2980,7 @@ class TestCVLFdir(TestCase):\n \n     def test_invalid_port(self):\n         rule = \"flow create 2 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions queue index 1 / end\"\n-        self.create_fdir_rule(rule, check_stats=False, msg=\"No such device: No such device\")\n+        self.create_fdir_rule(rule, check_stats=False, msg=\"Invalid port 2\")\n         out = self.pmd_output.execute_cmd(\"flow list 2\")\n         self.verify(\"Invalid port 2\" in out, \"expect Invalid port 2 in %s\" % out)\n \n",
    "prefixes": [
        "V2",
        "3/6"
    ]
}