get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90929,
    "url": "http://patchwork.dpdk.org/api/patches/90929/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20210409122548.31485-1-qinx.sun@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.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": "<20210409122548.31485-1-qinx.sun@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210409122548.31485-1-qinx.sun@intel.com",
    "date": "2021-04-09T12:25:48",
    "name": "[V1] framework/pmd_output: add timeout parameter for start_pmd method",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "88e1fbda2af5869ca414e9e9ef63ec7d2620702c",
    "submitter": {
        "id": 1956,
        "url": "http://patchwork.dpdk.org/api/people/1956/?format=api",
        "name": "Sun, QinX",
        "email": "qinx.sun@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20210409122548.31485-1-qinx.sun@intel.com/mbox/",
    "series": [
        {
            "id": 16223,
            "url": "http://patchwork.dpdk.org/api/series/16223/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=16223",
            "date": "2021-04-09T12:25:48",
            "name": "[V1] framework/pmd_output: add timeout parameter for start_pmd method",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/16223/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/90929/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/90929/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 D313BA0579;\n\tFri,  9 Apr 2021 05:50:38 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AA5F71412F1;\n\tFri,  9 Apr 2021 05:50:38 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id D6A244068E\n for <dts@dpdk.org>; Fri,  9 Apr 2021 05:50:36 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Apr 2021 20:50:35 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.105])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Apr 2021 20:50:32 -0700"
        ],
        "IronPort-SDR": [
            "\n H3nCHPa3F6NxsQTxUmWCnsqjfdTpDdw+tCLP3Ord/ov8Vz9ENJDhILcjXcU+0ysPILNXVBuIfS\n BIovsmQknHoQ==",
            "\n aqeeZomKxXPE8GhcJ5MEfXijvJtthTGMjW8yv9zprRPZCr+VQJy5IdMwG1Q2k3lStcVWhgz9si\n W9LJGsvHuvDQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9948\"; a=\"180812191\"",
            "E=Sophos;i=\"5.82,208,1613462400\"; d=\"scan'208\";a=\"180812191\"",
            "E=Sophos;i=\"5.82,208,1613462400\"; d=\"scan'208\";a=\"422550120\""
        ],
        "From": "sunqin <qinx.sun@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "sunqin <qinx.sun@intel.com>",
        "Date": "Fri,  9 Apr 2021 12:25:48 +0000",
        "Message-Id": "<20210409122548.31485-1-qinx.sun@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V1] framework/pmd_output: add timeout parameter for\n start_pmd method",
        "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": "some cases start testpmd with 'cmdline-file' may need more than 120 seconds,\n\nso add 'timeout' parameter to support customization and default value still set as 120\n\nSigned-off-by: sunqin <qinx.sun@intel.com>\n---\n framework/pmd_output.py | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/framework/pmd_output.py b/framework/pmd_output.py\nindex 1ad4ce79..838fa0bd 100644\n--- a/framework/pmd_output.py\n+++ b/framework/pmd_output.py\n@@ -148,7 +148,8 @@ class PmdOutput():\n         command = command.replace('  ', ' ')\n         if self.session != self.dut:\n             self.session.send_expect(\"cd %s\" % self.dut.base_dir, \"# \")\n-        out = self.session.send_expect(command, expected, 120)\n+        timeout = config.get('timeout',120)\n+        out = self.session.send_expect(command, expected, timeout)\n         self.command = command\n         # wait 10s to ensure links getting up before test start.\n         sleep(10)\n",
    "prefixes": [
        "V1"
    ]
}