get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120571,
    "url": "http://patches.dpdk.org/api/patches/120571/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221208080540.62913-2-lihuisong@huawei.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": "<20221208080540.62913-2-lihuisong@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221208080540.62913-2-lihuisong@huawei.com",
    "date": "2022-12-08T08:05:33",
    "name": "[1/8] telemetry: move to header to controllable range",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1348915b7f03c947ab7a53af394feeea21e64860",
    "submitter": {
        "id": 2085,
        "url": "http://patches.dpdk.org/api/people/2085/?format=api",
        "name": "lihuisong (C)",
        "email": "lihuisong@huawei.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/20221208080540.62913-2-lihuisong@huawei.com/mbox/",
    "series": [
        {
            "id": 26042,
            "url": "http://patches.dpdk.org/api/series/26042/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=26042",
            "date": "2022-12-08T08:05:33",
            "name": "fix possible data truncation and conversion error",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/26042/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/120571/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/120571/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 8EEB2A00C2;\n\tThu,  8 Dec 2022 09:05:35 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 79C9840E28;\n\tThu,  8 Dec 2022 09:05:35 +0100 (CET)",
            "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 5C89240DDC\n for <dev@dpdk.org>; Thu,  8 Dec 2022 09:05:34 +0100 (CET)",
            "from kwepemm600004.china.huawei.com (unknown [172.30.72.55])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4NSRWr2806zRpdL\n for <dev@dpdk.org>; Thu,  8 Dec 2022 16:04:40 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2375.31; Thu, 8 Dec 2022 16:05:31 +0800"
        ],
        "From": "Huisong Li <lihuisong@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<ciara.power@intel.com>, <liudongdong3@huawei.com>,\n <huangdaode@huawei.com>, <fengchengwen@huawei.com>, <lihuisong@huawei.com>",
        "Subject": "[PATCH 1/8] telemetry: move to header to controllable range",
        "Date": "Thu, 8 Dec 2022 16:05:33 +0800",
        "Message-ID": "<20221208080540.62913-2-lihuisong@huawei.com>",
        "X-Mailer": "git-send-email 2.33.0",
        "In-Reply-To": "<20221208080540.62913-1-lihuisong@huawei.com>",
        "References": "<20221208080540.62913-1-lihuisong@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-ClientProxiedBy": "dggems705-chm.china.huawei.com (10.3.19.182) To\n kwepemm600004.china.huawei.com (7.193.23.242)",
        "X-CFilter-Loop": "Reflected",
        "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": "The \"stdint.h\" header is outside _RTE_TELEMETRY_H_ macro, which cause\nthis header is uncontrollable. So this patch moves this header to inside\n_RTE_TELEMETRY_H_.\n\nFixes: 99a2dd955fba (\"lib: remove librte_ prefix from directory names\")\nCc: stable@dpdk.org\n\nSigned-off-by: Huisong Li <lihuisong@huawei.com>\n---\n lib/telemetry/rte_telemetry.h | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/telemetry/rte_telemetry.h b/lib/telemetry/rte_telemetry.h\nindex d9918c4e96..40e9a3bf9d 100644\n--- a/lib/telemetry/rte_telemetry.h\n+++ b/lib/telemetry/rte_telemetry.h\n@@ -2,9 +2,6 @@\n  * Copyright(c) 2018 Intel Corporation\n  */\n \n-#include <stdint.h>\n-\n-\n #ifndef _RTE_TELEMETRY_H_\n #define _RTE_TELEMETRY_H_\n \n@@ -12,6 +9,8 @@\n extern \"C\" {\n #endif\n \n+#include <stdint.h>\n+\n /** Maximum length for string used in object. */\n #define RTE_TEL_MAX_STRING_LEN 128\n /** Maximum length of string. */\n",
    "prefixes": [
        "1/8"
    ]
}