get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 129683,
    "url": "http://patches.dpdk.org/api/patches/129683/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230721115125.55137-2-bruce.richardson@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": "<20230721115125.55137-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230721115125.55137-2-bruce.richardson@intel.com",
    "date": "2023-07-21T11:51:21",
    "name": "[RFC,1/5] app/test: add new macros for various test types",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "70699de9e12cdc16391b52d7937af156a825ff2c",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@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/20230721115125.55137-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29000,
            "url": "http://patches.dpdk.org/api/series/29000/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29000",
            "date": "2023-07-21T11:51:20",
            "name": "replace build code for unit tests",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/29000/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/129683/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/129683/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 1D18042ED9;\n\tFri, 21 Jul 2023 13:51:38 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6597A42BFE;\n\tFri, 21 Jul 2023 13:51:36 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 657F942BFE\n for <dev@dpdk.org>; Fri, 21 Jul 2023 13:51:35 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Jul 2023 04:51:35 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.156])\n by fmsmga006.fm.intel.com with ESMTP; 21 Jul 2023 04:51:34 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1689940295; x=1721476295;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=xdo0l5GXS19yPeG8kdUUcbUABk11qat6WN2U/QjeZMI=;\n b=Yggs9qcY9ZNMFrTFnUOI/X9qUGK8m0a/bT17dOAIrt5WMdASR9uuHdEo\n ero9VqPP3vpSVGdEglvTn1y0IAF40c6togkNcgvaWR9NbwPeC/KOAgr1J\n AsVLmxZYmz8P9EIYAvXneMDLStuy3/SqMl/yhpnTyrig4mmc7c9DhBkSE\n ftsGxEvaRynpID0n8wMO2tKnBx6trdFya+Zv1mMImBte80/ZpVSBNiShr\n ODsdLRGYW4t7xPk8l1Zx+K/8bK4/SzYroyb0IZLyYlDlqKLe/X63pqR/y\n yMAfD9qTY2uwVQFIbkq7TkFKHJzxmicaL0nm8BW+NbWENBTCtTgq2C9Qo A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10777\"; a=\"346599161\"",
            "E=Sophos;i=\"6.01,220,1684825200\"; d=\"scan'208\";a=\"346599161\"",
            "E=McAfee;i=\"6600,9927,10777\"; a=\"971420527\"",
            "E=Sophos;i=\"6.01,220,1684825200\"; d=\"scan'208\";a=\"971420527\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[RFC PATCH 1/5] app/test: add new macros for various test types",
        "Date": "Fri, 21 Jul 2023 12:51:21 +0100",
        "Message-Id": "<20230721115125.55137-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230721115125.55137-1-bruce.richardson@intel.com>",
        "References": "<20230721115125.55137-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "Rather than just registering all tests using a single generic macro,\nadd macros which identify the test as being of a particular type.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/test/test.h | 9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test.h b/app/test/test.h\nindex 85f57efbc6..a91ded76af 100644\n--- a/app/test/test.h\n+++ b/app/test/test.h\n@@ -190,7 +190,7 @@ struct test_command {\n \n void add_test_command(struct test_command *t);\n \n-/* Register a test function with its command string */\n+/* Register a test function with its command string. Should not be used directly */\n #define REGISTER_TEST_COMMAND(cmd, func) \\\n \tstatic struct test_command test_struct_##cmd = { \\\n \t\t.command = RTE_STR(cmd), \\\n@@ -201,4 +201,11 @@ void add_test_command(struct test_command *t);\n \t\tadd_test_command(&test_struct_##cmd); \\\n \t}\n \n+/* Register a test function as a particular type.\n+ * These can be used to build up test suites automatically\n+ */\n+#define REGISTER_FAST_TEST(cmd, no_huge, ASan, func)  REGISTER_TEST_COMMAND(cmd, func)\n+#define REGISTER_PERF_TEST REGISTER_TEST_COMMAND\n+#define REGISTER_DRIVER_TEST REGISTER_TEST_COMMAND\n+\n #endif\n",
    "prefixes": [
        "RFC",
        "1/5"
    ]
}