get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113100,
    "url": "https://patches.dpdk.org/api/patches/113100/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220620104030.1889156-3-sean.morrissey@intel.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": "<20220620104030.1889156-3-sean.morrissey@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220620104030.1889156-3-sean.morrissey@intel.com",
    "date": "2022-06-20T10:40:18",
    "name": "[v4,02/14] eal: remove unneeded header includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "731f4b34d4579924ce80d49346ef6d9e881ec2e8",
    "submitter": {
        "id": 1359,
        "url": "https://patches.dpdk.org/api/people/1359/?format=api",
        "name": "Sean Morrissey",
        "email": "sean.morrissey@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220620104030.1889156-3-sean.morrissey@intel.com/mbox/",
    "series": [
        {
            "id": 23630,
            "url": "https://patches.dpdk.org/api/series/23630/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23630",
            "date": "2022-06-20T10:40:16",
            "name": "remove IWYU flagged headers",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/23630/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/113100/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/113100/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 01F4BA0545;\n\tMon, 20 Jun 2022 12:40:49 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2E45240F19;\n\tMon, 20 Jun 2022 12:40:41 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 1E1DE40150\n for <dev@dpdk.org>; Mon, 20 Jun 2022 12:40:36 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Jun 2022 03:40:36 -0700",
            "from silpixa00401215.ir.intel.com ([10.55.128.100])\n by fmsmga007.fm.intel.com with ESMTP; 20 Jun 2022 03:40:35 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1655721637; x=1687257637;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=2xjOz8w05Qt/0nHcMQp8ZEU3R6GmaOTS84WOzuwsvKQ=;\n b=S1Bdi+es6CKM6G4uwm1Wxhw67OLaABHXG9tgXLxcpoi81Ka+HBUkxLg9\n /ad4WnMw8BlXu8YgvYlpUb0W1fAdjHR5vjOW7y5N7fdLhz+7GLhTsMMu6\n 7mgyHqndFhmr3TA3P1yJvRT618zLYFjQTBBL3uL/IIzoHOQlI93gR5+lI\n R0bZeXKyiauoF7tMCNqBbFqSqC4qbfWJ6YjHmBvnx1jhkZm1Kj9AR2LKB\n av6bROLNo03n9Tl1oapQJGPYtM7Gs9CU+hd/YkpJPeu8/K9ru6RlLfe4N\n 5OZRqXAgS3pSnE3LT/cZ8+H3TaeapDr2vHsGmf4kYL0d2ELJcpoWQDt5W g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10380\"; a=\"268581644\"",
            "E=Sophos;i=\"5.92,306,1650956400\"; d=\"scan'208\";a=\"268581644\"",
            "E=Sophos;i=\"5.92,306,1650956400\"; d=\"scan'208\";a=\"591121047\""
        ],
        "X-ExtLoop1": "1",
        "From": "Sean Morrissey <sean.morrissey@intel.com>",
        "To": "",
        "Cc": "dev@dpdk.org,\n\tSean Morrissey <sean.morrissey@intel.com>",
        "Subject": "[PATCH v4 02/14] eal: remove unneeded header includes",
        "Date": "Mon, 20 Jun 2022 10:40:18 +0000",
        "Message-Id": "<20220620104030.1889156-3-sean.morrissey@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220620104030.1889156-1-sean.morrissey@intel.com>",
        "References": "<20220617190835.1126602-1-sean.morrissey@intel.com>\n <20220620104030.1889156-1-sean.morrissey@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "These header includes have been flagged by the iwyu_tool\nand removed.\n\nSigned-off-by: Sean Morrissey <sean.morrissey@intel.com>\n---\n lib/eal/common/eal_common_config.c | 1 -\n lib/eal/common/eal_common_launch.c | 1 -\n lib/eal/common/eal_common_log.c    | 1 -\n lib/eal/linux/eal_thread.c         | 6 ------\n lib/eal/unix/eal_filesystem.c      | 2 --\n 5 files changed, 11 deletions(-)",
    "diff": "diff --git a/lib/eal/common/eal_common_config.c b/lib/eal/common/eal_common_config.c\nindex 3cef43a4f7..0daf0f3188 100644\n--- a/lib/eal/common/eal_common_config.c\n+++ b/lib/eal/common/eal_common_config.c\n@@ -1,7 +1,6 @@\n /* SPDX-License-Identifier: BSD-3-Clause\n  * Copyright(c) 2020 Mellanox Technologies, Ltd\n  */\n-#include <string.h>\n \n #include <rte_string_fns.h>\n \ndiff --git a/lib/eal/common/eal_common_launch.c b/lib/eal/common/eal_common_launch.c\nindex 992f8e4631..462c886e30 100644\n--- a/lib/eal/common/eal_common_launch.c\n+++ b/lib/eal/common/eal_common_launch.c\n@@ -6,7 +6,6 @@\n \n #include <rte_launch.h>\n #include <rte_eal_trace.h>\n-#include <rte_atomic.h>\n #include <rte_pause.h>\n #include <rte_lcore.h>\n \ndiff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c\nindex d57dca9785..bd7b188ceb 100644\n--- a/lib/eal/common/eal_common_log.c\n+++ b/lib/eal/common/eal_common_log.c\n@@ -13,7 +13,6 @@\n #include <sys/queue.h>\n \n #include <rte_log.h>\n-#include <rte_os_shim.h>\n #include <rte_per_lcore.h>\n \n #include \"eal_log.h\"\ndiff --git a/lib/eal/linux/eal_thread.c b/lib/eal/linux/eal_thread.c\nindex 820cc905e0..e9294127d1 100644\n--- a/lib/eal/linux/eal_thread.c\n+++ b/lib/eal/linux/eal_thread.c\n@@ -4,20 +4,14 @@\n \n #include <errno.h>\n #include <stdio.h>\n-#include <stdint.h>\n #include <unistd.h>\n #include <pthread.h>\n #include <sys/syscall.h>\n \n-#include <rte_debug.h>\n-#include <rte_launch.h>\n-#include <rte_log.h>\n #include <rte_eal.h>\n #include <rte_lcore.h>\n #include <rte_string_fns.h>\n \n-#include \"eal_private.h\"\n-#include \"eal_thread.h\"\n \n /* require calling thread tid by gettid() */\n int rte_sys_gettid(void)\ndiff --git a/lib/eal/unix/eal_filesystem.c b/lib/eal/unix/eal_filesystem.c\nindex 094a2bf7e4..afbab9368a 100644\n--- a/lib/eal/unix/eal_filesystem.c\n+++ b/lib/eal/unix/eal_filesystem.c\n@@ -10,10 +10,8 @@\n #include <stdlib.h>\n #include <string.h>\n #include <sys/stat.h>\n-#include <sys/types.h>\n #include <unistd.h>\n \n-#include <rte_common.h>\n #include <rte_log.h>\n \n #include \"eal_private.h\"\n",
    "prefixes": [
        "v4",
        "02/14"
    ]
}