get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 74887,
    "url": "http://patches.dpdk.org/api/patches/74887/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200728015207.4209-2-yufengx.mo@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": "<20200728015207.4209-2-yufengx.mo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200728015207.4209-2-yufengx.mo@intel.com",
    "date": "2020-07-28T01:52:07",
    "name": "[V1,1/1] power_branch_ratio: update option",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a18adadd681e8e0d9d1df1bee939d3889bda111b",
    "submitter": {
        "id": 1342,
        "url": "http://patches.dpdk.org/api/people/1342/?format=api",
        "name": "Yufen.Mo",
        "email": "yufengx.mo@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200728015207.4209-2-yufengx.mo@intel.com/mbox/",
    "series": [
        {
            "id": 11337,
            "url": "http://patches.dpdk.org/api/series/11337/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=11337",
            "date": "2020-07-28T01:52:06",
            "name": "power_branch_ratio: update option",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11337/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/74887/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/74887/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 61726A053C;\n\tTue, 28 Jul 2020 03:54:25 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4FA2A1BFF5;\n\tTue, 28 Jul 2020 03:54:25 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id 461332B9C\n for <dts@dpdk.org>; Tue, 28 Jul 2020 03:54:23 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Jul 2020 18:54:22 -0700",
            "from dpdk-moyufen06.sh.intel.com ([10.67.116.208])\n by orsmga004.jf.intel.com with ESMTP; 27 Jul 2020 18:54:21 -0700"
        ],
        "IronPort-SDR": [
            "\n 9eR/+WUoTUaMFp+qs6Q9hJVJUWUGuZrfroqKTW3dN3R30r95bnrRPP6o22tKOCWY1Yb2aOTwfB\n aFwaHZwp/C2w==",
            "\n CCbIGr54W7ai19o0xp802M3t1wOlJj0uHdhyTUB/9cYuEeotgvAIhh3vgQmFmz5SMolgKbTmPA\n QnELIR6iQhYQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9695\"; a=\"235999131\"",
            "E=Sophos;i=\"5.75,404,1589266800\"; d=\"scan'208\";a=\"235999131\"",
            "E=Sophos;i=\"5.75,404,1589266800\"; d=\"scan'208\";a=\"434147828\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "yufengmx <yufengx.mo@intel.com>",
        "To": "dts@dpdk.org,\n\tlei.a.yao@intel.com",
        "Cc": "yufengmx <yufengx.mo@intel.com>",
        "Date": "Tue, 28 Jul 2020 09:52:07 +0800",
        "Message-Id": "<20200728015207.4209-2-yufengx.mo@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20200728015207.4209-1-yufengx.mo@intel.com>",
        "References": "<20200728015207.4209-1-yufengx.mo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 1/1] power_branch_ratio: update option",
        "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": "update option based on dpdk master 95f648ff9eedc11f9c888f2cc331aadb95cb9b47\n    ---core-list {list of cores}\n    +--core-branch-ratio {list of cores}:{branch ratio for listed cores}\n\nSigned-off-by: yufengmx <yufengx.mo@intel.com>\n---\n tests/TestSuite_power_branch_ratio.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_power_branch_ratio.py b/tests/TestSuite_power_branch_ratio.py\nindex b45ebcb..e6bda21 100644\n--- a/tests/TestSuite_power_branch_ratio.py\n+++ b/tests/TestSuite_power_branch_ratio.py\n@@ -347,7 +347,7 @@ class TestPowerBranchRatio(TestCase):\n                 'memory_size': 1024, })\n         prompt = 'vmpower>'\n         option = sub_option + \\\n-            (' -- --branch-ratio={}'.format(self.branch_ratio) \\\n+            (' -- --core-branch-ratio={}'.format(self.branch_ratio) \\\n             if self.branch_ratio else '')\n         cmd = [' '.join([self.vm_power_mgr, option]), prompt, 50]\n         self.d_con(cmd)\n",
    "prefixes": [
        "V1",
        "1/1"
    ]
}