get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 92062,
    "url": "http://patches.dpdk.org/api/patches/92062/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20210423170857.114137-1-BoX.C.Chen@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": "<20210423170857.114137-1-BoX.C.Chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210423170857.114137-1-BoX.C.Chen@intel.com",
    "date": "2021-04-23T17:08:57",
    "name": "[V1] tests/distributor: adapt the update of the DPDK",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7a561d938ff30a39b32385e5dc2e88adf17fbf1e",
    "submitter": {
        "id": 1819,
        "url": "http://patches.dpdk.org/api/people/1819/?format=api",
        "name": "Chen, BoX C",
        "email": "box.c.chen@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20210423170857.114137-1-BoX.C.Chen@intel.com/mbox/",
    "series": [
        {
            "id": 16625,
            "url": "http://patches.dpdk.org/api/series/16625/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=16625",
            "date": "2021-04-23T17:08:57",
            "name": "[V1] tests/distributor: adapt the update of the DPDK",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/16625/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/92062/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/92062/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 B467AA0548;\n\tFri, 23 Apr 2021 11:06:52 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A0FFC4067E;\n\tFri, 23 Apr 2021 11:06:52 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 945CE4014F\n for <dts@dpdk.org>; Fri, 23 Apr 2021 11:06:50 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Apr 2021 02:06:49 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.77])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Apr 2021 02:06:47 -0700"
        ],
        "IronPort-SDR": [
            "\n Ixsu45BwRcBc+HVDe8koJY102S70WOAy6kYHKkz3Rzm/5vDcvvW9y5/hznhTVNyzV0YegYdzw/\n DNr2GjJ/Mxjw==",
            "\n fVOop/38rmJ2/CAbokTOwM7izV4/m3Oy6Ue3Dx0lXv2EQjxqNs+lAggEJhWuce/6Jg02tWmYFG\n CBFpDC8lms6Q=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,9962\"; a=\"195596572\"",
            "E=Sophos;i=\"5.82,245,1613462400\"; d=\"scan'208\";a=\"195596572\"",
            "E=Sophos;i=\"5.82,245,1613462400\"; d=\"scan'208\";a=\"428307250\""
        ],
        "From": "Bo Chen <BoX.C.Chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Bo Chen <BoX.C.Chen@intel.com>",
        "Date": "Fri, 23 Apr 2021 17:08:57 +0000",
        "Message-Id": "<20210423170857.114137-1-BoX.C.Chen@intel.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1] tests/distributor: adapt the update of the DPDK",
        "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": "adapt the update of the DPDK file path\n\nSigned-off-by: Bo Chen <BoX.C.Chen@intel.com>\n---\n tests/TestSuite_distributor.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_distributor.py b/tests/TestSuite_distributor.py\nindex 2bfe6ee6..0f61cc71 100644\n--- a/tests/TestSuite_distributor.py\n+++ b/tests/TestSuite_distributor.py\n@@ -165,7 +165,7 @@ class TestDistributor(TestCase):\n         self.verify(len(self.dut_ports) >= 1, \"Not enough ports\")\n \n         cmd_fmt = \"%s %s -- -p 0x1\"\n-        out = self.dut.send_expect(\"sed -n '/#define RTE_DISTRIB_MAX_WORKERS/p' lib/librte_distributor/distributor_private.h\", \"# \")\n+        out = self.dut.send_expect(\"sed -n '/#define RTE_DISTRIB_MAX_WORKERS/p' lib/distributor/distributor_private.h\", \"# \")\n         reg_match = r\"#define RTE_DISTRIB_MAX_WORKERS (.*)\"\n         m = re.match(reg_match, out)\n         self.verify(m, \"Can't find maximum worker number\")\n",
    "prefixes": [
        "V1"
    ]
}