get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 101293,
    "url": "http://patches.dpdk.org/api/patches/101293/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211013015223.1155876-2-zhihongx.peng@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20211013015223.1155876-2-zhihongx.peng@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211013015223.1155876-2-zhihongx.peng@intel.com",
    "date": "2021-10-13T01:52:23",
    "name": "[v4,2/2] app/test: delete cmdline free function",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7b27b180d317c4ef9ca5a9ab683d2e67a72192f0",
    "submitter": {
        "id": 1643,
        "url": "http://patches.dpdk.org/api/people/1643/?format=api",
        "name": "Peng, ZhihongX",
        "email": "zhihongx.peng@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20211013015223.1155876-2-zhihongx.peng@intel.com/mbox/",
    "series": [
        {
            "id": 19579,
            "url": "http://patches.dpdk.org/api/series/19579/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19579",
            "date": "2021-10-13T01:52:23",
            "name": "[v4,1/2] lib/cmdline: release cl when cmdline exit",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/19579/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/101293/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/101293/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9A994A0C4D;\n\tWed, 13 Oct 2021 04:03:31 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6268F40151;\n\tWed, 13 Oct 2021 04:03:31 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 7951040150;\n Wed, 13 Oct 2021 04:03:29 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Oct 2021 19:03:24 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.65])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Oct 2021 19:03:22 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10135\"; a=\"288194088\"",
            "E=Sophos;i=\"5.85,369,1624345200\"; d=\"scan'208\";a=\"288194088\"",
            "E=Sophos;i=\"5.85,369,1624345200\"; d=\"scan'208\";a=\"441460358\""
        ],
        "From": "zhihongx.peng@intel.com",
        "To": "olivier.matz@6wind.com,\n\tdmitry.kozliuk@gmail.com",
        "Cc": "dev@dpdk.org,\n\tZhihong Peng <zhihongx.peng@intel.com>,\n\tstable@dpdk.org",
        "Date": "Wed, 13 Oct 2021 01:52:23 +0000",
        "Message-Id": "<20211013015223.1155876-2-zhihongx.peng@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211013015223.1155876-1-zhihongx.peng@intel.com>",
        "References": "<20211008064131.369133-1-zhihongx.peng@intel.com>\n <20211013015223.1155876-1-zhihongx.peng@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 2/2] app/test: delete cmdline free function",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "From: Zhihong Peng <zhihongx.peng@intel.com>\n\nCmdline will be released in cmdline_stdin_exit function,\nso it does not need to be released here.\n\nFixes: acdabc450ea0 (\"test: fix terminal settings on exit\")\nCc: stable@dpdk.org\n\nSigned-off-by: Zhihong Peng <zhihongx.peng@intel.com>\n---\n app/test/test.c             | 1 -\n app/test/test_cmdline_lib.c | 1 -\n 2 files changed, 2 deletions(-)",
    "diff": "diff --git a/app/test/test.c b/app/test/test.c\nindex 173d202e47..5194131026 100644\n--- a/app/test/test.c\n+++ b/app/test/test.c\n@@ -233,7 +233,6 @@ main(int argc, char **argv)\n \n \t\tcmdline_interact(cl);\n \t\tcmdline_stdin_exit(cl);\n-\t\tcmdline_free(cl);\n \t}\n #endif\n \tret = 0;\ndiff --git a/app/test/test_cmdline_lib.c b/app/test/test_cmdline_lib.c\nindex d5a09b4541..6bcfa6511e 100644\n--- a/app/test/test_cmdline_lib.c\n+++ b/app/test/test_cmdline_lib.c\n@@ -174,7 +174,6 @@ test_cmdline_socket_fns(void)\n \t/* void functions */\n \tcmdline_stdin_exit(NULL);\n \n-\tcmdline_free(cl);\n \treturn 0;\n error:\n \tprintf(\"Error: function accepted null parameter!\\n\");\n",
    "prefixes": [
        "v4",
        "2/2"
    ]
}