get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77309,
    "url": "http://patches.dpdk.org/api/patches/77309/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200911025758.9246-6-weix.xie@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": "<20200911025758.9246-6-weix.xie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200911025758.9246-6-weix.xie@intel.com",
    "date": "2020-09-11T02:57:58",
    "name": "[V1,5/5] tests/TestSuite_dcf_lifecycle:support meson build method",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e851cc608d8adefbe1efe5f54e1cb2428faf188c",
    "submitter": {
        "id": 1686,
        "url": "http://patches.dpdk.org/api/people/1686/?format=api",
        "name": "Xie, WeiX",
        "email": "weix.xie@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200911025758.9246-6-weix.xie@intel.com/mbox/",
    "series": [
        {
            "id": 12122,
            "url": "http://patches.dpdk.org/api/series/12122/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=12122",
            "date": "2020-09-11T02:57:53",
            "name": "support meson build method",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12122/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77309/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/77309/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 90A94A04B5;\n\tFri, 11 Sep 2020 04:59:59 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8B5541B75C;\n\tFri, 11 Sep 2020 04:59:59 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 39686E07\n for <dts@dpdk.org>; Fri, 11 Sep 2020 04:59:58 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Sep 2020 19:59:57 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by orsmga002.jf.intel.com with ESMTP; 10 Sep 2020 19:59:56 -0700"
        ],
        "IronPort-SDR": [
            "\n Kb9qrFV1q4qiwP4aga0RiPC4gw4W0hRJiTNU5AVRbpQn6TIT3hgkp3M98RnC86aI6xlkFda4i3\n p9+ep3cEL33A==",
            "\n 1TxDbUK/E+Vk3N9IxvbX+Mg1RrK9dDnqFA37cm+ro/T/7bmea9UTpTdqus3goy6ctSBUdhmAzm\n tHVGlzmya3AQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9740\"; a=\"222881668\"",
            "E=Sophos;i=\"5.76,413,1592895600\"; d=\"scan'208\";a=\"222881668\"",
            "E=Sophos;i=\"5.76,413,1592895600\"; d=\"scan'208\";a=\"318135493\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Xie wei <weix.xie@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Xie wei <weix.xie@intel.com>",
        "Date": "Fri, 11 Sep 2020 10:57:58 +0800",
        "Message-Id": "<20200911025758.9246-6-weix.xie@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200911025758.9246-1-weix.xie@intel.com>",
        "References": "<20200911025758.9246-1-weix.xie@intel.com>",
        "Subject": "[dts] [PATCH V1 5/5] tests/TestSuite_dcf_lifecycle:support meson\n\tbuild method",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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: Xie wei <weix.xie@intel.com>\n---\n tests/TestSuite_dcf_lifecycle.py | 10 ++++------\n 1 file changed, 4 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py\nindex 6be7b24..76c29f8 100644\n--- a/tests/TestSuite_dcf_lifecycle.py\n+++ b/tests/TestSuite_dcf_lifecycle.py\n@@ -302,8 +302,7 @@ class TestDcfLifeCycle(TestCase):\n         return output\n \n     def init_vf_dcf_testpmd(self):\n-        self.vf_dcf_testpmd = \"{}/{}/app/testpmd\".format(\n-            self.target_dir, self.dut.target)\n+        self.vf_dcf_testpmd = self.dut.apps_name['test-pmd']\n \n     def start_vf_dcf_testpmd(self, pmd_opiton):\n         whitelist_name, prefix = pmd_opiton\n@@ -359,16 +358,15 @@ class TestDcfLifeCycle(TestCase):\n         return output\n \n     def create_vf_testpmd2(self):\n-        self.vf_testpmd2 = \"{}/{}/app/testpmd_vf\".format(\n-            self.target_dir, self.dut.target)\n-        cmd = 'rm -f {vf_pmd2};cp {vf_dcf_pmd} {vf_pmd2}'.format(\n+        self.vf_testpmd2 = self.dut.apps_name['testpmd_vf']\n+        cmd = 'rm -f /root/dpdk/{vf_pmd2};cp /root/dpdk/{vf_dcf_pmd} /root/dpdk/{vf_pmd2}'.format(\n             **{'vf_dcf_pmd': self.vf_dcf_testpmd, 'vf_pmd2': self.vf_testpmd2})\n         self.d_a_con(cmd)\n \n     def init_vf_testpmd2(self):\n         self.create_vf_testpmd2()\n         self.vf_pmd2_session_name = 'vf_testpmd2'\n-        self.vf_pmd2_session = self.dut.create_session(\n+        self.vf_pmd2_session = self.dut.new_session(\n             self.vf_pmd2_session_name)\n \n     def start_vf_testpmd2(self, pmd_opiton):\n",
    "prefixes": [
        "V1",
        "5/5"
    ]
}