get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50849,
    "url": "https://patches.dpdk.org/api/patches/50849/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190306041634.12976-6-anand.rawat@intel.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": "<20190306041634.12976-6-anand.rawat@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190306041634.12976-6-anand.rawat@intel.com",
    "date": "2019-03-06T04:16:33",
    "name": "[v2,5/6] examples: add meson changes for windows",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9c0099431a95b4e4c785e6ccd7e30dbded83f1b6",
    "submitter": {
        "id": 1231,
        "url": "https://patches.dpdk.org/api/people/1231/?format=api",
        "name": "Anand Rawat",
        "email": "anand.rawat@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190306041634.12976-6-anand.rawat@intel.com/mbox/",
    "series": [
        {
            "id": 3639,
            "url": "https://patches.dpdk.org/api/series/3639/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3639",
            "date": "2019-03-06T04:16:28",
            "name": "HelloWorld example for windows",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/3639/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/50849/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/50849/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 D1A215587;\n\tWed,  6 Mar 2019 05:16:45 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 016884C95\n\tfor <dev@dpdk.org>; Wed,  6 Mar 2019 05:16:37 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Mar 2019 20:16:36 -0800",
            "from anandraw-devbx.amr.corp.intel.com ([10.19.242.57])\n\tby orsmga005.jf.intel.com with ESMTP; 05 Mar 2019 20:16:35 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.58,446,1544515200\"; d=\"scan'208\";a=\"304752079\"",
        "From": "Anand Rawat <anand.rawat@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "pallavi.kadam@intel.com, ranjit.menon@intel.com, jeffrey.b.shaw@intel.com,\n\tthomas@monjalon.net",
        "Date": "Tue,  5 Mar 2019 20:16:33 -0800",
        "Message-Id": "<20190306041634.12976-6-anand.rawat@intel.com>",
        "X-Mailer": "git-send-email 2.17.1.windows.2",
        "In-Reply-To": "<20190306041634.12976-1-anand.rawat@intel.com>",
        "References": "<20190306041634.12976-1-anand.rawat@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 5/6] examples: add meson changes for windows",
        "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": "Add meson changes to build helloworld example\non windows. Only EAL is supported currently.\n\nSigned-off-by: Anand Rawat <anand.rawat@intel.com>\nSigned-off-by: Pallavi Kadam <pallavi.kadam@intel.com>\nReviewed-by: Jeff Shaw <jeffrey.b.shaw@intel.com>\nReviewed-by: Ranjit Menon <ranjit.menon@intel.com>\n---\n examples/meson.build | 9 +++++++--\n 1 file changed, 7 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/examples/meson.build b/examples/meson.build\nindex af81c762e..2e638399e 100644\n--- a/examples/meson.build\n+++ b/examples/meson.build\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2017 Intel Corporation\n+# Copyright(c) 2017-2019 Intel Corporation\n \n driver_libs = []\n if get_option('default_library') == 'static'\n@@ -35,7 +35,12 @@ foreach example: examples\n \n \text_deps = [execinfo]\n \tincludes = [include_directories(example)]\n-\tdeps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline']\n+\n+\tif host_machine.system() != 'windows'\n+\t\tdeps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline']\n+\telse\n+\t\tdeps = ['eal']\n+\tendif\n \tsubdir(example)\n \n \tif build\n",
    "prefixes": [
        "v2",
        "5/6"
    ]
}