get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 275,
    "url": "http://patches.dpdk.org/api/patches/275/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1409567080-27083-3-git-send-email-david.marchand@6wind.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": "<1409567080-27083-3-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1409567080-27083-3-git-send-email-david.marchand@6wind.com",
    "date": "2014-09-01T10:24:25",
    "name": "[dpdk-dev,v2,02/17] ixgbe/base: add a _RAW macro for use by shared code",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "09c6b8dd9c08cafd5fe3db1c69658b0aa24d1ed2",
    "submitter": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1409567080-27083-3-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/275/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/275/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<david.marchand@6wind.com>",
        "Received": [
            "from mail-wi0-f169.google.com (mail-wi0-f169.google.com\n\t[209.85.212.169]) by dpdk.org (Postfix) with ESMTP id B2AEAB398\n\tfor <dev@dpdk.org>; Mon,  1 Sep 2014 12:20:22 +0200 (CEST)",
            "by mail-wi0-f169.google.com with SMTP id n3so2359748wiv.0\n\tfor <dev@dpdk.org>; Mon, 01 Sep 2014 03:24:49 -0700 (PDT)",
            "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\tlm18sm24287018wic.22.2014.09.01.03.24.48 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 01 Sep 2014 03:24:49 -0700 (PDT)"
        ],
        "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:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=/yRfWC5mknya9CCyrYwS3wHbf0U2FgIQ/PsiWHbj0Ko=;\n\tb=AqUEsi42gZzZjBJczggcZnSRjs7KRRSNfkQrQu1UJkoCxQKrwIIxNFxVHjcF1H9fjH\n\tDTJzwFKUe5Z9bSiW6t1Ak2JLCebI4Kk2ADsyGg5oNeTiIrKqJ5p0kAsUl7Y/8imZ4sL/\n\tGsnP/lPDrGmOdxHgPwj5jXGc0Kb7llgOZW/Fmd+vk0UqKn0n7hbiYXQf4+ElW+BZ22z/\n\tEmMXUwm/aYfr+R99qLpAzq8Lv8BA+AseFRPklkZTsC+6hKZw8k1jey0QUXVr/buXYcYC\n\tdWBj6tJYD9iR6QLbdPpBci8tvzLDtAUN4IrXM+KjP47N4G6G2yiZQaL1ASW/Nt7MTQ73\n\tapOA==",
        "X-Gm-Message-State": "ALoCoQl3R8IVvv12FsVzmm0zFFoy5KKW5wzfiLM1bzf1pB7hFOVhrwHFrgQt///Dv7lti49BkCRX",
        "X-Received": "by 10.194.77.243 with SMTP id v19mr30667411wjw.18.1409567089637; \n\tMon, 01 Sep 2014 03:24:49 -0700 (PDT)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon,  1 Sep 2014 12:24:25 +0200",
        "Message-Id": "<1409567080-27083-3-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "References": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v2 02/17] ixgbe/base: add a _RAW macro for use by\n\tshared code",
        "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": "Mon, 01 Sep 2014 10:20:22 -0000"
    },
    "content": "Since shared code always add a trailing \\n, add a PMD_DRV_LOG_RAW macro that\nwill not add one.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h |    4 ++--\n lib/librte_pmd_ixgbe/ixgbe_logs.h        |    9 ++++++---\n 2 files changed, 8 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h\nindex 2bf1a6d..ae9c280 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h\n+++ b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h\n@@ -54,8 +54,8 @@\n #define usec_delay(x) DELAY(x)\n #define msec_delay(x) DELAY(1000*(x))\n \n-#define DEBUGFUNC(F)            DEBUGOUT(F);\n-#define DEBUGOUT(S, args...)    PMD_DRV_LOG(DEBUG, S, ##args)\n+#define DEBUGFUNC(F)            DEBUGOUT(F \"\\n\");\n+#define DEBUGOUT(S, args...)    PMD_DRV_LOG_RAW(DEBUG, S, ##args)\n #define DEBUGOUT1(S, args...)   DEBUGOUT(S, ##args)\n #define DEBUGOUT2(S, args...)   DEBUGOUT(S, ##args)\n #define DEBUGOUT3(S, args...)   DEBUGOUT(S, ##args)\ndiff --git a/lib/librte_pmd_ixgbe/ixgbe_logs.h b/lib/librte_pmd_ixgbe/ixgbe_logs.h\nindex 9f0a684..4685c18 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_logs.h\n+++ b/lib/librte_pmd_ixgbe/ixgbe_logs.h\n@@ -65,10 +65,13 @@\n #endif\n \n #ifdef RTE_LIBRTE_IXGBE_DEBUG_DRIVER\n-#define PMD_DRV_LOG(level, fmt, args...) \\\n-\tRTE_LOG(level, PMD, \"%s(): \" fmt \"\\n\", __func__, ## args)\n+#define PMD_DRV_LOG_RAW(level, fmt, args...) \\\n+\tRTE_LOG(level, PMD, \"%s(): \" fmt, __func__, ## args)\n #else\n-#define PMD_DRV_LOG(level, fmt, args...) do { } while(0)\n+#define PMD_DRV_LOG_RAW(level, fmt, args...) do { } while (0)\n #endif\n \n+#define PMD_DRV_LOG(level, fmt, args...) \\\n+\tPMD_DRV_LOG_RAW(level, fmt \"\\n\", ## args)\n+\n #endif /* _IXGBE_LOGS_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "02/17"
    ]
}