get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 125,
    "url": "https://patches.dpdk.org/api/patches/125/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1407254286-23972-3-git-send-email-huawei.xie@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": "<1407254286-23972-3-git-send-email-huawei.xie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1407254286-23972-3-git-send-email-huawei.xie@intel.com",
    "date": "2014-08-05T15:58:05",
    "name": "[dpdk-dev,2/3] lib/librte_vhost: add lib/librte_vhost support in mk/rte.app.mk",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c8a5bf21462b84e2f202787f5b185f9d49defd0b",
    "submitter": {
        "id": 16,
        "url": "https://patches.dpdk.org/api/people/16/?format=api",
        "name": "Huawei Xie",
        "email": "huawei.xie@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1407254286-23972-3-git-send-email-huawei.xie@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/125/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/125/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<hxie5@shecgisg003.sh.intel.com>",
        "Received": [
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 88CF22E89\n\tfor <dev@dpdk.org>; Tue,  5 Aug 2014 17:57:04 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga102.jf.intel.com with ESMTP; 05 Aug 2014 08:53:37 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga001.jf.intel.com with ESMTP; 05 Aug 2014 08:58:20 -0700",
            "from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com\n\t[10.239.29.90])\n\tby shvmail01.sh.intel.com with ESMTP id s75FwIJ3013457;\n\tTue, 5 Aug 2014 23:58:18 +0800",
            "from shecgisg003.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid s75FwGVU024095; Tue, 5 Aug 2014 23:58:18 +0800",
            "(from hxie5@localhost)\n\tby shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id s75FwG0M024091; \n\tTue, 5 Aug 2014 23:58:16 +0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.01,805,1400050800\"; d=\"scan'208\";a=\"554069449\"",
        "From": "Huawei Xie <huawei.xie@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue,  5 Aug 2014 23:58:05 +0800",
        "Message-Id": "<1407254286-23972-3-git-send-email-huawei.xie@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": "<1407254286-23972-1-git-send-email-huawei.xie@intel.com>",
        "References": "<1407254286-23972-1-git-send-email-huawei.xie@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 2/3] lib/librte_vhost: add lib/librte_vhost\n\tsupport in mk/rte.app.mk",
        "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>",
        "X-List-Received-Date": "Tue, 05 Aug 2014 15:57:05 -0000"
    },
    "content": "Vhost library is turned off by default as it depends on fuse library. User needs to turn on vhost in configure file manually.\n\nSigned-off-by: Huawei Xie <huawei.xie@intel.com>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\n---\n mk/rte.app.mk | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/mk/rte.app.mk b/mk/rte.app.mk\nindex 34dff2a..285b65c 100644\n--- a/mk/rte.app.mk\n+++ b/mk/rte.app.mk\n@@ -190,6 +190,11 @@ ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)\n LDLIBS += -lrte_pmd_virtio_uio\n endif\n \n+ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y)\n+LDLIBS += -lrte_vhost\n+LDLIBS += -lfuse\n+endif\n+\n ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y)\n LDLIBS += -lrte_pmd_i40e\n endif\n",
    "prefixes": [
        "dpdk-dev",
        "2/3"
    ]
}