get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 113112,
    "url": "https://patches.dpdk.org/api/patches/113112/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220620104030.1889156-15-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-15-sean.morrissey@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220620104030.1889156-15-sean.morrissey@intel.com",
    "date": "2022-06-20T10:40:30",
    "name": "[v4,14/14] vhost: remove unneeded header includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d5f77fe9992f2b55d42ec9ff8f8a5ac86c31478c",
    "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-15-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/113112/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/113112/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 ED95EA0545;\n\tMon, 20 Jun 2022 12:42:02 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9835442B91;\n\tMon, 20 Jun 2022 12:40:59 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 1657942B84\n for <dev@dpdk.org>; Mon, 20 Jun 2022 12:40:52 +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:52 -0700",
            "from silpixa00401215.ir.intel.com ([10.55.128.100])\n by fmsmga007.fm.intel.com with ESMTP; 20 Jun 2022 03:40:51 -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=1655721653; x=1687257653;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=ZhIfcTjtR2zlEMN61rKRyp66gBs6ETyARUkivhXku04=;\n b=OwRnb5q+Dk6crmPRWL9MUterI8E1NhFTBlip3gW76h1/mwoTtjvNw4hW\n fF9lTAEBUQ5g2SW7JO5pc3LK+NdCmP4CieHjzQTE7DmJ9O4osvYh2ai55\n 9umY6uzC7xoxX+9ice4oAqB+xK4qEtq6HbweX5GQHWG4WsCD8ctgsVFuy\n EhU3n+RYZV8GcUEq5ieFN8qp1nnVkBa8RKXbV8/irAH9b7szira4hYVZX\n hDqMfY71P64bL2U9f0ZKfTPcEHkI7ZWKlnkvjOS0qQ2UdqZxi5EBj9oQ+\n VI0G1jkHBRHB39YshcVo6OdBoLynqmou9BlfhBhdKsKa9MiwNq9t8KLkz g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10380\"; a=\"268581702\"",
            "E=Sophos;i=\"5.92,306,1650956400\"; d=\"scan'208\";a=\"268581702\"",
            "E=Sophos;i=\"5.92,306,1650956400\"; d=\"scan'208\";a=\"591121143\""
        ],
        "X-ExtLoop1": "1",
        "From": "Sean Morrissey <sean.morrissey@intel.com>",
        "To": "Maxime Coquelin <maxime.coquelin@redhat.com>,\n Chenbo Xia <chenbo.xia@intel.com>",
        "Cc": "dev@dpdk.org,\n\tSean Morrissey <sean.morrissey@intel.com>",
        "Subject": "[PATCH v4 14/14] vhost: remove unneeded header includes",
        "Date": "Mon, 20 Jun 2022 10:40:30 +0000",
        "Message-Id": "<20220620104030.1889156-15-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>\nAcked-by: Chenbo Xia <chenbo.xia@intel.com>\n---\n lib/vhost/vhost.h      | 2 --\n lib/vhost/vhost_user.h | 1 -\n 2 files changed, 3 deletions(-)",
    "diff": "diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h\nindex 14235aaf81..4ebcb7448a 100644\n--- a/lib/vhost/vhost.h\n+++ b/lib/vhost/vhost.h\n@@ -7,10 +7,8 @@\n #include <stdint.h>\n #include <stdio.h>\n #include <stdbool.h>\n-#include <sys/types.h>\n #include <sys/queue.h>\n #include <unistd.h>\n-#include <linux/vhost.h>\n #include <linux/virtio_net.h>\n #include <sys/socket.h>\n #include <linux/if.h>\ndiff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h\nindex c4d091e175..8ecca68597 100644\n--- a/lib/vhost/vhost_user.h\n+++ b/lib/vhost/vhost_user.h\n@@ -6,7 +6,6 @@\n #define _VHOST_NET_USER_H\n \n #include <stdint.h>\n-#include <linux/vhost.h>\n \n #include \"rte_vhost.h\"\n \n",
    "prefixes": [
        "v4",
        "14/14"
    ]
}