get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 9210,
    "url": "http://patches.dpdk.org/api/patches/9210/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1448998753-26599-2-git-send-email-mario.alfredo.c.arevalo@intel.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": "<1448998753-26599-2-git-send-email-mario.alfredo.c.arevalo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1448998753-26599-2-git-send-email-mario.alfredo.c.arevalo@intel.com",
    "date": "2015-12-01T19:39:03",
    "name": "[dpdk-dev,v8,01/11] mk: Add rule for installing headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5c6ee7f11c2094308b1d1b7081741c591b43b810",
    "submitter": {
        "id": 329,
        "url": "http://patches.dpdk.org/api/people/329/?format=api",
        "name": "Mario Carrillo",
        "email": "mario.alfredo.c.arevalo@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1448998753-26599-2-git-send-email-mario.alfredo.c.arevalo@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/9210/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/9210/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 92B008E6E;\n\tTue,  1 Dec 2015 20:38:59 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id BA91E8D99\n\tfor <dev@dpdk.org>; Tue,  1 Dec 2015 20:38:56 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga102.jf.intel.com with ESMTP; 01 Dec 2015 11:38:55 -0800",
            "from mcarril6-mobl.zpn.intel.com ([10.219.16.33])\n\tby orsmga001.jf.intel.com with ESMTP; 01 Dec 2015 11:38:54 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,370,1444719600\"; d=\"scan'208\";a=\"832078484\"",
        "From": "Mario Carrillo <mario.alfredo.c.arevalo@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue,  1 Dec 2015 13:39:03 -0600",
        "Message-Id": "<1448998753-26599-2-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "X-Mailer": "git-send-email 2.6.3",
        "In-Reply-To": "<1448998753-26599-1-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "References": "<1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com>\n\t<1448998753-26599-1-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "Cc": "jos.c.venegas.munoz@intel.com",
        "Subject": "[dpdk-dev] [PATCH v8 01/11] mk: Add rule for installing headers",
        "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": "Add hierarchy-file support to the DPDK headers,\nwhen invoking \"make install-headers\" headers will\nbe installed in: $(DESTDIR)/$(includedir)\nwhere includedir=$(prefix)/include/dpdk and prefix=/usr/local by\ndefault, you can override \"prefix\" and \"includedir\" vars.\nThis hierarchy is based on:\nhttp://www.freedesktop.org/software/systemd/man/file-hierarchy.html\nand variables are based on:\nhttps://www.gnu.org/prep/standards/html_node/Directory-Variables.html\nhttps://www.gnu.org/prep/standards/html_node/DESTDIR.html\n\nSigned-off-by: Mario Carrillo <mario.alfredo.c.arevalo@intel.com>\n---\n mk/rte.sdkinstall.mk | 22 +++++++++++++++++++++-\n mk/rte.sdkroot.mk    |  4 ++--\n 2 files changed, 23 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk\nindex 86c98a5..a4a01cf 100644\n--- a/mk/rte.sdkinstall.mk\n+++ b/mk/rte.sdkinstall.mk\n@@ -41,6 +41,11 @@ endif\n # x86_64-native-*-gcc\n ifndef T\n T=*\n+ifneq (,$(wildcard $(RTE_OUTPUT)/.config))\n+prefix ?= /usr/local\n+includedir ?= $(prefix)/include/dpdk\n+HSLINKS := $(shell find  $(RTE_OUTPUT)/include/ -name *.h)\n+endif\n endif\n \n #\n@@ -72,7 +77,22 @@ install: $(INSTALL_TARGETS)\n \t\techo \"Using local configuration\"; \\\n \tfi\n \t$(Q)$(MAKE) all O=$(BUILD_DIR)/$*\n-\n+#\n+# install headers in /usr/local/include/dpdk by default\n+# \"prefix\" and \"includedir\" vars can be overridden.\n+#\n+.PHONY: install-headers\n+install-headers:\n+\t@echo ================== Installing headers;\n+\t@if [ ! -z \"${HSLINKS}\" ]; then \\\n+\tfor HSLINK in ${HSLINKS}; do \\\n+\tHEADER=$$(readlink -f $$HSLINK); \\\n+\tHEADER_DIR=$$(dirname $$HSLINK | sed 's/.*include\\/*//'); \\\n+\t[ -d $(DESTDIR)/$(includedir)/$$HEADER_DIR ] || mkdir -p $(DESTDIR)/$(includedir)/$$HEADER_DIR; \\\n+\tcp -rf $$HEADER ${DESTDIR}/${includedir}/$$HEADER_DIR; \\\n+\techo installing: $$HEADER; \\\n+\tdone \\\n+\tfi\n #\n # uninstall: remove all built sdk\n #\ndiff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk\nindex e8423b0..8477a2b 100644\n--- a/mk/rte.sdkroot.mk\n+++ b/mk/rte.sdkroot.mk\n@@ -97,8 +97,8 @@ test fast_test ring_test mempool_test perf_test coverage:\n testall:\n \t$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdktestall.mk $@\n \n-.PHONY: install uninstall\n-install uninstall:\n+.PHONY: install install-headers uninstall\n+install install-headers uninstall:\n \t$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@\n \n .PHONY: doc help\n",
    "prefixes": [
        "dpdk-dev",
        "v8",
        "01/11"
    ]
}