get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 74834,
    "url": "https://patches.dpdk.org/api/patches/74834/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20200727160817.9609-1-jianweix.mei@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": "<20200727160817.9609-1-jianweix.mei@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200727160817.9609-1-jianweix.mei@intel.com",
    "date": "2020-07-27T16:08:17",
    "name": "[V1] tests/TestSuite_dcf_lifecycle: recovery ENV for other cases run",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "89941ba2e6ae2827db111125c0dd1e01e0b337f0",
    "submitter": {
        "id": 1706,
        "url": "https://patches.dpdk.org/api/people/1706/?format=api",
        "name": "Mei, JianweiX",
        "email": "jianweix.mei@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20200727160817.9609-1-jianweix.mei@intel.com/mbox/",
    "series": [
        {
            "id": 11309,
            "url": "https://patches.dpdk.org/api/series/11309/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=11309",
            "date": "2020-07-27T16:08:17",
            "name": "[V1] tests/TestSuite_dcf_lifecycle: recovery ENV for other cases run",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11309/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74834/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/74834/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 A017DA0524;\n\tMon, 27 Jul 2020 09:45:55 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5A5AD1BFE8;\n\tMon, 27 Jul 2020 09:45:55 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 28CF61BE90\n for <dts@dpdk.org>; Mon, 27 Jul 2020 09:45:53 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Jul 2020 00:45:53 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.106])\n by orsmga002.jf.intel.com with ESMTP; 27 Jul 2020 00:45:51 -0700"
        ],
        "IronPort-SDR": [
            "\n gpng0rcKLYDEVH+EVc2aF349o6v/hS5tUj+PV4RauxVZfkj1fGc80/GG+Guy5BJsaOYmzshZvd\n qjyJlvvWneJg==",
            "\n R4B8sszXJMMEVlueJZOWv3ZJNgH2lEY/wl7DPug9h/s1ExvBlpuGHtYjSjvS/KxM6NPbTOJYMs\n gsWiLnlCAgDQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9694\"; a=\"148445265\"",
            "E=Sophos;i=\"5.75,401,1589266800\"; d=\"scan'208\";a=\"148445265\"",
            "E=Sophos;i=\"5.75,401,1589266800\"; d=\"scan'208\";a=\"303368948\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Jianwei Mei <jianweix.mei@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jianwei Mei <jianweix.mei@intel.com>",
        "Date": "Mon, 27 Jul 2020 16:08:17 +0000",
        "Message-Id": "<20200727160817.9609-1-jianweix.mei@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V1] tests/TestSuite_dcf_lifecycle: recovery ENV for\n\tother cases run",
        "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": "Recovery ENV after test case test_dcf_with_l2fwd_03 or test_dcf_with_l2fwd_02 run\n\nSigned-off-by: Jianwei Mei <jianweix.mei@intel.com>\n---\n tests/TestSuite_dcf_lifecycle.py | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py\nindex 3971941..e3954d0 100644\n--- a/tests/TestSuite_dcf_lifecycle.py\n+++ b/tests/TestSuite_dcf_lifecycle.py\n@@ -1048,6 +1048,10 @@ class TestDcfLifeCycle(TestCase):\n         \"\"\"\n         Run after each test case.\n         \"\"\"\n+        if self._suite_result.test_case == \"test_dcf_with_l2fwd_03\" or self._suite_result.test_case == \"test_dcf_with_l2fwd_02\":\n+            self.destroy_resource()\n+            self.init_suite()\n+            self.preset_test_environment()\n         self.dut.kill_all()\n         self.clear_flags()\n \n",
    "prefixes": [
        "V1"
    ]
}