get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 54774,
    "url": "http://patches.dpdk.org/api/patches/54774/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190613142344.9188-3-nhorman@tuxdriver.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": "<20190613142344.9188-3-nhorman@tuxdriver.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190613142344.9188-3-nhorman@tuxdriver.com",
    "date": "2019-06-13T14:23:36",
    "name": "[v2,02/10] meson: add BUILDING_RTE_SDK",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3d8d3ec13af06c535584ac62799ef381d04abea2",
    "submitter": {
        "id": 32,
        "url": "http://patches.dpdk.org/api/people/32/?format=api",
        "name": "Neil Horman",
        "email": "nhorman@tuxdriver.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190613142344.9188-3-nhorman@tuxdriver.com/mbox/",
    "series": [
        {
            "id": 5004,
            "url": "http://patches.dpdk.org/api/series/5004/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5004",
            "date": "2019-06-13T14:23:34",
            "name": "dpdk: introduce __rte_internal tag",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/5004/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/54774/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/54774/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B4B6A1D609;\n\tThu, 13 Jun 2019 16:24:12 +0200 (CEST)",
            "from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])\n\tby dpdk.org (Postfix) with ESMTP id 60C191D5E0\n\tfor <dev@dpdk.org>; Thu, 13 Jun 2019 16:24:07 +0200 (CEST)",
            "from [107.15.85.130] (helo=hmswarspite.think-freely.org)\n\tby smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63)\n\t(envelope-from <nhorman@tuxdriver.com>)\n\tid 1hbQdu-0000fy-Pw; Thu, 13 Jun 2019 10:24:04 -0400",
            "from hmswarspite.think-freely.org (localhost [127.0.0.1])\n\tby hmswarspite.think-freely.org (8.15.2/8.15.2) with ESMTP id\n\tx5DENm2M009323; Thu, 13 Jun 2019 10:23:48 -0400",
            "(from nhorman@localhost)\n\tby hmswarspite.think-freely.org (8.15.2/8.15.2/Submit) id\n\tx5DENmg4009322; Thu, 13 Jun 2019 10:23:48 -0400"
        ],
        "From": "Neil Horman <nhorman@tuxdriver.com>",
        "To": "dev@dpdk.org",
        "Cc": "Neil Horman <nhorman@tuxdriver.com>,\n\tJerin Jacob Kollanukkaran <jerinj@marvell.com>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tThomas Monjalon <thomas@monjalon.net>",
        "Date": "Thu, 13 Jun 2019 10:23:36 -0400",
        "Message-Id": "<20190613142344.9188-3-nhorman@tuxdriver.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190613142344.9188-1-nhorman@tuxdriver.com>",
        "References": "<20190525184346.27932-1-nhorman@tuxdriver.com>\n\t<20190613142344.9188-1-nhorman@tuxdriver.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Spam-Score": "-2.9 (--)",
        "X-Spam-Status": "No",
        "Subject": "[dpdk-dev] [PATCH v2 02/10] meson: add BUILDING_RTE_SDK",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The __rte_internal macro is defined dependent on the value of the build\nenvironment variable BUILDING_RTE_SDK.  This variable was set in the\nMakefile environment but not the meson environment, so lets reconcile\nthe two by defining it for meson in the lib and drivers directories, but\nnot the examples/apps directories, which should be treated as they are\nnot part of the core DPDK library\n\nSigned-off-by: Neil Horman <nhorman@tuxdriver.com>\nCC: Jerin Jacob Kollanukkaran <jerinj@marvell.com>\nCC: Bruce Richardson <bruce.richardson@intel.com>\nCC: Thomas Monjalon <thomas@monjalon.net>\n---\n drivers/meson.build | 1 +\n lib/meson.build     | 1 +\n 2 files changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/meson.build b/drivers/meson.build\nindex 4c444f495..a312277d1 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -23,6 +23,7 @@ endif\n \n # specify -D_GNU_SOURCE unconditionally\n default_cflags += '-D_GNU_SOURCE'\n+default_cflags += '-DBUILDING_RTE_SDK'\n \n foreach class:dpdk_driver_classes\n \tdrivers = []\ndiff --git a/lib/meson.build b/lib/meson.build\nindex e067ce5ea..0e398d534 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -35,6 +35,7 @@ if is_windows\n endif\n \n default_cflags = machine_args\n+default_cflags += '-DBUILDING_RTE_SDK'\n if cc.has_argument('-Wno-format-truncation')\n \tdefault_cflags += '-Wno-format-truncation'\n endif\n",
    "prefixes": [
        "v2",
        "02/10"
    ]
}