get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1183,
    "url": "https://patches.dpdk.org/api/patches/1183/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1415341580-28210-1-git-send-email-david.marchand@6wind.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": "<1415341580-28210-1-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1415341580-28210-1-git-send-email-david.marchand@6wind.com",
    "date": "2014-11-07T06:26:20",
    "name": "[dpdk-dev] eal: fix C++ compilation issue after headers rework",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2d6c87f486bb6fe4b85854ea5cb5d80138212563",
    "submitter": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1415341580-28210-1-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1183/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1183/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 4D6F97EC4;\n\tFri,  7 Nov 2014 07:16:58 +0100 (CET)",
            "from mail-wg0-f49.google.com (mail-wg0-f49.google.com\n\t[74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 258194A6E\n\tfor <dev@dpdk.org>; Fri,  7 Nov 2014 07:16:56 +0100 (CET)",
            "by mail-wg0-f49.google.com with SMTP id x13so2879801wgg.8\n\tfor <dev@dpdk.org>; Thu, 06 Nov 2014 22:26:26 -0800 (PST)",
            "from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tfa7sm10489130wjd.27.2014.11.06.22.26.24 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 06 Nov 2014 22:26:25 -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=vFvdInNgVA/MCWxUTKmHTnfrVI8zLjMQ8BkLfkGlXlY=;\n\tb=WFzkJRyT4sPOOaeeZmZItc+9E62lkwwX+f2tEGO/muXslbZ0bDMrxSsqHaPVqBGLpV\n\t4+QbY7IY8GdlLaapRCa771zHaBeSafF8k8b9pn/53pRS7Fl8+7KGe3XLWbZPTM3exRDA\n\tC/sXRlq3+556LA5gvBhWbIeJpUP1y+/1QLzobpsruRTkZxNskOeNBRiwEJRu/emcFtoI\n\tt0aYYJ8Tw3A/7Hx6xZ0HhBSZA2vN/h+GtfyEmUAbWNN18BZJePk5TZn0Ab02xf4lHGZR\n\taOgQlBT2r0La+fEPXjxFW04Ot3efaKBf43Z9siRe4ji+ju6wQMlVUUj36A8SdIzZH9es\n\tlbbw==",
        "X-Gm-Message-State": "ALoCoQnZ2yhxIlBOO+bPJ2dwjqDgw5+iZzemX8DaXybUhLFvI/mSbaxPtZwSzakYK02FOhVi9vW8",
        "X-Received": "by 10.194.109.226 with SMTP id hv2mr12736736wjb.45.1415341586534;\n\tThu, 06 Nov 2014 22:26:26 -0800 (PST)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri,  7 Nov 2014 07:26:20 +0100",
        "Message-Id": "<1415341580-28210-1-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<CAKBXKmBUgTBWvMnQEfE_nms7p9v32edwa2V2oVuwZrx+ZRhPrA@mail.gmail.com>",
        "References": "<CAKBXKmBUgTBWvMnQEfE_nms7p9v32edwa2V2oVuwZrx+ZRhPrA@mail.gmail.com>",
        "Subject": "[dpdk-dev] [PATCH] eal: fix C++ compilation issue after headers\n\trework",
        "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": "Following the big headers rework, all C++ stuff has moved to arch-specific\nheaders. The generic headers should not contain this so that this is done only\nonce.\nThere was a remaining #ifdef __cplusplus in \"eal: split CPU cycle operation to\narchitecture specific\" (fa4001c30ee9).\n\nReported-by: Keunhong Lee <dlrmsghd@gmail.com>\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n lib/librte_eal/common/include/generic/rte_cycles.h | 4 ----\n 1 file changed, 4 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/generic/rte_cycles.h b/lib/librte_eal/common/include/generic/rte_cycles.h\nindex c42b90b..7700f41 100644\n--- a/lib/librte_eal/common/include/generic/rte_cycles.h\n+++ b/lib/librte_eal/common/include/generic/rte_cycles.h\n@@ -202,8 +202,4 @@ rte_delay_ms(unsigned ms)\n \trte_delay_us(ms * 1000);\n }\n \n-#ifdef __cplusplus\n-}\n-#endif\n-\n #endif /* _RTE_CYCLES_H_ */\n",
    "prefixes": [
        "dpdk-dev"
    ]
}