get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2838,
    "url": "https://patches.dpdk.org/api/patches/2838/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1422624071-12437-1-git-send-email-pawelx.wodkowski@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": "<1422624071-12437-1-git-send-email-pawelx.wodkowski@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1422624071-12437-1-git-send-email-pawelx.wodkowski@intel.com",
    "date": "2015-01-30T13:21:11",
    "name": "[dpdk-dev,v2] bond: fix 'extern \"C\"' decls in mode4 header files",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "bac90a46ea5fbb8e3a17d1674979e6e08ee7a9cc",
    "submitter": {
        "id": 58,
        "url": "https://patches.dpdk.org/api/people/58/?format=api",
        "name": "Wodkowski, PawelX",
        "email": "pawelx.wodkowski@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1422624071-12437-1-git-send-email-pawelx.wodkowski@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2838/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2838/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 358675AB2;\n\tFri, 30 Jan 2015 14:27:32 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id DD2D95AB0\n\tfor <dev@dpdk.org>; Fri, 30 Jan 2015 14:27:28 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga101.jf.intel.com with ESMTP; 30 Jan 2015 05:27:25 -0800",
            "from unknown (HELO Sent) ([10.217.248.233])\n\tby orsmga002.jf.intel.com with SMTP; 30 Jan 2015 05:27:23 -0800",
            "by Sent (sSMTP sendmail emulation); Fri, 30 Jan 2015 14:21:37 +0100"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.09,491,1418112000\"; d=\"scan'208\";a=\"678550284\"",
        "From": "Pawel Wodkowski <pawelx.wodkowski@intel.com>",
        "To": "dev@dpdk.org,\n\tdeclan.doherty@intel.com",
        "Date": "Fri, 30 Jan 2015 14:21:11 +0100",
        "Message-Id": "<1422624071-12437-1-git-send-email-pawelx.wodkowski@intel.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1422362703-18868-1-git-send-email-pawelx.wodkowski@intel.com>",
        "References": "<1422362703-18868-1-git-send-email-pawelx.wodkowski@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] bond: fix 'extern \"C\"' decls in mode4 header\n\tfiles",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "v2:\n Remove 'extern \"C\"' declarations from bond private header files.\n\nv1:\n Add missing declarations to rte_bond_8023ad.h.\n\nSigned-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>\n---\n lib/librte_pmd_bond/rte_eth_bond_8023ad.h  | 8 ++++++++\n lib/librte_pmd_bond/rte_eth_bond_private.h | 8 --------\n 2 files changed, 8 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_bond/rte_eth_bond_8023ad.h b/lib/librte_pmd_bond/rte_eth_bond_8023ad.h\nindex 9adc6aa..ebd0e93 100644\n--- a/lib/librte_pmd_bond/rte_eth_bond_8023ad.h\n+++ b/lib/librte_pmd_bond/rte_eth_bond_8023ad.h\n@@ -36,6 +36,10 @@\n \n #include <rte_ether.h>\n \n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n /**\n  * Actor/partner states\n  */\n@@ -211,4 +215,8 @@ int\n rte_eth_bond_8023ad_slave_info(uint8_t port_id, uint8_t slave_id,\n \t\tstruct rte_eth_bond_8023ad_slave_info *conf);\n \n+#ifdef __cplusplus\n+}\n+#endif\n+\n #endif /* RTE_ETH_BOND_8023AD_H_ */\ndiff --git a/lib/librte_pmd_bond/rte_eth_bond_private.h b/lib/librte_pmd_bond/rte_eth_bond_private.h\nindex e01e66b..3da5a9e 100644\n--- a/lib/librte_pmd_bond/rte_eth_bond_private.h\n+++ b/lib/librte_pmd_bond/rte_eth_bond_private.h\n@@ -34,10 +34,6 @@\n #ifndef _RTE_ETH_BOND_PRIVATE_H_\n #define _RTE_ETH_BOND_PRIVATE_H_\n \n-#ifdef __cplusplus\n-extern \"C\" {\n-#endif\n-\n #include <rte_ethdev.h>\n #include <rte_spinlock.h>\n \n@@ -276,8 +272,4 @@ int\n bond_ethdev_parse_time_ms_kvarg(const char *key __rte_unused,\n \t\tconst char *value, void *extra_args);\n \n-#ifdef __cplusplus\n-}\n-#endif\n-\n #endif\n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}