get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 57658,
    "url": "https://patches.dpdk.org/api/patches/57658/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190813122013.14070-1-allain.legacy@windriver.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": "<20190813122013.14070-1-allain.legacy@windriver.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190813122013.14070-1-allain.legacy@windriver.com",
    "date": "2019-08-13T12:20:12",
    "name": "[1/2] test: replace license text with SPDX tag",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c8d8e27178a81cfd45bc4fa2c594220b9d683bee",
    "submitter": {
        "id": 679,
        "url": "https://patches.dpdk.org/api/people/679/?format=api",
        "name": "Allain Legacy",
        "email": "allain.legacy@windriver.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/20190813122013.14070-1-allain.legacy@windriver.com/mbox/",
    "series": [
        {
            "id": 6030,
            "url": "https://patches.dpdk.org/api/series/6030/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6030",
            "date": "2019-08-13T12:20:12",
            "name": "[1/2] test: replace license text with SPDX tag",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/6030/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/57658/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/57658/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 1FC5B1BDAC;\n\tTue, 13 Aug 2019 14:20:33 +0200 (CEST)",
            "from mail.windriver.com (mail.windriver.com [147.11.1.11])\n\tby dpdk.org (Postfix) with ESMTP id 6621E5681\n\tfor <dev@dpdk.org>; Tue, 13 Aug 2019 14:20:31 +0200 (CEST)",
            "from ALA-HCA.corp.ad.wrs.com ([147.11.189.40])\n\tby mail.windriver.com (8.15.2/8.15.1) with ESMTPS id x7DCKUPL010362\n\t(version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL);\n\tTue, 13 Aug 2019 05:20:30 -0700 (PDT)",
            "from yow-alegacy-vm3.wrs.com (128.224.140.250) by\n\tALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server\n\t(TLS) id 14.3.468.0; Tue, 13 Aug 2019 05:20:29 -0700"
        ],
        "From": "Allain Legacy <allain.legacy@windriver.com>",
        "To": "<hemant.agrawal@nxp.com>",
        "CC": "<dev@dpdk.org>, <john.mcnamara@intel.com>, <marko.kovacevic@intel.com>, \n\t<cristian.dumitrescu@intel.com>, <matt.peters@windriver.com>",
        "Date": "Tue, 13 Aug 2019 07:20:12 -0500",
        "Message-ID": "<20190813122013.14070-1-allain.legacy@windriver.com>",
        "X-Mailer": "git-send-email 2.12.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[128.224.140.250]",
        "Subject": "[dpdk-dev] [PATCH 1/2] test: replace license text with SPDX 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\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": "Replacing full license text with SPDX tag.\n\nSigned-off-by: Allain Legacy <allain.legacy@windriver.com>\n---\n app/test/test_cfgfile.c | 32 ++------------------------------\n 1 file changed, 2 insertions(+), 30 deletions(-)",
    "diff": "diff --git a/app/test/test_cfgfile.c b/app/test/test_cfgfile.c\nindex 37435b395..01905920e 100644\n--- a/app/test/test_cfgfile.c\n+++ b/app/test/test_cfgfile.c\n@@ -1,33 +1,5 @@\n-/*-\n- *   BSD LICENSE\n- *\n- *   Copyright(c) 2017 Wind River Systems 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- *     * 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+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2017 Wind River Systems Inc. All rights reserved.\n  */\n \n #include <stdio.h>\n",
    "prefixes": [
        "1/2"
    ]
}