get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 119953,
    "url": "https://patches.dpdk.org/api/patches/119953/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221118085313.2118977-2-david.marchand@redhat.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20221118085313.2118977-2-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221118085313.2118977-2-david.marchand@redhat.com",
    "date": "2022-11-18T08:53:03",
    "name": "[01/11] service: fix build with clang 15",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0d138e93860c17ecde0014c51525ce93007d402e",
    "submitter": {
        "id": 1173,
        "url": "https://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221118085313.2118977-2-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 25816,
            "url": "https://patches.dpdk.org/api/series/25816/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25816",
            "date": "2022-11-18T08:53:02",
            "name": "Fixes for clang 15",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/25816/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/119953/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/119953/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 DF630A0542;\n\tFri, 18 Nov 2022 09:55:06 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6FCB342D21;\n\tFri, 18 Nov 2022 09:55:06 +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 D33C642D1D\n for <dev@dpdk.org>; Fri, 18 Nov 2022 09:55:04 +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.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-164-yJayr8gQODe1u7x6SVEuEA-1; Fri, 18 Nov 2022 03:54:59 -0500",
            "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com\n [10.11.54.1])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B7B418027FE;\n Fri, 18 Nov 2022 08:54:58 +0000 (UTC)",
            "from localhost.localdomain (ovpn-192-54.brq.redhat.com\n [10.40.192.54])\n by smtp.corp.redhat.com (Postfix) with ESMTP id C3E6B40E9920;\n Fri, 18 Nov 2022 08:54:57 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1668761704;\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=U2xQtFuJGTo2lRFar4K2kL1s546UJLYs6ItVgRrjKYc=;\n b=Gno27cUPunrlfrg+yeSf8qaPgoUlQd9sD13ncyqCDfQwVzTaqk9lxubkElkXGwsO9tIEXe\n ywnmO4mIsvgr1FTD/3Aph9ij7AJ+ozaSxM6p/7oR5qSNZ7cnf2d/lpWKR8M0Z08/xxIlRQ\n dyP8u6pLOHLUy6VImBy/gJ9zaOv3SPQ=",
        "X-MC-Unique": "yJayr8gQODe1u7x6SVEuEA-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org, Harry van Haaren <harry.van.haaren@intel.com>,\n Jerin Jacob <jerinj@marvell.com>",
        "Subject": "[PATCH 01/11] service: fix build with clang 15",
        "Date": "Fri, 18 Nov 2022 09:53:03 +0100",
        "Message-Id": "<20221118085313.2118977-2-david.marchand@redhat.com>",
        "In-Reply-To": "<20221118085313.2118977-1-david.marchand@redhat.com>",
        "References": "<20221118085313.2118977-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.1",
        "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 variable is not used.\n\nBugzilla ID: 1130\nFixes: 21698354c832 (\"service: introduce service cores concept\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/eal/common/rte_service.c | 2 --\n 1 file changed, 2 deletions(-)",
    "diff": "diff --git a/lib/eal/common/rte_service.c b/lib/eal/common/rte_service.c\nindex bcc2e19077..42ca1d001d 100644\n--- a/lib/eal/common/rte_service.c\n+++ b/lib/eal/common/rte_service.c\n@@ -107,14 +107,12 @@ rte_service_init(void)\n \t}\n \n \tint i;\n-\tint count = 0;\n \tstruct rte_config *cfg = rte_eal_get_configuration();\n \tfor (i = 0; i < RTE_MAX_LCORE; i++) {\n \t\tif (lcore_config[i].core_role == ROLE_SERVICE) {\n \t\t\tif ((unsigned int)i == cfg->main_lcore)\n \t\t\t\tcontinue;\n \t\t\trte_service_lcore_add(i);\n-\t\t\tcount++;\n \t\t}\n \t}\n \n",
    "prefixes": [
        "01/11"
    ]
}