get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8836,
    "url": "https://patches.dpdk.org/api/patches/8836/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1447175260-26162-6-git-send-email-mario.alfredo.c.arevalo@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": "<1447175260-26162-6-git-send-email-mario.alfredo.c.arevalo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1447175260-26162-6-git-send-email-mario.alfredo.c.arevalo@intel.com",
    "date": "2015-11-10T17:07:35",
    "name": "[dpdk-dev,v6,05/10] mk: Add rule for installing documentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5213ad4820c83d66a67aadb0c5c72419306c1396",
    "submitter": {
        "id": 329,
        "url": "https://patches.dpdk.org/api/people/329/?format=api",
        "name": "Mario Carrillo",
        "email": "mario.alfredo.c.arevalo@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1447175260-26162-6-git-send-email-mario.alfredo.c.arevalo@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/8836/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/8836/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 37B428E6E;\n\tTue, 10 Nov 2015 18:07:28 +0100 (CET)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id D81718DED\n\tfor <dev@dpdk.org>; Tue, 10 Nov 2015 18:07:24 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga102.fm.intel.com with ESMTP; 10 Nov 2015 09:07:23 -0800",
            "from mcarril6-mobl.amr.corp.intel.com (HELO\n\tmcarril6-mobl.zpn.intel.com) ([10.219.16.162])\n\tby orsmga003.jf.intel.com with ESMTP; 10 Nov 2015 09:07:22 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,271,1444719600\"; d=\"scan'208\";a=\"682292423\"",
        "From": "Mario Carrillo <mario.alfredo.c.arevalo@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 10 Nov 2015 11:07:35 -0600",
        "Message-Id": "<1447175260-26162-6-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "X-Mailer": "git-send-email 2.6.1.120.g24a00ef",
        "In-Reply-To": "<1447175260-26162-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<1447175260-26162-1-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "Cc": "jos.c.venegas.munoz@intel.com",
        "Subject": "[dpdk-dev] [PATCH v6 05/10] mk: Add rule for installing\n\tdocumentation",
        "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 documentation,\nwhen invoking \"make install-doc\" documentation files will\nbe installed in: $(DESTDIR)/$(DOC_DIR) where\nDOC_DIR=$(RTE_PREFIX)/share/doc/dpdk and RTE_PREFIX=/usr/local by\ndefault, you can\noverride RTE_PREFIX and DOC_DIR vars.\nThis hierarchy is based on:\nhttp://www.freedesktop.org/software/systemd/man/file-hierarchy.html\n\nSigned-off-by: Mario Carrillo <mario.alfredo.c.arevalo@intel.com>\n---\n mk/rte.sdkinstall.mk | 16 ++++++++++++++++\n mk/rte.sdkroot.mk    |  5 +++--\n 2 files changed, 19 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk\nindex 2ba8a52..be7b88e 100644\n--- a/mk/rte.sdkinstall.mk\n+++ b/mk/rte.sdkinstall.mk\n@@ -46,10 +46,12 @@ RTE_PREFIX ?= /usr/local\n INCLUDE_DIR ?= $(RTE_PREFIX)/include/dpdk\n BIN_DIR ?= $(RTE_PREFIX)/bin\n LIB_DIR ?= $(RTE_PREFIX)/lib\n+DOC_DIR ?= $(RTE_PREFIX)/share/doc/dpdk\n HSLINKS := $(shell find  $(RTE_OUTPUT)/include/ -name *.h)\n BINARY_FILES := $(patsubst %.map,,$(wildcard $(RTE_OUTPUT)/app/*))\n NIC_FILES := $(wildcard $(RTE_SDK)/tools/*.py)\n LIBS := $(wildcard $(RTE_OUTPUT)/lib/*)\n+DOCS := $(wildcard $(RTE_SDK)/doc/*)\n MODULES := $(wildcard $(RTE_OUTPUT)/kmod/*)\n BINARY_FILES += $(NIC_FILES)\n include $(RTE_OUTPUT)/.config\n@@ -153,6 +155,20 @@ install-mod:\n \tdone \\\n \tfi\n #\n+# install documentation in /usr/local/share/doc/dpdk\n+# by default, DOC_DIR can be overriden.\n+#\n+.PHONY: install-doc\n+install-doc:\n+\t@echo ================== Installing documentation\n+\t@if [ ! -z \"${DOCS}\" ]; then \\\n+\t[ -d $(DESTDIR)/$(DOC_DIR) ] || mkdir -p $(DESTDIR)/$(DOC_DIR); \\\n+\tfor DOC in ${DOCS}; do \\\n+\tcp -rf $$DOC ${DESTDIR}/${DOC_DIR}; \\\n+\techo installing: $$DOC; \\\n+\tdone \\\n+\tfi\n+#\n # uninstall: remove all built sdk\n #\n UNINSTALL_TARGETS := $(addsuffix _uninstall,\\\ndiff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk\nindex e652218..f56341d 100644\n--- a/mk/rte.sdkroot.mk\n+++ b/mk/rte.sdkroot.mk\n@@ -97,8 +97,9 @@ 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 install-headers install-bin install-lib install-mod uninstall\n-install install-headers install-bin install-lib install-mod uninstall:\n+.PHONY: install install-headers install-bin install-lib install-mod \\\n+install-doc uninstall\n+install install-headers install-bin install-lib install-mod install-doc uninstall:\n \t$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@\n \n .PHONY: doc help\n",
    "prefixes": [
        "dpdk-dev",
        "v6",
        "05/10"
    ]
}