get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107547,
    "url": "https://patches.dpdk.org/api/patches/107547/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220214144406.4192233-41-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": "<20220214144406.4192233-41-sean.morrissey@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220214144406.4192233-41-sean.morrissey@intel.com",
    "date": "2022-02-14T14:43:56",
    "name": "[v8,40/50] fib: remove unneeded header includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a09fcd874d7799fb27594453b47865fa2c8c6651",
    "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/20220214144406.4192233-41-sean.morrissey@intel.com/mbox/",
    "series": [
        {
            "id": 21662,
            "url": "https://patches.dpdk.org/api/series/21662/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21662",
            "date": "2022-02-14T14:43:16",
            "name": "introduce IWYU",
            "version": 8,
            "mbox": "https://patches.dpdk.org/series/21662/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/107547/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/107547/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 BD7B1A034F;\n\tMon, 14 Feb 2022 15:49:53 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7B4854273E;\n\tMon, 14 Feb 2022 15:46:32 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id DD84841176\n for <dev@dpdk.org>; Mon, 14 Feb 2022 15:46:21 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Feb 2022 06:46:21 -0800",
            "from silpixa00401215.ir.intel.com ([10.55.128.96])\n by orsmga003.jf.intel.com with ESMTP; 14 Feb 2022 06:46:20 -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=1644849982; x=1676385982;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=7N4aLqgbna4nRQeFy8OzdM7ZdC1VxvuUgd3kVR6oMaA=;\n b=X1qRSJuIMmaEsqJcQe3v9o9B0KJKCs2Znw+0DmAq69hds0xjy1JVsARi\n SU82ZJTy406tJpzQzPtFVtEULMT6eUyq+78GuyxcmoXchjDNfLd2cfi7K\n Wm7QbXKogWsxcgEpdg1lj9HPdWicrJMWeUFK7IWUJWwN/skT2jBlnS99v\n EZeI8NLf5MlgaE8YAMm+7pbnynl8zhHxSCh2FSXP7NTBYXIJaz6vnjEhx\n +unmTClOo8llfkUcA5YE7Ev8BBvNTLjbcMrIvMH6Gh7NFtiRST46jlvbA\n tFQVm50maAhmuYCDfT3mR6rULBE+CHJYGHETJi9CUsH7fSKiBhGaayVt5 g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10257\"; a=\"274673557\"",
            "E=Sophos;i=\"5.88,368,1635231600\"; d=\"scan'208\";a=\"274673557\"",
            "E=Sophos;i=\"5.88,368,1635231600\"; d=\"scan'208\";a=\"485505406\""
        ],
        "X-ExtLoop1": "1",
        "From": "Sean Morrissey <sean.morrissey@intel.com>",
        "To": "Vladimir Medvedkin <vladimir.medvedkin@intel.com>",
        "Cc": "dev@dpdk.org,\n\tSean Morrissey <sean.morrissey@intel.com>",
        "Subject": "[PATCH v8 40/50] fib: remove unneeded header includes",
        "Date": "Mon, 14 Feb 2022 14:43:56 +0000",
        "Message-Id": "<20220214144406.4192233-41-sean.morrissey@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220214144406.4192233-1-sean.morrissey@intel.com>",
        "References": "<20220214113632.3184921-1-sean.morrissey@intel.com>\n <20220214144406.4192233-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/fib/dir24_8.c  | 4 ----\n lib/fib/rte_fib.c  | 2 --\n lib/fib/rte_fib.h  | 1 -\n lib/fib/rte_fib6.c | 2 --\n lib/fib/rte_fib6.h | 1 -\n lib/fib/trie.c     | 5 -----\n lib/fib/trie.h     | 2 --\n 7 files changed, 17 deletions(-)",
    "diff": "diff --git a/lib/fib/dir24_8.c b/lib/fib/dir24_8.c\nindex bb3bc9753b..a8ba4f64ca 100644\n--- a/lib/fib/dir24_8.c\n+++ b/lib/fib/dir24_8.c\n@@ -4,15 +4,11 @@\n  */\n \n #include <stdint.h>\n-#include <stdlib.h>\n #include <stdio.h>\n-#include <string.h>\n-#include <inttypes.h>\n \n #include <rte_debug.h>\n #include <rte_malloc.h>\n #include <rte_errno.h>\n-#include <rte_memory.h>\n #include <rte_vect.h>\n \n #include <rte_rib.h>\ndiff --git a/lib/fib/rte_fib.c b/lib/fib/rte_fib.c\nindex 0cced97a77..8af4c40919 100644\n--- a/lib/fib/rte_fib.c\n+++ b/lib/fib/rte_fib.c\n@@ -6,11 +6,9 @@\n #include <stdint.h>\n #include <string.h>\n \n-#include <rte_eal.h>\n #include <rte_eal_memconfig.h>\n #include <rte_errno.h>\n #include <rte_malloc.h>\n-#include <rte_rwlock.h>\n #include <rte_string_fns.h>\n #include <rte_tailq.h>\n \ndiff --git a/lib/fib/rte_fib.h b/lib/fib/rte_fib.h\nindex e592d3251a..90f28b7e11 100644\n--- a/lib/fib/rte_fib.h\n+++ b/lib/fib/rte_fib.h\n@@ -17,7 +17,6 @@\n \n #include <stdint.h>\n \n-#include <rte_compat.h>\n \n #ifdef __cplusplus\n extern \"C\" {\ndiff --git a/lib/fib/rte_fib6.c b/lib/fib/rte_fib6.c\nindex eebee297d6..4b8e22b142 100644\n--- a/lib/fib/rte_fib6.c\n+++ b/lib/fib/rte_fib6.c\n@@ -6,11 +6,9 @@\n #include <stdint.h>\n #include <string.h>\n \n-#include <rte_eal.h>\n #include <rte_eal_memconfig.h>\n #include <rte_tailq.h>\n #include <rte_errno.h>\n-#include <rte_rwlock.h>\n #include <rte_malloc.h>\n #include <rte_string_fns.h>\n \ndiff --git a/lib/fib/rte_fib6.h b/lib/fib/rte_fib6.h\nindex cb133719e1..62a425d9af 100644\n--- a/lib/fib/rte_fib6.h\n+++ b/lib/fib/rte_fib6.h\n@@ -17,7 +17,6 @@\n \n #include <stdint.h>\n \n-#include <rte_compat.h>\n \n #ifdef __cplusplus\n extern \"C\" {\ndiff --git a/lib/fib/trie.c b/lib/fib/trie.c\nindex 044095bf03..3e780afdaf 100644\n--- a/lib/fib/trie.c\n+++ b/lib/fib/trie.c\n@@ -4,16 +4,11 @@\n  */\n \n #include <stdint.h>\n-#include <stdlib.h>\n #include <stdio.h>\n-#include <string.h>\n-#include <inttypes.h>\n \n #include <rte_debug.h>\n #include <rte_malloc.h>\n #include <rte_errno.h>\n-#include <rte_memory.h>\n-#include <rte_vect.h>\n \n #include <rte_rib6.h>\n #include <rte_fib6.h>\ndiff --git a/lib/fib/trie.h b/lib/fib/trie.h\nindex 9fd15ae79f..3cf161ae25 100644\n--- a/lib/fib/trie.h\n+++ b/lib/fib/trie.h\n@@ -10,8 +10,6 @@\n  * @file\n  * RTE IPv6 Longest Prefix Match (LPM)\n  */\n-#include <rte_prefetch.h>\n-#include <rte_branch_prediction.h>\n \n /* @internal Total number of tbl24 entries. */\n #define TRIE_TBL24_NUM_ENT\t(1 << 24)\n",
    "prefixes": [
        "v8",
        "40/50"
    ]
}