get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 134962,
    "url": "http://patches.dpdk.org/api/patches/134962/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231208145950.2184940-3-david.marchand@redhat.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": "<20231208145950.2184940-3-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231208145950.2184940-3-david.marchand@redhat.com",
    "date": "2023-12-08T14:59:36",
    "name": "[RFC,v2,02/14] regexdev: fix logtype register",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "29fddf19ec1c63f9b3fda9a1396b16ff4baffa89",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/20231208145950.2184940-3-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 30493,
            "url": "http://patches.dpdk.org/api/series/30493/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30493",
            "date": "2023-12-08T14:59:34",
            "name": "Detect superfluous newline in logs",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/30493/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/134962/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/134962/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 B1C28436AB;\n\tFri,  8 Dec 2023 16:00:15 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B8F9B40A75;\n\tFri,  8 Dec 2023 16:00:08 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id 10C97402CC\n for <dev@dpdk.org>; Fri,  8 Dec 2023 16:00:06 +0100 (CET)",
            "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-622-o0a0TSRNMzu5d3ZXBEafeA-1; Fri, 08 Dec 2023 10:00:02 -0500",
            "from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com\n [10.11.54.9])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 33CCD102BCB8;\n Fri,  8 Dec 2023 15:00:02 +0000 (UTC)",
            "from dmarchan.redhat.com (unknown [10.45.224.122])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 6A6C6492BC6;\n Fri,  8 Dec 2023 15:00:00 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1702047606;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=kNbEU5zew3P9iwevXIYMnX/sb5bJcSyXq4FejuLbCps=;\n b=DGhV+e/HYtz3e6ybWokx1k9/f99UWx2TJdbKdaOXci9/s5UeGXGj6KcL5uu9eqmuk2O1FM\n 8ZgdiSoZVDwxHYpG6u5bovueW0LiJ40T+a71PQHubSreYmI4pYF4y7YS/Rpq/44xygC0zA\n 3+OzfsivHvXVBhC9mkH3RvF+FFhZ4U8=",
        "X-MC-Unique": "o0a0TSRNMzu5d3ZXBEafeA-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, ferruh.yigit@amd.com, bruce.richardson@intel.com,\n stephen@networkplumber.org, mb@smartsharesystems.com, stable@dpdk.org,\n Ori Kam <orika@nvidia.com>, Parav Pandit <parav@nvidia.com>,\n Guy Kaneti <guyk@marvell.com>",
        "Subject": "[RFC v2 02/14] regexdev: fix logtype register",
        "Date": "Fri,  8 Dec 2023 15:59:36 +0100",
        "Message-ID": "<20231208145950.2184940-3-david.marchand@redhat.com>",
        "In-Reply-To": "<20231208145950.2184940-1-david.marchand@redhat.com>",
        "References": "<20231117131824.1977792-1-david.marchand@redhat.com>\n <20231208145950.2184940-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.11.54.9",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "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": "This library logtype was not initialized so its logs would end up under\nthe 0 logtype, iow, RTE_LOGTYPE_EAL.\n\nFixes: b25246beaefc (\"regexdev: add core functions\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/regexdev/rte_regexdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/regexdev/rte_regexdev.c b/lib/regexdev/rte_regexdev.c\nindex caec069182..d38a85eb0b 100644\n--- a/lib/regexdev/rte_regexdev.c\n+++ b/lib/regexdev/rte_regexdev.c\n@@ -19,7 +19,7 @@ static struct {\n \tstruct rte_regexdev_data data[RTE_MAX_REGEXDEV_DEVS];\n } *rte_regexdev_shared_data;\n \n-int rte_regexdev_logtype;\n+RTE_LOG_REGISTER_DEFAULT(rte_regexdev_logtype, INFO);\n \n static uint16_t\n regexdev_find_free_dev(void)\n",
    "prefixes": [
        "RFC",
        "v2",
        "02/14"
    ]
}