get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107499,
    "url": "http://patches.dpdk.org/api/patches/107499/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220214113632.3184921-47-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-47-sean.morrissey@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220214113632.3184921-47-sean.morrissey@intel.com",
    "date": "2022-02-14T11:36:28",
    "name": "[v7,46/50] cmdline: remove unneeded header includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "07e27756e04ba4968859d2b69e149c7a254ca025",
    "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-47-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/107499/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/107499/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 9AAE7A00C5;\n\tMon, 14 Feb 2022 12:41:01 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D9DB94273C;\n\tMon, 14 Feb 2022 12:38:29 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 684DB41152\n for <dev@dpdk.org>; Mon, 14 Feb 2022 12:38:15 +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:38:15 -0800",
            "from silpixa00401215.ir.intel.com ([10.55.128.96])\n by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2022 03:38:13 -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=1644838695; x=1676374695;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Nq3dLMSseofBfJo1DBc+n5LYBwgzXFvcwCHTL/44jh8=;\n b=ldGZ4HbpkusasMQd03BYOMTY0+siyg9Bg+DjPNMLJsSYxteWSFfa7Rbl\n W9lEImG4TeipmHlOVG4EgqlGseZBEZ/cwX7h/1MlBhTrk6l3eeIX62WCM\n RnFdnbgBaHOqi/WNUoMMVtR10K+Z4s1l0kt6+Yb81A7N6BjqKpSy2CSrh\n UTnyg/ofiPTKARfmsVqg04GsURIP3X0Wv8J0dTiBoBXoopk9s/pKtC8+k\n dGt+jM3ikwGyJZi/prfYJKWwzuiiA6V1oZOc6xJ/AFrgIu6nRhC1/m068\n Kt9Fm0Ia9EiLvKMCzWJw4PQVw/ZSHhmVdbTs0vMzACVoZeX58u1Ys5BXg Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10257\"; a=\"233620012\"",
            "E=Sophos;i=\"5.88,367,1635231600\"; d=\"scan'208\";a=\"233620012\"",
            "E=Sophos;i=\"5.88,367,1635231600\"; d=\"scan'208\";a=\"632088100\""
        ],
        "X-ExtLoop1": "1",
        "From": "Sean Morrissey <sean.morrissey@intel.com>",
        "To": "Olivier Matz <olivier.matz@6wind.com>",
        "Cc": "dev@dpdk.org,\n\tSean Morrissey <sean.morrissey@intel.com>",
        "Subject": "[PATCH v7 46/50] cmdline: remove unneeded header includes",
        "Date": "Mon, 14 Feb 2022 11:36:28 +0000",
        "Message-Id": "<20220214113632.3184921-47-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/cmdline/cmdline.c                | 2 --\n lib/cmdline/cmdline_parse.c          | 3 ---\n lib/cmdline/cmdline_parse_portlist.c | 3 ---\n lib/cmdline/cmdline_parse_string.c   | 4 ----\n lib/cmdline/cmdline_rdline.c         | 2 --\n lib/cmdline/cmdline_vt100.c          | 3 ---\n 6 files changed, 17 deletions(-)",
    "diff": "diff --git a/lib/cmdline/cmdline.c b/lib/cmdline/cmdline.c\nindex 8f1854cb0b..e1009ba4c4 100644\n--- a/lib/cmdline/cmdline.c\n+++ b/lib/cmdline/cmdline.c\n@@ -9,8 +9,6 @@\n #include <unistd.h>\n #include <stdlib.h>\n #include <stdarg.h>\n-#include <inttypes.h>\n-#include <fcntl.h>\n #include <errno.h>\n \n #include <rte_string_fns.h>\ndiff --git a/lib/cmdline/cmdline_parse.c b/lib/cmdline/cmdline_parse.c\nindex f5cc934782..349ec87bd7 100644\n--- a/lib/cmdline/cmdline_parse.c\n+++ b/lib/cmdline/cmdline_parse.c\n@@ -5,11 +5,8 @@\n  */\n \n #include <stdio.h>\n-#include <stdarg.h>\n #include <errno.h>\n #include <string.h>\n-#include <inttypes.h>\n-#include <ctype.h>\n \n #include <rte_string_fns.h>\n \ndiff --git a/lib/cmdline/cmdline_parse_portlist.c b/lib/cmdline/cmdline_parse_portlist.c\nindex e1aa07be4b..2e2294553a 100644\n--- a/lib/cmdline/cmdline_parse_portlist.c\n+++ b/lib/cmdline/cmdline_parse_portlist.c\n@@ -6,11 +6,8 @@\n \n #include <stdio.h>\n #include <stdlib.h>\n-#include <inttypes.h>\n-#include <ctype.h>\n #include <string.h>\n #include <errno.h>\n-#include <stdarg.h>\n \n #include <rte_string_fns.h>\n #include \"cmdline_parse.h\"\ndiff --git a/lib/cmdline/cmdline_parse_string.c b/lib/cmdline/cmdline_parse_string.c\nindex 9cf41d0f76..d756638905 100644\n--- a/lib/cmdline/cmdline_parse_string.c\n+++ b/lib/cmdline/cmdline_parse_string.c\n@@ -5,11 +5,7 @@\n  */\n \n #include <stdio.h>\n-#include <inttypes.h>\n-#include <ctype.h>\n #include <string.h>\n-#include <stdarg.h>\n-#include <errno.h>\n #include <rte_string_fns.h>\n \n #include \"cmdline_parse.h\"\ndiff --git a/lib/cmdline/cmdline_rdline.c b/lib/cmdline/cmdline_rdline.c\nindex d92b1cda53..5cf723a012 100644\n--- a/lib/cmdline/cmdline_rdline.c\n+++ b/lib/cmdline/cmdline_rdline.c\n@@ -6,9 +6,7 @@\n \n #include <stdlib.h>\n #include <stdio.h>\n-#include <stdint.h>\n #include <string.h>\n-#include <stdarg.h>\n #include <errno.h>\n #include <ctype.h>\n \ndiff --git a/lib/cmdline/cmdline_vt100.c b/lib/cmdline/cmdline_vt100.c\nindex bb968dd5fa..4c9a46c953 100644\n--- a/lib/cmdline/cmdline_vt100.c\n+++ b/lib/cmdline/cmdline_vt100.c\n@@ -4,12 +4,9 @@\n  * All rights reserved.\n  */\n \n-#include <stdlib.h>\n #include <stdint.h>\n #include <stdio.h>\n #include <string.h>\n-#include <stdarg.h>\n-#include <ctype.h>\n \n #include \"cmdline_vt100.h\"\n \n",
    "prefixes": [
        "v7",
        "46/50"
    ]
}