get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40943,
    "url": "http://patches.dpdk.org/api/patches/40943/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180608212048.67261-4-bruce.richardson@intel.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": "<20180608212048.67261-4-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180608212048.67261-4-bruce.richardson@intel.com",
    "date": "2018-06-08T21:20:36",
    "name": "[v2,03/15] net/bnx2x: add to meson build",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c10b439dadc37fc5f76f19dd09e4e1cde5067e47",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180608212048.67261-4-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 67,
            "url": "http://patches.dpdk.org/api/series/67/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=67",
            "date": "2018-06-08T21:20:33",
            "name": "add meson support for more net drivers",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/67/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/40943/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/40943/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 101E91D053;\n\tFri,  8 Jun 2018 23:21:06 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 879991D042\n\tfor <dev@dpdk.org>; Fri,  8 Jun 2018 23:21:03 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t08 Jun 2018 14:21:03 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.223])\n\tby fmsmga004.fm.intel.com with ESMTP; 08 Jun 2018 14:21:02 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,491,1520924400\"; d=\"scan'208\";a=\"61610716\"",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n\tHarish Patil <harish.patil@cavium.com>,\n\tRasesh Mody <rasesh.mody@cavium.com>",
        "Date": "Fri,  8 Jun 2018 22:20:36 +0100",
        "Message-Id": "<20180608212048.67261-4-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180608212048.67261-1-bruce.richardson@intel.com>",
        "References": "<20180517201526.28658-1-bruce.richardson@intel.com>\n\t<20180608212048.67261-1-bruce.richardson@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 03/15] net/bnx2x: add to meson build",
        "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://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": "<https://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": "CC: Harish Patil <harish.patil@cavium.com>\nCC: Rasesh Mody <rasesh.mody@cavium.com>\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/net/bnx2x/meson.build | 14 ++++++++++++++\n drivers/net/meson.build       |  3 ++-\n 2 files changed, 16 insertions(+), 1 deletion(-)\n create mode 100644 drivers/net/bnx2x/meson.build",
    "diff": "diff --git a/drivers/net/bnx2x/meson.build b/drivers/net/bnx2x/meson.build\nnew file mode 100644\nindex 000000000..e3c688869\n--- /dev/null\n+++ b/drivers/net/bnx2x/meson.build\n@@ -0,0 +1,14 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2018 Intel Corporation\n+\n+dep = cc.find_library('z', required: false)\n+build = dep.found()\n+ext_deps += dep\n+cflags += '-DZLIB_CONST'\n+sources = files('bnx2x.c',\n+\t'bnx2x_ethdev.c',\n+\t'bnx2x_rxtx.c',\n+\t'bnx2x_stats.c',\n+\t'bnx2x_vfpf.c',\n+\t'ecore_sp.c',\n+\t'elink.c')\ndiff --git a/drivers/net/meson.build b/drivers/net/meson.build\nindex 76bf48f3e..143355458 100644\n--- a/drivers/net/meson.build\n+++ b/drivers/net/meson.build\n@@ -2,7 +2,8 @@\n # Copyright(c) 2017 Intel Corporation\n \n drivers = ['af_packet', 'ark', 'avp',\n-\t'axgbe', 'bonding', 'dpaa', 'dpaa2',\n+\t'axgbe', 'bonding', 'bnx2x',\n+\t'dpaa', 'dpaa2',\n \t'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe',\n \t'mvpp2', 'null', 'octeontx', 'pcap', 'ring',\n \t'sfc', 'thunderx', 'virtio']\n",
    "prefixes": [
        "v2",
        "03/15"
    ]
}