get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76307,
    "url": "http://patches.dpdk.org/api/patches/76307/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200902091510.6043-3-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": "<20200902091510.6043-3-weix.xie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200902091510.6043-3-weix.xie@intel.com",
    "date": "2020-09-02T09:15:04",
    "name": "[2/8] tests/TestSuite_port_control:support meson build method",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "598c183a514cfb7a78bd5c985cf3d46021b6c446",
    "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/20200902091510.6043-3-weix.xie@intel.com/mbox/",
    "series": [
        {
            "id": 11899,
            "url": "http://patches.dpdk.org/api/series/11899/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=11899",
            "date": "2020-09-02T09:15:04",
            "name": "support meson build method",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11899/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76307/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/76307/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 DFCC2A04B7;\n\tWed,  2 Sep 2020 11:14:17 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C14FC1C07B;\n\tWed,  2 Sep 2020 11:14:17 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id EF1E01C066\n for <dts@dpdk.org>; Wed,  2 Sep 2020 11:14:15 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Sep 2020 02:14:15 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by fmsmga001.fm.intel.com with ESMTP; 02 Sep 2020 02:14:13 -0700"
        ],
        "IronPort-SDR": [
            "\n lFmmN2qBs4AemtAXED9FaG8fhvKnezEfRe5kaxcukHfsnULfsxkuDYw7JHH+ug6kEvC8ZBcGcf\n Ij9PatJ1NM5Q==",
            "\n lz2gI7QLeUKy6LWB4L7YwgjcSqcGFHJYriwLPpaI0F2kQWWvgYqtaf6xffoNeE6n/MvAOcbAuS\n 4hgFJAMVdb8A=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9731\"; a=\"158348263\"",
            "E=Sophos;i=\"5.76,381,1592895600\"; d=\"scan'208\";a=\"158348263\"",
            "E=Sophos;i=\"5.76,381,1592895600\"; d=\"scan'208\";a=\"405099279\""
        ],
        "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": "Wed,  2 Sep 2020 17:15:04 +0800",
        "Message-Id": "<20200902091510.6043-3-weix.xie@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200902091510.6043-1-weix.xie@intel.com>",
        "References": "<20200902091510.6043-1-weix.xie@intel.com>",
        "Subject": "[dts] [dts 2/8] tests/TestSuite_port_control:support meson build\n\tmethod",
        "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_port_control.py | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py\nindex 147dc80..e8d96f5 100644\n--- a/tests/TestSuite_port_control.py\n+++ b/tests/TestSuite_port_control.py\n@@ -158,7 +158,8 @@ class TestPortControl(TestCase):\n         terminal.send_expect(\"ifconfig %s up\" % vf_if[1], \"#\")\n         terminal.send_expect(\"ip addr flush %s \" % vf_if[1], \"#\")\n         terminal.send_expect(\"./usertools/dpdk-devbind.py -b vfio-pci --force %s\" % vf_pci[1], \"#\")\n-        cmd = \"./%s/app/testpmd -n 1 -w %s --vfio-intr=legacy -- -i\" % (self.target, vf_pci[1])\n+        app_name = terminal.apps_name['test-pmd']\n+        cmd = app_name + \"-n 1 -w %s --vfio-intr=legacy -- -i\" % vf_pci[1]\n         terminal.send_expect(cmd, \"testpmd>\", 10)\n \n     def start_testpmd(self, terminal):\n",
    "prefixes": [
        "2/8"
    ]
}