get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 35068,
    "url": "http://patches.dpdk.org/api/patches/35068/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1518098634-152825-1-git-send-email-lee.daly@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": "<1518098634-152825-1-git-send-email-lee.daly@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1518098634-152825-1-git-send-email-lee.daly@intel.com",
    "date": "2018-02-08T14:03:54",
    "name": "[dpdk-dev,v2] examples/performance-thread: update copyrights and license",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3db6c1a009360d54bd62a46408b7dcbcfd890793",
    "submitter": {
        "id": 825,
        "url": "http://patches.dpdk.org/api/people/825/?format=api",
        "name": "Daly, Lee",
        "email": "lee.daly@intel.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/1518098634-152825-1-git-send-email-lee.daly@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/35068/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/35068/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 63D901B787;\n\tThu,  8 Feb 2018 15:04:10 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 617561B785\n\tfor <dev@dpdk.org>; Thu,  8 Feb 2018 15:04:08 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t08 Feb 2018 06:03:58 -0800",
            "from silpixa00399501.ir.intel.com ([10.237.223.69])\n\tby orsmga002.jf.intel.com with ESMTP; 08 Feb 2018 06:03:56 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.46,478,1511856000\"; d=\"scan'208\";a=\"33130055\"",
        "From": "Lee Daly <lee.daly@intel.com>",
        "To": "john.mcnamara@intel.com, pablo.de.lara.guarch@intel.com,\n\tharry.van.haaren@intel.com, bruce.richardson@intel.com",
        "Cc": "dev@dpdk.org,\n\tLee Daly <lee.daly@intel.com>",
        "Date": "Thu,  8 Feb 2018 14:03:54 +0000",
        "Message-Id": "<1518098634-152825-1-git-send-email-lee.daly@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1516800436-86006-1-git-send-email-lee.daly@intel.com>",
        "References": "<1516800436-86006-1-git-send-email-lee.daly@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] examples/performance-thread: update\n\tcopyrights and 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": "<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": "This updates the Intel and Cavium license on files in examples to be\nthe standard BSD-3-Clause license used for the rest of DPDK, bringing\nthe files in compliance with the DPDK licensing policy.\n\n---\nV2: Update commit message\n\nSigned-off-by: Lee Daly <lee.daly@intel.com>\n---\n .../performance-thread/common/arch/x86/stack.h     | 32 ++--------------------\n 1 file changed, 2 insertions(+), 30 deletions(-)",
    "diff": "diff --git a/examples/performance-thread/common/arch/x86/stack.h b/examples/performance-thread/common/arch/x86/stack.h\nindex 98723ba..edf21c0 100644\n--- a/examples/performance-thread/common/arch/x86/stack.h\n+++ b/examples/performance-thread/common/arch/x86/stack.h\n@@ -1,35 +1,7 @@\n-/*-\n- *   BSD LICENSE\n- *\n- *   Copyright(c) 2015 Intel Corporation. All rights reserved.\n+/*   SPDX-License-Identifier: BSD-3-Clause\n+ *   Copyright(c) 2015 Intel Corporation.\n  *   Copyright(c) Cavium, Inc. 2017.\n  *   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- *     * Redistributions of source code must retain the above copyright\n- *       notice, this list of conditions and the following disclaimer.\n- *     * Redistributions in binary form must reproduce the above copyright\n- *       notice, this list of conditions and the following disclaimer in\n- *       the documentation and/or other materials provided with the\n- *       distribution.\n- *     * Neither the name of Intel Corporation nor the names of its\n- *       contributors may be used to endorse or promote products derived\n- *       from this software without specific prior written permission.\n- *\n- *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n- *   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n- *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n- *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n- *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n- *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n- *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n- *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n- *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n- *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n- *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n  */\n \n /*\n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}