get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 34205,
    "url": "http://patches.dpdk.org/api/patches/34205/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180122014807.24654-3-nhorman@tuxdriver.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": "<20180122014807.24654-3-nhorman@tuxdriver.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180122014807.24654-3-nhorman@tuxdriver.com",
    "date": "2018-01-22T01:48:04",
    "name": "[dpdk-dev,[PATCH,v5] 2/5] compat: Add __rte_experimental macro",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d9e54c2616890c2b6db8b61cdef92e9200740ec7",
    "submitter": {
        "id": 32,
        "url": "http://patches.dpdk.org/api/people/32/?format=api",
        "name": "Neil Horman",
        "email": "nhorman@tuxdriver.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180122014807.24654-3-nhorman@tuxdriver.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/34205/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/34205/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 D229A1B16F;\n\tMon, 22 Jan 2018 02:49:02 +0100 (CET)",
            "from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])\n\tby dpdk.org (Postfix) with ESMTP id C4A4D1B017\n\tfor <dev@dpdk.org>; Mon, 22 Jan 2018 02:48:57 +0100 (CET)",
            "from cpe-2606-a000-111b-4011-eaa3-4b92-4a68-8f24.dyn6.twc.com\n\t([2606:a000:111b:4011:eaa3:4b92:4a68:8f24]\n\thelo=hmswarspite.think-freely.org)\n\tby smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63)\n\t(envelope-from <nhorman@tuxdriver.com>)\n\tid 1edRE5-000689-Fq; Sun, 21 Jan 2018 20:48:55 -0500",
            "from hmswarspite.think-freely.org (localhost [127.0.0.1])\n\tby hmswarspite.think-freely.org (8.15.2/8.15.2) with ESMTP id\n\tw0M1mCvA024806; Sun, 21 Jan 2018 20:48:12 -0500",
            "(from nhorman@localhost)\n\tby hmswarspite.think-freely.org (8.15.2/8.15.2/Submit) id\n\tw0M1mC3l024805; Sun, 21 Jan 2018 20:48:12 -0500"
        ],
        "From": "Neil Horman <nhorman@tuxdriver.com>",
        "To": "dev@dpdk.org",
        "Cc": "Neil Horman <nhorman@tuxdriver.com>,\n\tThomas Monjalon <thomas@monjalon.net>, \n\t\"Mcnamara, John\" <john.mcnamara@intel.com>,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Date": "Sun, 21 Jan 2018 20:48:04 -0500",
        "Message-Id": "<20180122014807.24654-3-nhorman@tuxdriver.com>",
        "X-Mailer": "git-send-email 2.14.3",
        "In-Reply-To": "<20180122014807.24654-1-nhorman@tuxdriver.com>",
        "References": "<20171201185628.16261-1-nhorman@tuxdriver.com>\n\t<20180122014807.24654-1-nhorman@tuxdriver.com>",
        "X-Spam-Score": "-2.9 (--)",
        "X-Spam-Status": "No",
        "Subject": "[dpdk-dev] [[PATCH v5] 2/5] compat: Add __rte_experimental macro",
        "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://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": "<https://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": "The __rte_experimental macro tags a given exported function as being part of\nthe EXPERIMENTAL api.  Use of this tag will cause any caller of the\nfunction (that isn't removed by dead code elimination) to emit a warning\nthat the user is making use of an API whos stabilty isn't guaranteed.\nIt also places the function in the .text.experimental section, which is\nused to validate the tag against the corresponding library version map\n\nSigned-off-by: Neil Horman <nhorman@tuxdriver.com>\nCC: Thomas Monjalon <thomas@monjalon.net>\nCC: \"Mcnamara, John\" <john.mcnamara@intel.com>\nCC: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_compat/rte_compat.h | 11 +++++++++++\n 1 file changed, 11 insertions(+)",
    "diff": "diff --git a/lib/librte_compat/rte_compat.h b/lib/librte_compat/rte_compat.h\nindex 41e8032ba..ad8f81ffe 100644\n--- a/lib/librte_compat/rte_compat.h\n+++ b/lib/librte_compat/rte_compat.h\n@@ -101,5 +101,16 @@\n  */\n #endif\n \n+#ifndef ALLOW_EXPERIMENTAL_API\n \n+#define __rte_experimental \\\n+__attribute__((deprecated(\"Symbol is not yet part of stable ABI\"), \\\n+section(\".text.experimental\")))\n+\n+#else\n+\n+#define __rte_experimental \\\n+__attribute__((section(\".text.experimental\")))\n+\n+#endif\n #endif /* _RTE_COMPAT_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "[PATCH",
        "v5"
    ]
}