get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 31995,
    "url": "http://patches.dpdk.org/api/patches/31995/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1512683944-8194-1-git-send-email-skhare@vmware.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": "<1512683944-8194-1-git-send-email-skhare@vmware.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1512683944-8194-1-git-send-email-skhare@vmware.com",
    "date": "2017-12-07T21:59:04",
    "name": "[dpdk-dev] net/vmxnet3: convert to 3-Clause BSD License",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "83ec33803c3c5369f51c565781bc3d40da447278",
    "submitter": {
        "id": 684,
        "url": "http://patches.dpdk.org/api/people/684/?format=api",
        "name": "Shrikrishna Khare",
        "email": "skhare@vmware.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/1512683944-8194-1-git-send-email-skhare@vmware.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/31995/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/31995/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 47A967CE2;\n\tThu,  7 Dec 2017 22:59:08 +0100 (CET)",
            "from EX13-EDG-OU-001.vmware.com (ex13-edg-ou-001.vmware.com\n\t[208.91.0.189]) by dpdk.org (Postfix) with ESMTP id 681A97CBD\n\tfor <dev@dpdk.org>; Thu,  7 Dec 2017 22:59:06 +0100 (CET)",
            "from sc9-mailhost1.vmware.com (10.113.161.71) by\n\tEX13-EDG-OU-001.vmware.com (10.113.208.155) with Microsoft SMTP\n\tServer id 15.0.1156.6; Thu, 7 Dec 2017 13:58:59 -0800",
            "from shri-linux.eng.vmware.com (shri-linux.eng.vmware.com\n\t[10.33.72.16])\n\tby sc9-mailhost1.vmware.com (Postfix) with ESMTP id 8D26018720;\n\tThu,  7 Dec 2017 13:59:05 -0800 (PST)"
        ],
        "From": "Shrikrishna Khare <skhare@vmware.com>",
        "To": "<dev@dpdk.org>",
        "CC": "Shrikrishna Khare <skhare@vmware.com>",
        "Date": "Thu, 7 Dec 2017 13:59:04 -0800",
        "Message-ID": "<1512683944-8194-1-git-send-email-skhare@vmware.com>",
        "X-Mailer": "git-send-email 2.6.2",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "Received-SPF": "None (EX13-EDG-OU-001.vmware.com: skhare@vmware.com does not\n\tdesignate permitted sender hosts)",
        "Subject": "[dpdk-dev]  [PATCH] net/vmxnet3: convert to 3-Clause BSD License",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "On behalf of the DPDK Technical board, Hemant Agrawal observed that the\nDPDK project's Intellectual Property Policy (http://dpdk.org/about/charter)\nrequires 3-Clause BSD license or an exception approval. However, two\nvmxnet3 source files have 2-Clause BSD license.\n\nThis patch modifies those licenses to 3-Clause BSD license.\n\nReported-by: Hemant Agrawal <hemant.agrawal@nxp.com>\nAcked-by: Cheryl Houser <chouser@vmware.com>\nAcked-by: Bharat Mota <bmota@vmware.com>\nSigned-off-by: Shrikrishna Khare <skhare@vmware.com>\n---\n drivers/net/vmxnet3/base/upt1_defs.h    | 22 +---------------------\n drivers/net/vmxnet3/base/vmxnet3_defs.h | 22 +---------------------\n 2 files changed, 2 insertions(+), 42 deletions(-)",
    "diff": "diff --git a/drivers/net/vmxnet3/base/upt1_defs.h b/drivers/net/vmxnet3/base/upt1_defs.h\nindex d9144e3..cf9141b 100644\n--- a/drivers/net/vmxnet3/base/upt1_defs.h\n+++ b/drivers/net/vmxnet3/base/upt1_defs.h\n@@ -1,27 +1,7 @@\n /*********************************************************\n  * Copyright (C) 2007 VMware, Inc. All rights reserved.\n  *\n- * Redistribution and use in source and binary forms, with or without\n- * modification, are permitted provided that the following conditions\n- * are met:\n- *\n- * 1. Redistributions of source code must retain the above copyright\n- *    notice, this list of conditions and the following disclaimer.\n- * 2. Redistributions in binary form must reproduce the above copyright\n- *    notice, this list of conditions and the following disclaimer in the\n- *    documentation and/or other materials provided with the distribution.\n- *\n- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n- * SUCH DAMAGE.\n+ * SPDX-License-Identifier:    BSD-3-Clause\n  *\n  *********************************************************/\n \ndiff --git a/drivers/net/vmxnet3/base/vmxnet3_defs.h b/drivers/net/vmxnet3/base/vmxnet3_defs.h\nindex bfa9622..a455e27 100644\n--- a/drivers/net/vmxnet3/base/vmxnet3_defs.h\n+++ b/drivers/net/vmxnet3/base/vmxnet3_defs.h\n@@ -1,27 +1,7 @@\n /*********************************************************\n  * Copyright (C) 2007 VMware, Inc. All rights reserved.\n  *\n- * Redistribution and use in source and binary forms, with or without\n- * modification, are permitted provided that the following conditions\n- * are met:\n- *\n- * 1. Redistributions of source code must retain the above copyright\n- *    notice, this list of conditions and the following disclaimer.\n- * 2. Redistributions in binary form must reproduce the above copyright\n- *    notice, this list of conditions and the following disclaimer in the\n- *    documentation and/or other materials provided with the distribution.\n- *\n- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\n- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\n- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n- * SUCH DAMAGE.\n+ * SPDX-License-Identifier:    BSD-3-Clause\n  *\n  *********************************************************/\n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}