get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 91673,
    "url": "https://patches.dpdk.org/api/patches/91673/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1618594501-23795-9-git-send-email-jizh@linux.microsoft.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": "<1618594501-23795-9-git-send-email-jizh@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1618594501-23795-9-git-send-email-jizh@linux.microsoft.com",
    "date": "2021-04-16T17:35:00",
    "name": "[v4,8/9] app/testpmd: fix headers inclusion",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3daff96493d30a837550d48ebf641576f99bb7b6",
    "submitter": {
        "id": 1934,
        "url": "https://patches.dpdk.org/api/people/1934/?format=api",
        "name": "Jie Zhou",
        "email": "jizh@linux.microsoft.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1618594501-23795-9-git-send-email-jizh@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 16452,
            "url": "https://patches.dpdk.org/api/series/16452/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16452",
            "date": "2021-04-16T17:34:53",
            "name": "app/testpmd: Enable testpmd on Windows",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/16452/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/91673/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/91673/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 43631A0C41;\n\tFri, 16 Apr 2021 19:35:56 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 88DB8161C2C;\n\tFri, 16 Apr 2021 19:35:19 +0200 (CEST)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 3A37E161B9F\n for <dev@dpdk.org>; Fri, 16 Apr 2021 19:35:09 +0200 (CEST)",
            "from\n linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net\n (linux.microsoft.com [13.77.154.182])\n by linux.microsoft.com (Postfix) with ESMTPSA id 5FEED20B83ED;\n Fri, 16 Apr 2021 10:35:08 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 5FEED20B83ED",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1618594508;\n bh=r32ifghK8B7rOvSKTwFrKsUMLQReFG95e8sGGhw0j+c=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=O2pp8VHJnPTHQXntXW5VeMsbZLrZzpUJuDm8XejjhL8NCaObeSLjOATQ5crz0U7JM\n U6S7bQnLEbpSqvSk9TVcREzRKP6YfonEe+TtmUq1+oeGBXWsGW/XvH4+F0TX5ORTpb\n WDAiEDYsIebnrJDgt2ZSG2Bk9BPoVsCsILkzAKTQ=",
        "From": "Jie Zhou <jizh@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "dmitry.kozliuk@gmail.com, xiaoyun.li@intel.com, roretzla@microsoft.com,\n pallavi.kadam@intel.com, thomas@monjalon.net, bruce.richardson@intel.com,\n ferruh.yigit@intel.com",
        "Date": "Fri, 16 Apr 2021 10:35:00 -0700",
        "Message-Id": "<1618594501-23795-9-git-send-email-jizh@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1618594501-23795-1-git-send-email-jizh@linux.microsoft.com>",
        "References": "<1618334363-15147-1-git-send-email-jizh@linux.microsoft.com>\n <1618594501-23795-1-git-send-email-jizh@linux.microsoft.com>",
        "Subject": "[dpdk-dev] [PATCH v4 8/9] app/testpmd: fix headers inclusion",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "- Include rte_os_shim.h in testpmd.h\n- Remove redundant headers\n\nSigned-off-by: Jie Zhou <jizh@microsoft.com>\nSigned-off-by: Jie Zhou <jizh@linux.microsoft.com>\n---\n app/test-pmd/cmdline.c      | 3 ---\n app/test-pmd/cmdline_flow.c | 2 --\n app/test-pmd/parameters.c   | 1 -\n app/test-pmd/testpmd.h      | 1 +\n 4 files changed, 1 insertion(+), 6 deletions(-)",
    "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex be0107e18..9eb731753 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -10,9 +10,6 @@\n #include <string.h>\n #include <unistd.h>\n #include <inttypes.h>\n-#include <sys/socket.h>\n-#include <netinet/in.h>\n-\n #include <sys/queue.h>\n \n #include <rte_common.h>\ndiff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c\nindex bbedd58c4..b577209fc 100644\n--- a/app/test-pmd/cmdline_flow.c\n+++ b/app/test-pmd/cmdline_flow.c\n@@ -10,8 +10,6 @@\n #include <errno.h>\n #include <ctype.h>\n #include <string.h>\n-#include <arpa/inet.h>\n-#include <sys/socket.h>\n \n #include <rte_string_fns.h>\n #include <rte_common.h>\ndiff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c\nindex 4c3cbbac3..5e69d2aa8 100644\n--- a/app/test-pmd/parameters.c\n+++ b/app/test-pmd/parameters.c\n@@ -19,7 +19,6 @@\n #include <stdint.h>\n #include <unistd.h>\n #include <inttypes.h>\n-#include <arpa/inet.h>\n \n #include <rte_common.h>\n #include <rte_byteorder.h>\ndiff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h\nindex 6a828583b..cd4ec3409 100644\n--- a/app/test-pmd/testpmd.h\n+++ b/app/test-pmd/testpmd.h\n@@ -11,6 +11,7 @@\n #include <rte_bus_pci.h>\n #include <rte_gro.h>\n #include <rte_gso.h>\n+#include <rte_os_shim.h>\n #include <cmdline.h>\n #include <sys/queue.h>\n \n",
    "prefixes": [
        "v4",
        "8/9"
    ]
}