get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 8302,
    "url": "http://patches.dpdk.org/api/patches/8302/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1446169656-19818-10-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": "<1446169656-19818-10-git-send-email-mario.alfredo.c.arevalo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1446169656-19818-10-git-send-email-mario.alfredo.c.arevalo@intel.com",
    "date": "2015-10-30T01:47:35",
    "name": "[dpdk-dev,v5,09/10] mk: Add new install rule",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "bf19e1b9c307846ca107cec2ab227d8a97426e2d",
    "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/1446169656-19818-10-git-send-email-mario.alfredo.c.arevalo@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/8302/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/8302/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 3A8C38F9C;\n\tFri, 30 Oct 2015 02:47:48 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 122FF8E6A\n\tfor <dev@dpdk.org>; Fri, 30 Oct 2015 02:47:43 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga101.fm.intel.com with ESMTP; 29 Oct 2015 18:47:22 -0700",
            "from mcarril6-mobl.amr.corp.intel.com (HELO\n\tmcarril6-mobl.zpn.intel.com) ([10.219.25.105])\n\tby FMSMGA003.fm.intel.com with ESMTP; 29 Oct 2015 18:47:21 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,217,1444719600\"; d=\"scan'208\";a=\"590712290\"",
        "From": "Mario Carrillo <mario.alfredo.c.arevalo@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 29 Oct 2015 19:47:35 -0600",
        "Message-Id": "<1446169656-19818-10-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "X-Mailer": "git-send-email 2.6.1.120.g24a00ef",
        "In-Reply-To": "<1446169656-19818-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<1446169656-19818-1-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v5 09/10] mk: Add new install rule",
        "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": "If \"T\" variable is defined, the installation process will have the\ncurrent behaviour, else install rule will be called.\n\nSigned-off-by: Mario Carrillo <mario.alfredo.c.arevalo@intel.com>\n---\n mk/rte.sdkinstall.mk | 12 +++++++++++-\n mk/rte.sdkroot.mk    |  4 ++--\n 2 files changed, 13 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk\nindex 24aa5a5..3331610 100644\n--- a/mk/rte.sdkinstall.mk\n+++ b/mk/rte.sdkinstall.mk\n@@ -40,7 +40,6 @@ endif\n # target name or a name containing jokers \"*\". Example:\n # x86_64-native-*-gcc\n ifndef T\n-T=*\n ifneq (,$(wildcard $(RTE_OUTPUT)/.config))\n RTE_PREFIX ?= /usr/local\n INCLUDE_DIR ?= $(RTE_PREFIX)/include/dpdk\n@@ -191,6 +190,17 @@ install-sdk: install-headers\n .PHONY: install-fhs\n install-fhs: install-lib install-bin install-doc install-mod\n #\n+# if \"T\" var is defined, mbuild rule will be called, else\n+# install-fhs rule will be called.\n+#\n+.PHONY: install\n+install:\n+ifdef T\n+install: mbuild\n+else\n+install: install-fhs\n+endif\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 1b619b7..2f8f64a 100644\n--- a/mk/rte.sdkroot.mk\n+++ b/mk/rte.sdkroot.mk\n@@ -97,9 +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: mbuild install-headers install-bin install-lib install-mod \\\n+.PHONY: mbuild install install-headers install-bin install-lib install-mod \\\n install-doc install-sdk install-fhs uninstall\n-mbuild install-headers install-bin install-lib install-mod install-doc \\\n+mbuild install install-headers install-bin install-lib install-mod install-doc \\\n install-sdk install-fhs uninstall:\n \t$(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@\n \n",
    "prefixes": [
        "dpdk-dev",
        "v5",
        "09/10"
    ]
}