get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107612,
    "url": "http://patches.dpdk.org/api/patches/107612/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220215123037.608981-30-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": "<20220215123037.608981-30-sean.morrissey@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220215123037.608981-30-sean.morrissey@intel.com",
    "date": "2022-02-15T12:30:16",
    "name": "[v9,29/50] lpm: remove unneeded header includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "eb9cb6a099f52106d1564447ed09f3472d8943db",
    "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/20220215123037.608981-30-sean.morrissey@intel.com/mbox/",
    "series": [
        {
            "id": 21680,
            "url": "http://patches.dpdk.org/api/series/21680/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21680",
            "date": "2022-02-15T12:29:47",
            "name": "introduce IWYU",
            "version": 9,
            "mbox": "http://patches.dpdk.org/series/21680/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/107612/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/107612/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 0D77EA00C5;\n\tTue, 15 Feb 2022 13:35:03 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6667C4115D;\n\tTue, 15 Feb 2022 13:32:59 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id CE53341C3D\n for <dev@dpdk.org>; Tue, 15 Feb 2022 13:32:38 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Feb 2022 04:32:37 -0800",
            "from silpixa00401215.ir.intel.com ([10.55.128.96])\n by orsmga008.jf.intel.com with ESMTP; 15 Feb 2022 04:32:35 -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=1644928359; x=1676464359;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=ZU/fWrSJ9Sly2GpqY+l+YVjU2sUVtRoeqVwHXFKvJlU=;\n b=kfKsGk94PgHOSziKXkcwl/9ib74IodPNWvBYfD3Z34jG1fXMVEB5RZhN\n E7HJuA0m/yfv8KljgpnhPt5wEl9fdgAqiRZRwL4w2zGJida3KqO9UaxUP\n F8olvmq3J4DtAo40gnHopA6PcRfRdftwKH1cRzvN3Q/d9pNRyku2gth9I\n G66etKt8j0nPv4Mg6qrbAsgif91x2rjm4mZudMJU+c6F8cZ9uV/rn1hwa\n ROJt15LTtZtn+JvTcg+V/tpOiaooXFVBjDRUOnq0Qy1PnX3HLIkW32eV8\n UK2ftqmjpvVOp0cJssVT99cr2RcF/N7QxkDU7+PSTm63BB5H1x8dCD7wk A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10258\"; a=\"247936633\"",
            "E=Sophos;i=\"5.88,370,1635231600\"; d=\"scan'208\";a=\"247936633\"",
            "E=Sophos;i=\"5.88,370,1635231600\"; d=\"scan'208\";a=\"544280440\""
        ],
        "X-ExtLoop1": "1",
        "From": "Sean Morrissey <sean.morrissey@intel.com>",
        "To": "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 v9 29/50] lpm: remove unneeded header includes",
        "Date": "Tue, 15 Feb 2022 12:30:16 +0000",
        "Message-Id": "<20220215123037.608981-30-sean.morrissey@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220215123037.608981-1-sean.morrissey@intel.com>",
        "References": "<20220214144406.4192233-1-sean.morrissey@intel.com>\n <20220215123037.608981-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/lpm/rte_lpm.c  | 7 -------\n lib/lpm/rte_lpm.h  | 4 ----\n lib/lpm/rte_lpm6.c | 7 -------\n lib/lpm/rte_lpm6.h | 1 -\n 4 files changed, 19 deletions(-)",
    "diff": "diff --git a/lib/lpm/rte_lpm.c b/lib/lpm/rte_lpm.c\nindex 002811f4de..cdcd1b7f9e 100644\n--- a/lib/lpm/rte_lpm.c\n+++ b/lib/lpm/rte_lpm.c\n@@ -6,22 +6,15 @@\n #include <string.h>\n #include <stdint.h>\n #include <errno.h>\n-#include <stdarg.h>\n #include <stdio.h>\n #include <sys/queue.h>\n \n #include <rte_log.h>\n-#include <rte_branch_prediction.h>\n #include <rte_common.h>\n-#include <rte_memory.h>        /* for definition of RTE_CACHE_LINE_SIZE */\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_string_fns.h>\n #include <rte_errno.h>\n-#include <rte_rwlock.h>\n-#include <rte_spinlock.h>\n #include <rte_tailq.h>\n \n #include \"rte_lpm.h\"\ndiff --git a/lib/lpm/rte_lpm.h b/lib/lpm/rte_lpm.h\nindex 5eb14c1748..eb91960e81 100644\n--- a/lib/lpm/rte_lpm.h\n+++ b/lib/lpm/rte_lpm.h\n@@ -12,13 +12,9 @@\n  */\n \n #include <errno.h>\n-#include <sys/queue.h>\n #include <stdint.h>\n-#include <stdlib.h>\n #include <rte_branch_prediction.h>\n #include <rte_byteorder.h>\n-#include <rte_config.h>\n-#include <rte_memory.h>\n #include <rte_common.h>\n #include <rte_vect.h>\n #include <rte_rcu_qsbr.h>\ndiff --git a/lib/lpm/rte_lpm6.c b/lib/lpm/rte_lpm6.c\nindex 73768fc956..8d21aeddb8 100644\n--- a/lib/lpm/rte_lpm6.c\n+++ b/lib/lpm/rte_lpm6.c\n@@ -4,23 +4,16 @@\n #include <string.h>\n #include <stdint.h>\n #include <errno.h>\n-#include <stdarg.h>\n #include <stdio.h>\n #include <sys/queue.h>\n \n #include <rte_log.h>\n-#include <rte_branch_prediction.h>\n #include <rte_common.h>\n-#include <rte_memory.h>\n #include <rte_malloc.h>\n #include <rte_memcpy.h>\n-#include <rte_eal.h>\n #include <rte_eal_memconfig.h>\n-#include <rte_per_lcore.h>\n #include <rte_string_fns.h>\n #include <rte_errno.h>\n-#include <rte_rwlock.h>\n-#include <rte_spinlock.h>\n #include <rte_hash.h>\n #include <assert.h>\n #include <rte_jhash.h>\ndiff --git a/lib/lpm/rte_lpm6.h b/lib/lpm/rte_lpm6.h\nindex f96f3372e5..9b07260d5a 100644\n--- a/lib/lpm/rte_lpm6.h\n+++ b/lib/lpm/rte_lpm6.h\n@@ -10,7 +10,6 @@\n  */\n \n #include <stdint.h>\n-#include <rte_compat.h>\n \n #ifdef __cplusplus\n extern \"C\" {\n",
    "prefixes": [
        "v9",
        "29/50"
    ]
}