get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1318,
    "url": "https://patches.dpdk.org/api/patches/1318/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1416204438-4327-1-git-send-email-mukawa@igel.co.jp/",
    "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": "<1416204438-4327-1-git-send-email-mukawa@igel.co.jp>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1416204438-4327-1-git-send-email-mukawa@igel.co.jp",
    "date": "2014-11-17T06:07:17",
    "name": "[dpdk-dev,RFC,1/2] lib/librte_vhost: change macro name of include guard.",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": true,
    "hash": "6165687b887599c24a3cefc5578975e378801c03",
    "submitter": {
        "id": 64,
        "url": "https://patches.dpdk.org/api/people/64/?format=api",
        "name": "Tetsuya Mukawa",
        "email": "mukawa@igel.co.jp"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1416204438-4327-1-git-send-email-mukawa@igel.co.jp/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1318/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1318/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 DB3877FB4;\n\tMon, 17 Nov 2014 06:57:15 +0100 (CET)",
            "from mail-pd0-f170.google.com (mail-pd0-f170.google.com\n\t[209.85.192.170]) by dpdk.org (Postfix) with ESMTP id D1C337FA1\n\tfor <dev@dpdk.org>; Mon, 17 Nov 2014 06:57:13 +0100 (CET)",
            "by mail-pd0-f170.google.com with SMTP id fp1so4356418pdb.1\n\tfor <dev@dpdk.org>; Sun, 16 Nov 2014 22:07:28 -0800 (PST)",
            "from localhost.localdomain (napt.igel.co.jp. [219.106.231.132])\n\tby mx.google.com with ESMTPSA id\n\toe10sm33953028pdb.66.2014.11.16.22.07.27 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 16 Nov 2014 22:07:28 -0800 (PST)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=SEyXOYclV3mKA3aENGc9BudEE3bJLEiYja6wQyNrs2A=;\n\tb=CVN8qQwcMtMIuIYC1ketHzWbPqahKOOwu/Mjcyw9mfqpGhIdWX/u8kZ3k3NJHba1PV\n\tMmdEi+inZNhuPUC89ZOhFFOvKnBtHOitVzmfrGcRw+Oq87BtvjX3Fo8xi+ASGHN9nqBU\n\tcKrZDu+B1o8eBP+O15iJN7I3TDu+DyuwAGOn9UzFTfjnOlBfhFmR5h2JfZ2ZfbH9ZeAf\n\tclWpPIM6iy6fGe0Sfc4Z8Uoq8IVIZF/bQ/k0JThViIVOPxM5kzopOdWH2RbCPM2Xy6yY\n\tS+kxGu/dPcH3dPQj9X/RpEvAGtLDhppNKzZAMqItv7cNuQvKHhEz0gILbGmMpAYOJqRD\n\t4goQ==",
        "X-Gm-Message-State": "ALoCoQmGpmHlbnJ90IkK6fdZeJPzM8aKJl6N+6MoKR5gXD4MxURGuiTMj+o7ckxfHDy7FKtTX5/Z",
        "X-Received": "by 10.70.54.161 with SMTP id k1mr27235256pdp.110.1416204448602; \n\tSun, 16 Nov 2014 22:07:28 -0800 (PST)",
        "From": "Tetsuya Mukawa <mukawa@igel.co.jp>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 17 Nov 2014 15:07:17 +0900",
        "Message-Id": "<1416204438-4327-1-git-send-email-mukawa@igel.co.jp>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1416014087-22499-1-git-send-email-huawei.xie@intel.com>",
        "References": "<1416014087-22499-1-git-send-email-huawei.xie@intel.com>",
        "Subject": "[dpdk-dev] [RFC PATCH 1/2] lib/librte_vhost: change macro name of\n\tinclude guard.",
        "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": "This patch changes include macro name like following.\n- \"_VIRTIO_NET_H_\" > \"_RTE_VIRTIO_NET_H_\"\n---\n lib/librte_vhost/rte_virtio_net.h | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h\nindex 7d7d001..a09533d 100644\n--- a/lib/librte_vhost/rte_virtio_net.h\n+++ b/lib/librte_vhost/rte_virtio_net.h\n@@ -31,8 +31,8 @@\n  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n-#ifndef _VIRTIO_NET_H_\n-#define _VIRTIO_NET_H_\n+#ifndef _RTE_VIRTIO_NET_H_\n+#define _RTE_VIRTIO_NET_H_\n \n #include <stdint.h>\n #include <linux/virtio_ring.h>\n@@ -189,4 +189,4 @@ uint32_t rte_vhost_enqueue_burst(struct virtio_net *dev, uint16_t queue_id,\n uint32_t rte_vhost_dequeue_burst(struct virtio_net *dev, uint16_t queue_id,\n \tstruct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint32_t count);\n \n-#endif /* _VIRTIO_NET_H_ */\n+#endif /* _RTE_VIRTIO_NET_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "RFC",
        "1/2"
    ]
}