get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 5758,
    "url": "http://patches.dpdk.org/api/patches/5758/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1435170885-17643-1-git-send-email-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": "<1435170885-17643-1-git-send-email-nhorman@tuxdriver.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1435170885-17643-1-git-send-email-nhorman@tuxdriver.com",
    "date": "2015-06-24T18:34:44",
    "name": "[dpdk-dev,PATCHv2,1/2] rte_compat.h : Clean up some typos",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ceabd256155edaa77f79674b1f18447a2fb06785",
    "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/1435170885-17643-1-git-send-email-nhorman@tuxdriver.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/5758/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/5758/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 05D1BC392;\n\tWed, 24 Jun 2015 20:35:01 +0200 (CEST)",
            "from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])\n\tby dpdk.org (Postfix) with ESMTP id 87DA3C342\n\tfor <dev@dpdk.org>; Wed, 24 Jun 2015 20:34:59 +0200 (CEST)",
            "from hmsreliant.think-freely.org\n\t([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost)\n\tby smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63)\n\t(envelope-from <nhorman@tuxdriver.com>)\n\tid 1Z7pVf-0002Hf-KJ; Wed, 24 Jun 2015 14:34:58 -0400"
        ],
        "From": "Neil Horman <nhorman@tuxdriver.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 24 Jun 2015 14:34:44 -0400",
        "Message-Id": "<1435170885-17643-1-git-send-email-nhorman@tuxdriver.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "In-Reply-To": "<1435088014-18973-1-git-send-email-nhorman@tuxdriver.com>",
        "References": "<1435088014-18973-1-git-send-email-nhorman@tuxdriver.com>",
        "X-Spam-Score": "-2.9 (--)",
        "X-Spam-Status": "No",
        "Subject": "[dpdk-dev] [PATCHv2 1/2] rte_compat.h : Clean up some typos",
        "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": "Clean up some macro definition typos and comments\n\nSigned-off-by: Neil Horman <nhorman@tuxdriver.com>\nCC: thomas.monjalon@6wind.com\n---\n lib/librte_compat/rte_compat.h | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/lib/librte_compat/rte_compat.h b/lib/librte_compat/rte_compat.h\nindex fb0dc19..75920a1 100644\n--- a/lib/librte_compat/rte_compat.h\n+++ b/lib/librte_compat/rte_compat.h\n@@ -54,7 +54,7 @@\n  * foo is exported as a global symbol.\n  *\n  * 2) rename the existing function int foo(char *string) to\n- *\tint __vsym foo_v20(char *string)\n+ *\tint foo_v20(char *string)\n  *\n  * 3) Add this macro immediately below the function\n  *\tVERSION_SYMBOL(foo, _v20, 2.0);\n@@ -63,7 +63,7 @@\n  *\tchar foo(int value, int otherval) { ...}\n  *\n  * 5) Mark the newest version as the default version\n- *\tBIND_DEFAULT_SYMBOL(foo, 2.1);\n+ *\tBIND_DEFAULT_SYMBOL(foo, _v21, 2.1);\n  *\n  */\n \n@@ -79,21 +79,21 @@\n  * Creates a symbol version table entry binding symbol <b>@DPDK_<n> to the internal\n  * function name <b>_<e>\n  */\n-#define VERSION_SYMBOL(b, e, n) __asm__(\".symver \" RTE_STR(b) RTE_STR(e) \", \"RTE_STR(b)\"@DPDK_\"RTE_STR(n))\n+#define VERSION_SYMBOL(b, e, n) __asm__(\".symver \" RTE_STR(b) RTE_STR(e) \", \" RTE_STR(b) \"@DPDK_\" RTE_STR(n))\n \n /*\n  * BASE_SYMBOL\n  * Creates a symbol version table entry binding unversioned symbol <b>\n  * to the internal function <b>_<e>\n  */\n-#define BASE_SYMBOL(b, e) __asm__(\".symver \" RTE_STR(b) RTE_STR(e) \", \"RTE_STR(b)\"@\")\n+#define BASE_SYMBOL(b, e) __asm__(\".symver \" RTE_STR(b) RTE_STR(e) \", \" RTE_STR(b)\"@\")\n \n /*\n- * BNID_DEFAULT_SYMBOL\n+ * BIND_DEFAULT_SYMBOL\n  * Creates a symbol version entry instructing the linker to bind references to\n  * symbol <b> to the internal symbol <b>_<e>\n  */\n-#define BIND_DEFAULT_SYMBOL(b, e, n) __asm__(\".symver \" RTE_STR(b) RTE_STR(e) \", \"RTE_STR(b)\"@@DPDK_\"RTE_STR(n))\n+#define BIND_DEFAULT_SYMBOL(b, e, n) __asm__(\".symver \" RTE_STR(b) RTE_STR(e) \", \" RTE_STR(b) \"@@DPDK_\" RTE_STR(n))\n #define __vsym __attribute__((used))\n \n #else\n@@ -103,7 +103,7 @@\n #define VERSION_SYMBOL(b, e, v)\n #define __vsym\n #define BASE_SYMBOL(b, n)\n-#define BIND_DEFAULT_SYMBOL(b, v)\n+#define BIND_DEFAULT_SYMBOL(b, e, n)\n \n /*\n  * RTE_BUILD_SHARED_LIB=n\n",
    "prefixes": [
        "dpdk-dev",
        "PATCHv2",
        "1/2"
    ]
}