get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107488,
    "url": "http://patches.dpdk.org/api/patches/107488/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220214113632.3184921-36-sean.morrissey@intel.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": "<20220214113632.3184921-36-sean.morrissey@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220214113632.3184921-36-sean.morrissey@intel.com",
    "date": "2022-02-14T11:36:17",
    "name": "[v7,35/50] hash: remove unneeded header includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b6fbbcd9f05c8164f666579a63cf9f226e23b4e6",
    "submitter": {
        "id": 1359,
        "url": "http://patches.dpdk.org/api/people/1359/?format=api",
        "name": "Sean Morrissey",
        "email": "sean.morrissey@intel.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/20220214113632.3184921-36-sean.morrissey@intel.com/mbox/",
    "series": [
        {
            "id": 21658,
            "url": "http://patches.dpdk.org/api/series/21658/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21658",
            "date": "2022-02-14T11:35:42",
            "name": "introduce IWYU",
            "version": 7,
            "mbox": "http://patches.dpdk.org/series/21658/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/107488/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/107488/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 CC7B4A00C5;\n\tMon, 14 Feb 2022 12:40:05 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1860842710;\n\tMon, 14 Feb 2022 12:38:08 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id D3AE441140\n for <dev@dpdk.org>; Mon, 14 Feb 2022 12:37:58 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Feb 2022 03:37:58 -0800",
            "from silpixa00401215.ir.intel.com ([10.55.128.96])\n by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:37:56 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1644838679; x=1676374679;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=BvTTtictC4X23XZOZ/TZi3Rrp6NCD08P285Eo++1DvU=;\n b=NBHc39lMjzaQU+Te4ktvTwKjz1QRD3LRdVs3U+/OD6c4ErUfYHt1hJ2r\n q9HQQkCIGSZXbItX+a7RP3Yr7YjQvD1ngg+K2zYqwIQ7V64Lh1HcTPXL9\n NL5O4JQV0QRfQl9hRnNNdC87/ZMqMTv98G4pg4iunI+MtcBHSw30vMEU9\n PDVDPLdfaeiFII8JG1BJQOIkYX4cs7ETkDBE/Xc6aZrQ4wdvNsbqePyWq\n faCueAIC20uyVoNlUSQCbUK0pWzyDUe8G3uAojnjbZo4TnyYRd05ptKlY\n fnorZigjTiWDSwkvKpqOIB7V2TNdTxQrZtN4/EiPrwYHTS66se9zgomOy w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10257\"; a=\"233619974\"",
            "E=Sophos;i=\"5.88,367,1635231600\"; d=\"scan'208\";a=\"233619974\"",
            "E=Sophos;i=\"5.88,367,1635231600\"; d=\"scan'208\";a=\"632087793\""
        ],
        "X-ExtLoop1": "1",
        "From": "Sean Morrissey <sean.morrissey@intel.com>",
        "To": "Yipeng Wang <yipeng1.wang@intel.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>",
        "Cc": "dev@dpdk.org,\n\tSean Morrissey <sean.morrissey@intel.com>",
        "Subject": "[PATCH v7 35/50] hash: remove unneeded header includes",
        "Date": "Mon, 14 Feb 2022 11:36:17 +0000",
        "Message-Id": "<20220214113632.3184921-36-sean.morrissey@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220214113632.3184921-1-sean.morrissey@intel.com>",
        "References": "<20220202094802.3618978-1-sean.morrissey@intel.com>\n <20220214113632.3184921-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/hash/rte_cuckoo_hash.c | 4 ----\n lib/hash/rte_fbk_hash.c    | 6 ------\n lib/hash/rte_fbk_hash.h    | 1 -\n lib/hash/rte_thash.c       | 1 -\n lib/hash/rte_thash.h       | 1 -\n 5 files changed, 13 deletions(-)",
    "diff": "diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c\nindex 1191dfd81a..490f94af4b 100644\n--- a/lib/hash/rte_cuckoo_hash.c\n+++ b/lib/hash/rte_cuckoo_hash.c\n@@ -7,7 +7,6 @@\n #include <stdint.h>\n #include <errno.h>\n #include <stdio.h>\n-#include <stdarg.h>\n #include <sys/queue.h>\n \n #include <rte_common.h>\n@@ -16,14 +15,11 @@\n #include <rte_prefetch.h>\n #include <rte_branch_prediction.h>\n #include <rte_malloc.h>\n-#include <rte_eal.h>\n #include <rte_eal_memconfig.h>\n-#include <rte_per_lcore.h>\n #include <rte_errno.h>\n #include <rte_string_fns.h>\n #include <rte_cpuflags.h>\n #include <rte_rwlock.h>\n-#include <rte_spinlock.h>\n #include <rte_ring_elem.h>\n #include <rte_compat.h>\n #include <rte_vect.h>\ndiff --git a/lib/hash/rte_fbk_hash.c b/lib/hash/rte_fbk_hash.c\nindex 576e8e6662..538b23a403 100644\n--- a/lib/hash/rte_fbk_hash.c\n+++ b/lib/hash/rte_fbk_hash.c\n@@ -4,22 +4,16 @@\n \n #include <stdint.h>\n #include <stdio.h>\n-#include <stdarg.h>\n #include <string.h>\n #include <errno.h>\n \n #include <sys/queue.h>\n-#include <rte_memory.h>\n-#include <rte_eal.h>\n #include <rte_eal_memconfig.h>\n #include <rte_malloc.h>\n #include <rte_common.h>\n-#include <rte_per_lcore.h>\n #include <rte_errno.h>\n #include <rte_string_fns.h>\n-#include <rte_cpuflags.h>\n #include <rte_log.h>\n-#include <rte_spinlock.h>\n #include <rte_tailq.h>\n \n #include \"rte_fbk_hash.h\"\ndiff --git a/lib/hash/rte_fbk_hash.h b/lib/hash/rte_fbk_hash.h\nindex 9c3a61c1d6..b01126999b 100644\n--- a/lib/hash/rte_fbk_hash.h\n+++ b/lib/hash/rte_fbk_hash.h\n@@ -24,7 +24,6 @@ extern \"C\" {\n \n #include <string.h>\n \n-#include <rte_config.h>\n #include <rte_hash_crc.h>\n #include <rte_jhash.h>\n \ndiff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c\nindex 6847e36f4b..0249883b8d 100644\n--- a/lib/hash/rte_thash.c\n+++ b/lib/hash/rte_thash.c\n@@ -9,7 +9,6 @@\n #include <rte_random.h>\n #include <rte_memcpy.h>\n #include <rte_errno.h>\n-#include <rte_eal.h>\n #include <rte_eal_memconfig.h>\n #include <rte_log.h>\n #include <rte_malloc.h>\ndiff --git a/lib/hash/rte_thash.h b/lib/hash/rte_thash.h\nindex c11ca0d5b8..451f64043a 100644\n--- a/lib/hash/rte_thash.h\n+++ b/lib/hash/rte_thash.h\n@@ -21,7 +21,6 @@ extern \"C\" {\n \n #include <stdint.h>\n #include <rte_byteorder.h>\n-#include <rte_config.h>\n #include <rte_ip.h>\n #include <rte_common.h>\n #include <rte_thash_gfni.h>\n",
    "prefixes": [
        "v7",
        "35/50"
    ]
}