get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 129240,
    "url": "http://patchwork.dpdk.org/api/patches/129240/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230704090448.57297-2-haijie1@huawei.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20230704090448.57297-2-haijie1@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230704090448.57297-2-haijie1@huawei.com",
    "date": "2023-07-04T09:04:46",
    "name": "[v7,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://patchwork.dpdk.org/api/people/2935/?format=api",
        "name": "Jie Hai",
        "email": "haijie1@huawei.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230704090448.57297-2-haijie1@huawei.com/mbox/",
    "series": [
        {
            "id": 28805,
            "url": "http://patchwork.dpdk.org/api/series/28805/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28805",
            "date": "2023-07-04T09:04:46",
            "name": "add telemetry cmds for ring",
            "version": 7,
            "mbox": "http://patchwork.dpdk.org/series/28805/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/129240/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/129240/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 D4F3B42DD0;\n\tTue,  4 Jul 2023 11:08:33 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AA28A40E03;\n\tTue,  4 Jul 2023 11:08:33 +0200 (CEST)",
            "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id C29D940042\n for <dev@dpdk.org>; Tue,  4 Jul 2023 11:08:31 +0200 (CEST)",
            "from kwepemi500020.china.huawei.com (unknown [172.30.72.57])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4QwH4J6xgtzTmMs;\n Tue,  4 Jul 2023 17:07:28 +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.27; Tue, 4 Jul 2023 17:08:29 +0800"
        ],
        "From": "Jie Hai <haijie1@huawei.com>",
        "To": "Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, Konstantin Ananyev\n <konstantin.v.ananyev@yandex.ru>",
        "CC": "<haijie1@huawei.com>, <dev@dpdk.org>, <liudongdong3@huawei.com>",
        "Subject": "[PATCH v7 1/3] ring: fix unmatched type definition and usage",
        "Date": "Tue, 4 Jul 2023 17:04:46 +0800",
        "Message-ID": "<20230704090448.57297-2-haijie1@huawei.com>",
        "X-Mailer": "git-send-email 2.33.0",
        "In-Reply-To": "<20230704090448.57297-1-haijie1@huawei.com>",
        "References": "<20230509092459.20140-1-haijie1@huawei.com>\n <20230704090448.57297-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": "dggems702-chm.china.huawei.com (10.3.19.179) 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": [
        "v7",
        "1/3"
    ]
}