get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126797,
    "url": "http://patches.dpdk.org/api/patches/126797/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230509092459.20140-2-haijie1@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": "<20230509092459.20140-2-haijie1@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230509092459.20140-2-haijie1@huawei.com",
    "date": "2023-05-09T09:24:57",
    "name": "[v6,1/3] ring: fix unmatched type definition and usage",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "0d6bcd39ba9859cad73c2c9a3974016aa8e6221d",
    "submitter": {
        "id": 2935,
        "url": "http://patches.dpdk.org/api/people/2935/?format=api",
        "name": "Jie Hai",
        "email": "haijie1@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/20230509092459.20140-2-haijie1@huawei.com/mbox/",
    "series": [
        {
            "id": 27967,
            "url": "http://patches.dpdk.org/api/series/27967/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27967",
            "date": "2023-05-09T09:24:56",
            "name": "add telemetry cmds for ring",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/27967/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/126797/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/126797/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 03B4D42AA2;\n\tTue,  9 May 2023 11:27:49 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1998F42D1D;\n\tTue,  9 May 2023 11:27:46 +0200 (CEST)",
            "from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255])\n by mails.dpdk.org (Postfix) with ESMTP id 14148410FA\n for <dev@dpdk.org>; Tue,  9 May 2023 11:27:43 +0200 (CEST)",
            "from kwepemi500020.china.huawei.com (unknown [172.30.72.53])\n by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4QFt4g4X7Xz18LKl;\n Tue,  9 May 2023 17:23:31 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n kwepemi500020.china.huawei.com (7.221.188.8) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2507.23; Tue, 9 May 2023 17:27:40 +0800"
        ],
        "From": "Jie Hai <haijie1@huawei.com>",
        "To": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, Konstantin Ananyev\n <konstantin.v.ananyev@yandex.ru>",
        "CC": "<dev@dpdk.org>, <liudongdong3@huawei.com>",
        "Subject": "[PATCH v6 1/3] ring: fix unmatched type definition and usage",
        "Date": "Tue, 9 May 2023 17:24:57 +0800",
        "Message-ID": "<20230509092459.20140-2-haijie1@huawei.com>",
        "X-Mailer": "git-send-email 2.33.0",
        "In-Reply-To": "<20230509092459.20140-1-haijie1@huawei.com>",
        "References": "<20230509012907.3817-1-haijie1@huawei.com>\n <20230509092459.20140-1-haijie1@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Originating-IP": "[10.69.192.56]",
        "X-ClientProxiedBy": "dggems703-chm.china.huawei.com (10.3.19.180) To\n kwepemi500020.china.huawei.com (7.221.188.8)",
        "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": "Field 'flags' of struct rte_ring is defined as int type. However,\nit is used as unsigned int. To ensure consistency, change the\ntype of flags to unsigned int. Since these two types has the\nsame byte size, this change is not an ABI change.\n\nFixes: af75078fece3 (\"first public release\")\n\nSigned-off-by: Jie Hai <haijie1@huawei.com>\nAcked-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>\nAcked-by: Chengwen Feng <fengchengwen@huawei.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n lib/ring/rte_ring_core.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/ring/rte_ring_core.h b/lib/ring/rte_ring_core.h\nindex 82b237091b71..1c809abeb531 100644\n--- a/lib/ring/rte_ring_core.h\n+++ b/lib/ring/rte_ring_core.h\n@@ -120,7 +120,7 @@ struct rte_ring_hts_headtail {\n struct rte_ring {\n \tchar name[RTE_RING_NAMESIZE] __rte_cache_aligned;\n \t/**< Name of the ring. */\n-\tint flags;               /**< Flags supplied at creation. */\n+\tuint32_t flags;               /**< Flags supplied at creation. */\n \tconst struct rte_memzone *memzone;\n \t\t\t/**< Memzone, if any, containing the rte_ring */\n \tuint32_t size;           /**< Size of ring. */\n",
    "prefixes": [
        "v6",
        "1/3"
    ]
}