get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 24122,
    "url": "https://patches.dpdk.org/api/patches/24122/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170505131827.25599-3-thomas@monjalon.net/",
    "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": "<20170505131827.25599-3-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170505131827.25599-3-thomas@monjalon.net",
    "date": "2017-05-05T13:18:27",
    "name": "[dpdk-dev,v3,2/2] config: make backtrace optional",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "981878edd71bd305dc10e381602b4c8acc6844bf",
    "submitter": {
        "id": 685,
        "url": "https://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170505131827.25599-3-thomas@monjalon.net/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/24122/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/24122/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 2810C68CA;\n\tFri,  5 May 2017 15:18:39 +0200 (CEST)",
            "from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com\n\t[66.111.4.28]) by dpdk.org (Postfix) with ESMTP id EAC9E2935\n\tfor <dev@dpdk.org>; Fri,  5 May 2017 15:18:33 +0200 (CEST)",
            "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id A070B20D14;\n\tFri,  5 May 2017 09:18:33 -0400 (EDT)",
            "from frontend1 ([10.202.2.160])\n\tby compute1.internal (MEProxy); Fri, 05 May 2017 09:18:33 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 2478B7E3A4;\n\tFri,  5 May 2017 09:18:33 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tcc:date:from:in-reply-to:message-id:references:subject:to\n\t:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=a53\n\tJ4I/ztzofcYaj+62FCYnwK3uEP8UBBhcrIgT2+mo=; b=NCgmAXh7uQWb/ZpaK/3\n\thcotfwE9iYpVsdFRlSlmFu3poIFe3Vc++wNc18gC/W2Ic9Hvl2rpAtKeRkPX5V34\n\tSbhp5/E4PMc/444rX4nLT0nTb42GiH+7jPrt6MdCW4ZP2VSahhPOW0Rr83qOo1h+\n\t4NTorDRzYN7Cfcr+0rGOOg9Y=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:date:from:in-reply-to:message-id\n\t:references:subject:to:x-me-sender:x-me-sender:x-sasl-enc\n\t:x-sasl-enc; s=fm1; bh=a53J4I/ztzofcYaj+62FCYnwK3uEP8UBBhcrIgT2+\n\tmo=; b=l5Og8/2/I4s1/lEadHnBS+1BwSfyNgrMS9NgoLVKmPVZGzlcFl/9NpTT9\n\tNTs0YX+Kcc5YCe0ZnIH1O0FNidgfVbtnh4pwT66DNYleGabNEuIXX5zeuEEgXOTz\n\tX7tVWt5N2MVAAHqi9MQYDmmnjmYTOHJomjXhyrkqD4XwOfFieammytG/unoly0wX\n\t4877wYQ56AdQkQ+5DWeJ4Sr/gk7KzBSVLNCLa5xXOwYH8glGQQamC+maDPLmIWzw\n\tWh2CiULqXlxiDyUFNI6Uq0MtN0VQEm31M4B3Pgpm/n+bjB/PBt4ZYwWbdPjy/7l/\n\tBrSSTqlwINhWsN6P4FxBMWKRIgTYQ=="
        ],
        "X-ME-Sender": "<xms:qXsMWfQplKlWNj9a83186ZaIEHpJg_EPuUh-1rcyPz6VpoKoOtEsDQ>",
        "X-Sasl-enc": "KzA2BzAQJqwnD3Up0MknKhFwvekqEIeGjE53Q/gcAK0I 1493990313",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "Wei Dai <wei.dai@intel.com>",
        "Cc": "dev@dpdk.org",
        "Date": "Fri,  5 May 2017 15:18:27 +0200",
        "Message-Id": "<20170505131827.25599-3-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.12.2",
        "In-Reply-To": "<20170505131827.25599-1-thomas@monjalon.net>",
        "References": "<1489395568-4664-1-git-send-email-wei.dai@intel.com>\n\t<20170505131827.25599-1-thomas@monjalon.net>",
        "Subject": "[dpdk-dev] [PATCH v3 2/2] config: make backtrace optional",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "From: Wei Dai <wei.dai@intel.com>\n\nWhen building DPDK with musl, there is need not to disable\nbacktrace to remove some references to execinfo.h which is\nnot supported by musl now.\nThis also applies to some other libc implementation which\ndoesn't support backtrace() and backtrace_symbols().\n\nmusl is an implementation of the userspace portion\nof the standard library functionality described in\nthe ISO C and POSIX standards, plus common extensions.\nGot more details about musl from http://www.musl-libc.org .\n\nSigned-off-by: Wei Dai <wei.dai@intel.com>\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n config/common_base                      | 1 +\n lib/librte_eal/bsdapp/eal/eal_debug.c   | 4 ++++\n lib/librte_eal/linuxapp/eal/eal_debug.c | 4 ++++\n 3 files changed, 9 insertions(+)",
    "diff": "diff --git a/config/common_base b/config/common_base\nindex 93e923507..8907bea36 100644\n--- a/config/common_base\n+++ b/config/common_base\n@@ -96,6 +96,7 @@ CONFIG_RTE_MAX_TAILQ=32\n CONFIG_RTE_LOG_LEVEL=RTE_LOG_INFO\n CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO\n CONFIG_RTE_LOG_HISTORY=256\n+CONFIG_RTE_BACKTRACE=y\n CONFIG_RTE_LIBEAL_USE_HPET=n\n CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n\n CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n\ndiff --git a/lib/librte_eal/bsdapp/eal/eal_debug.c b/lib/librte_eal/bsdapp/eal/eal_debug.c\nindex 5fbc17c59..e1c755482 100644\n--- a/lib/librte_eal/bsdapp/eal/eal_debug.c\n+++ b/lib/librte_eal/bsdapp/eal/eal_debug.c\n@@ -31,7 +31,9 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n+#ifdef RTE_BACKTRACE\n #include <execinfo.h>\n+#endif\n #include <stdarg.h>\n #include <signal.h>\n #include <stdlib.h>\n@@ -47,6 +49,7 @@\n /* dump the stack of the calling core */\n void rte_dump_stack(void)\n {\n+#ifdef RTE_BACKTRACE\n \tvoid *func[BACKTRACE_SIZE];\n \tchar **symb = NULL;\n \tint size;\n@@ -64,6 +67,7 @@ void rte_dump_stack(void)\n \t}\n \n \tfree(symb);\n+#endif /* RTE_BACKTRACE */\n }\n \n /* not implemented in this environment */\ndiff --git a/lib/librte_eal/linuxapp/eal/eal_debug.c b/lib/librte_eal/linuxapp/eal/eal_debug.c\nindex 5fbc17c59..e1c755482 100644\n--- a/lib/librte_eal/linuxapp/eal/eal_debug.c\n+++ b/lib/librte_eal/linuxapp/eal/eal_debug.c\n@@ -31,7 +31,9 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n+#ifdef RTE_BACKTRACE\n #include <execinfo.h>\n+#endif\n #include <stdarg.h>\n #include <signal.h>\n #include <stdlib.h>\n@@ -47,6 +49,7 @@\n /* dump the stack of the calling core */\n void rte_dump_stack(void)\n {\n+#ifdef RTE_BACKTRACE\n \tvoid *func[BACKTRACE_SIZE];\n \tchar **symb = NULL;\n \tint size;\n@@ -64,6 +67,7 @@ void rte_dump_stack(void)\n \t}\n \n \tfree(symb);\n+#endif /* RTE_BACKTRACE */\n }\n \n /* not implemented in this environment */\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "2/2"
    ]
}