get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 7095,
    "url": "https://patches.dpdk.org/api/patches/7095/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1442608390-12537-4-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": "<1442608390-12537-4-git-send-email-mario.alfredo.c.arevalo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1442608390-12537-4-git-send-email-mario.alfredo.c.arevalo@intel.com",
    "date": "2015-09-18T20:33:06",
    "name": "[dpdk-dev,3/7] mk: Add hierarchy-file support (doc)",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9436c7200c404be7c5cf18c69e502adfdb8de8ae",
    "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/1442608390-12537-4-git-send-email-mario.alfredo.c.arevalo@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/7095/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/7095/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 557BC8D38;\n\tFri, 18 Sep 2015 22:33:02 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 3473E3195\n\tfor <dev@dpdk.org>; Fri, 18 Sep 2015 22:32:59 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 18 Sep 2015 13:32:59 -0700",
            "from mcarril6-mobl.zpn.intel.com ([10.219.16.35])\n\tby orsmga001.jf.intel.com with ESMTP; 18 Sep 2015 13:32:58 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.17,554,1437462000\"; d=\"scan'208\";a=\"772118392\"",
        "From": "Mario Carrillo <mario.alfredo.c.arevalo@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 18 Sep 2015 15:33:06 -0500",
        "Message-Id": "<1442608390-12537-4-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "In-Reply-To": "<1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "References": "<1442608390-12537-1-git-send-email-mario.alfredo.c.arevalo@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 3/7] mk: Add hierarchy-file support (doc)",
        "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 H=1\" (hierarchy-file)\n\nThis hierarchy is based on:\nhttp://www.freedesktop.org/software/systemd/man/file-hierarchy.html\nand dpdk spec file\n\ndocumentation will be installed in:\n$(DESTDIR)/usr/share/doc/dpdk\n\nSigned-off-by: Mario Carrillo <mario.alfredo.c.arevalo@intel.com>\n---\n mk/rte.sdkinstall.mk | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk\nindex 2028a8b..41b8485 100644\n--- a/mk/rte.sdkinstall.mk\n+++ b/mk/rte.sdkinstall.mk\n@@ -92,6 +92,8 @@ ifeq ($(H),1)\n \t$(Q)cp -f $(BUILD_DIR)/build/.config $(DATA_DIR)/dpdk/config\n \t@[ -d $(SBIN_DIR)/dpdk_nic_bind ] || mkdir -p $(SBIN_DIR)/dpdk_nic_bind\n \t$(Q)cp -f $(BUILD_DIR)/tools/*nic_bind.py $(SBIN_DIR)/dpdk_nic_bind\n+\t@[ -d $(DATA_DIR)/doc/dpdk/ ] || mkdir -p $(DATA_DIR)/doc/dpdk/\n+\t$(Q)cp -a $(BUILD_DIR)/doc/* $(DATA_DIR)/doc/dpdk\n else\n \t$(Q)if [ ! -f $(BUILD_DIR)/$*/.config ]; then \\\n \t\t$(MAKE) config T=$* O=$(BUILD_DIR)/$*; \\\n",
    "prefixes": [
        "dpdk-dev",
        "3/7"
    ]
}