get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 49782,
    "url": "https://patches.dpdk.org/api/patches/49782/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1547445668-15578-1-git-send-email-andy.pei@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": "<1547445668-15578-1-git-send-email-andy.pei@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1547445668-15578-1-git-send-email-andy.pei@intel.com",
    "date": "2019-01-14T06:01:08",
    "name": "[DPDK] /driver/bus/ifpga: Fix a brackets unmatch",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5e8675ee5274b920b1df88f1f11155687d940e3a",
    "submitter": {
        "id": 1185,
        "url": "https://patches.dpdk.org/api/people/1185/?format=api",
        "name": "Pei, Andy",
        "email": "andy.pei@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/1547445668-15578-1-git-send-email-andy.pei@intel.com/mbox/",
    "series": [
        {
            "id": 3154,
            "url": "https://patches.dpdk.org/api/series/3154/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3154",
            "date": "2019-01-14T06:01:08",
            "name": "[DPDK] /driver/bus/ifpga: Fix a brackets unmatch",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/3154/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/49782/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/49782/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9393C1B452;\n\tMon, 14 Jan 2019 07:02:33 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id B71F61B43F\n\tfor <dev@dpdk.org>; Mon, 14 Jan 2019 07:02:31 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Jan 2019 22:02:30 -0800",
            "from dipei-st-npg.sh.intel.com ([10.67.110.220])\n\tby fmsmga001.fm.intel.com with ESMTP; 13 Jan 2019 22:02:29 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.56,476,1539673200\"; d=\"scan'208\";a=\"137997091\"",
        "From": "AndyPei <andy.pei@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "rosen.xu@intel.com,\n\ttianfei.zhang@intel.com,\n\tandy.pei@intel.com",
        "Date": "Mon, 14 Jan 2019 14:01:08 +0800",
        "Message-Id": "<1547445668-15578-1-git-send-email-andy.pei@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [DPDK] /driver/bus/ifpga: Fix a brackets unmatch",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The code\n\nextern \"C\" {\n\nmiss a related\n\n}\n\nfixes: 05fa3d4a6539\ncc: rosen.xu@intel.com\ncc: tianfei.zhang@intel.com\ncc: andy.pei@intel.com\n\nSigned-off-by: AndyPei <andy.pei@intel.com>\n---\n drivers/bus/ifpga/rte_bus_ifpga.h | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/bus/ifpga/rte_bus_ifpga.h b/drivers/bus/ifpga/rte_bus_ifpga.h\nindex d53c0f4..0bf43ba 100644\n--- a/drivers/bus/ifpga/rte_bus_ifpga.h\n+++ b/drivers/bus/ifpga/rte_bus_ifpga.h\n@@ -13,7 +13,7 @@\n \n #ifdef __cplusplus\n extern \"C\" {\n-#endif\n+#endif /* __cplusplus */\n \n #include <rte_bus.h>\n #include <rte_pci.h>\n@@ -143,4 +143,8 @@ struct rte_afu_driver {\n #define RTE_PMD_REGISTER_AFU_ALIAS(nm, alias)\\\n static const char *afudrvinit_ ## nm ## _alias = RTE_STR(alias)\n \n+#ifdef __cplusplus\n+}\n+#endif /* __cplusplus */\n+\n #endif /* _RTE_BUS_IFPGA_H_ */\n",
    "prefixes": [
        "DPDK"
    ]
}