get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 68154,
    "url": "https://patches.dpdk.org/api/patches/68154/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200411000945.15311-4-jia.guo@intel.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20200411000945.15311-4-jia.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200411000945.15311-4-jia.guo@intel.com",
    "date": "2020-04-11T00:09:44",
    "name": "[v3,3/4] app/testpmd: support GTP PDU type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fe30b3478c4eb7a9350849a0a6f13dbfa08859dc",
    "submitter": {
        "id": 507,
        "url": "https://patches.dpdk.org/api/people/507/?format=api",
        "name": "Guo, Jia",
        "email": "jia.guo@intel.com"
    },
    "delegate": {
        "id": 31221,
        "url": "https://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200411000945.15311-4-jia.guo@intel.com/mbox/",
    "series": [
        {
            "id": 9306,
            "url": "https://patches.dpdk.org/api/series/9306/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9306",
            "date": "2020-04-11T00:09:41",
            "name": "add RSS configuration for iavf",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/9306/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/68154/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/68154/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-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 E6A90A059F;\n\tFri, 10 Apr 2020 17:14:01 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 231BE1D579;\n\tFri, 10 Apr 2020 17:13:42 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id 0742E1D516\n for <dev@dpdk.org>; Fri, 10 Apr 2020 17:13:38 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Apr 2020 08:13:38 -0700",
            "from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128])\n by fmsmga005.fm.intel.com with ESMTP; 10 Apr 2020 08:13:36 -0700"
        ],
        "IronPort-SDR": [
            "\n cTjjk+aj92ZX0PvHqAuR3PwbVE8pIBq1Wl02qzLahiVfCfwbxnVSYc0MsNFN/bFhgqsexaW6lu\n 6ARiWVtWjDow==",
            "\n HoFjNgNHuFSceq3wKwBVS+KXHFMO1qXBo+yeqScFU9/mzqq7/6wou4uMp2ujqQU8zBV24hG07y\n 6BGObXlb75ng=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.72,367,1580803200\"; d=\"scan'208\";a=\"452407771\"",
        "From": "Jeff Guo <jia.guo@intel.com>",
        "To": "xiaolong.ye@intel.com,\n\tqi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org, jingjing.wu@intel.com, yahui.cao@intel.com,\n simei.su@intel.com, jia.guo@intel.com",
        "Date": "Fri, 10 Apr 2020 20:09:44 -0400",
        "Message-Id": "<20200411000945.15311-4-jia.guo@intel.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20200411000945.15311-1-jia.guo@intel.com>",
        "References": "<20200318170401.7938-5-jia.guo@intel.com>\n <20200411000945.15311-1-jia.guo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [dpdk-dev v3 3/4] app/testpmd: support GTP PDU type",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Add gtp pdu type configure in the cmdline.\n\nSigned-off-by: Jeff Guo <jia.guo@intel.com>\n---\nv3->v2:\n1.move gtp pdu index from normal to special. \n---\n app/test-pmd/cmdline_flow.c | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c\nindex e6ab8ff2f..6ea553446 100644\n--- a/app/test-pmd/cmdline_flow.c\n+++ b/app/test-pmd/cmdline_flow.c\n@@ -49,6 +49,7 @@ enum index {\n \tPORT_ID,\n \tGROUP_ID,\n \tPRIORITY_LEVEL,\n+\tGTP_PSC_PDU_T,\n \n \t/* Top-level command. */\n \tSET,\n@@ -1529,6 +1530,13 @@ static const struct token token_list[] = {\n \t\t.type = \"RETURN\",\n \t\t.help = \"set command may end here\",\n \t},\n+\t[GTP_PSC_PDU_T] = {\n+\t\t.name = \"{GTPU pdu type}\",\n+\t\t.type = \"INTEGER\",\n+\t\t.help = \"gtpu pdu uplink/downlink identifier\",\n+\t\t.call = parse_int,\n+\t\t.comp = comp_none,\n+\t},\n \t/* Common tokens. */\n \t[INTEGER] = {\n \t\t.name = \"{int}\",\n@@ -2622,7 +2630,8 @@ static const struct token token_list[] = {\n \t[ITEM_GTP_PSC_PDU_T] = {\n \t\t.name = \"pdu_t\",\n \t\t.help = \"PDU type\",\n-\t\t.next = NEXT(item_gtp_psc, NEXT_ENTRY(UNSIGNED), item_param),\n+\t\t.next = NEXT(item_gtp_psc, NEXT_ENTRY(GTP_PSC_PDU_T),\n+\t\t\t     item_param),\n \t\t.args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_gtp_psc,\n \t\t\t\t\tpdu_type)),\n \t},\n",
    "prefixes": [
        "v3",
        "3/4"
    ]
}