get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 69302,
    "url": "http://patchwork.dpdk.org/api/patches/69302/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200425105620.73021-3-haiyue.wang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20200425105620.73021-3-haiyue.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200425105620.73021-3-haiyue.wang@intel.com",
    "date": "2020-04-25T10:56:16",
    "name": "[v7,2/6] build: enable internal API tag",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "87ff1f985bf1a70e96418197081a2112bebc8cbd",
    "submitter": {
        "id": 1044,
        "url": "http://patchwork.dpdk.org/api/people/1044/?format=api",
        "name": "Wang, Haiyue",
        "email": "haiyue.wang@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patchwork.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200425105620.73021-3-haiyue.wang@intel.com/mbox/",
    "series": [
        {
            "id": 9633,
            "url": "http://patchwork.dpdk.org/api/series/9633/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=9633",
            "date": "2020-04-25T10:56:14",
            "name": "dpdk: introduce __rte_internal tag",
            "version": 7,
            "mbox": "http://patchwork.dpdk.org/series/9633/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/69302/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/69302/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 74DABA00C2;\n\tSat, 25 Apr 2020 13:02:36 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 67D151C1ED;\n\tSat, 25 Apr 2020 13:02:21 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 44DDD1C1C9\n for <dev@dpdk.org>; Sat, 25 Apr 2020 13:02:18 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Apr 2020 04:02:17 -0700",
            "from npg-dpdk-haiyue-3.sh.intel.com ([10.67.119.46])\n by fmsmga005.fm.intel.com with ESMTP; 25 Apr 2020 04:02:15 -0700"
        ],
        "IronPort-SDR": [
            "\n Sn51Ke175M0t6RPyuGPymcwctEZPd4bhw9Xx7vk+EcafKBA+WbC5YSo23Fxv4c5bB9cKiUfXhl\n MbaeJM8kIhGw==",
            "\n pNWnJYWK5jJP1T2TprQvG2k46omVRFHv3DG/lKwDAVF0C+F3ttet1tjIrS1mtS5i2wDNt4C18c\n E/snqxAyPdYA=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.73,315,1583222400\"; d=\"scan'208\";a=\"457729294\"",
        "From": "Haiyue Wang <haiyue.wang@intel.com>",
        "To": "dev@dpdk.org, thomas@monjalon.net, david.marchand@redhat.com,\n bruce.richardson@intel.com, ferruh.yigit@intel.com, nhorman@tuxdriver.com,\n mdr@ashroe.eu",
        "Cc": "Haiyue Wang <haiyue.wang@intel.com>",
        "Date": "Sat, 25 Apr 2020 18:56:16 +0800",
        "Message-Id": "<20200425105620.73021-3-haiyue.wang@intel.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20200425105620.73021-1-haiyue.wang@intel.com>",
        "References": "<20190613142344.9188-1-nhorman@tuxdriver.com>\n <20200425105620.73021-1-haiyue.wang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v7 2/6] build: enable internal API tag",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Allow the drivers and libraries to use the internal tag for marking\ninternal ABI symbols.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\n drivers/meson.build           | 5 ++++-\n lib/meson.build               | 5 ++++-\n mk/target/generic/rte.vars.mk | 1 +\n 3 files changed, 9 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/meson.build b/drivers/meson.build\nindex 4d8f842ab..f3dd23dd4 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -20,7 +20,10 @@ dpdk_driver_classes = ['common',\n disabled_drivers = run_command(list_dir_globs, get_option('disable_drivers'),\n \t\t).stdout().split()\n \n-default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API']\n+default_cflags = machine_args\n+default_cflags += ['-DALLOW_EXPERIMENTAL_API']\n+default_cflags += ['-DALLOW_INTERNAL_API']\n+\n if cc.has_argument('-Wno-format-truncation')\n \tdefault_cflags += '-Wno-format-truncation'\n endif\ndiff --git a/lib/meson.build b/lib/meson.build\nindex c28b8df83..8697941ae 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -38,7 +38,10 @@ if is_windows\n \tlibraries = ['kvargs','eal'] # only supported libraries for windows\n endif\n \n-default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API']\n+default_cflags = machine_args\n+default_cflags += ['-DALLOW_EXPERIMENTAL_API']\n+default_cflags += ['-DALLOW_INTERNAL_API']\n+\n if cc.has_argument('-Wno-format-truncation')\n \tdefault_cflags += '-Wno-format-truncation'\n endif\ndiff --git a/mk/target/generic/rte.vars.mk b/mk/target/generic/rte.vars.mk\nindex ec2672897..11b0418e5 100644\n--- a/mk/target/generic/rte.vars.mk\n+++ b/mk/target/generic/rte.vars.mk\n@@ -106,6 +106,7 @@ ifeq ($(BUILDING_RTE_SDK),1)\n # building sdk\n CFLAGS += -include $(RTE_OUTPUT)/include/rte_config.h\n CFLAGS += -DALLOW_EXPERIMENTAL_API\n+CFLAGS += -DALLOW_INTERNAL_API\n else\n # if we are building an external application, include SDK's lib and\n # includes too\n",
    "prefixes": [
        "v7",
        "2/6"
    ]
}