get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59768,
    "url": "https://patches.dpdk.org/api/patches/59768/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190925155135.1688-5-stephen@networkplumber.org/",
    "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": "<20190925155135.1688-5-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190925155135.1688-5-stephen@networkplumber.org",
    "date": "2019-09-25T15:51:32",
    "name": "[4/7] kni: add SPDX license tag",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b64a46b065bcbbd4522bd5c375c3143a3fdda1d1",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20190925155135.1688-5-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 6531,
            "url": "https://patches.dpdk.org/api/series/6531/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6531",
            "date": "2019-09-25T15:51:28",
            "name": "SPDX license tag changes",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/6531/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/59768/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/59768/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 EBCC91BEC3;\n\tWed, 25 Sep 2019 17:51:52 +0200 (CEST)",
            "from mail-pg1-f193.google.com (mail-pg1-f193.google.com\n\t[209.85.215.193]) by dpdk.org (Postfix) with ESMTP id 29C911BE91\n\tfor <dev@dpdk.org>; Wed, 25 Sep 2019 17:51:43 +0200 (CEST)",
            "by mail-pg1-f193.google.com with SMTP id 4so3488457pgm.12\n\tfor <dev@dpdk.org>; Wed, 25 Sep 2019 08:51:43 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id h9sm2783pgh.51.2019.09.25.08.51.40\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 25 Sep 2019 08:51:40 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=LbCDWbr+kF6Za9W/PWoSIUncQSs/SEQnHfbafaz7ESY=;\n\tb=cYzIzNLZA3V/vx0YQLEGhKNZWG6cY4jXCghl+fcja+cD1ukmdfjxi2UaqyF/4uj2rN\n\tnO8R89gDoz+H3/rJbzly49nsLnHmXU1oiyOcAptl6gmxppzlk7U+hKpB0KzpHJHh91Ue\n\t39rKTquBt7BvGbqQRBc9KH8J4ArjSeeLuIO4LXRyQyRDolzQzao+oBwp0CwQzjBdiNH9\n\tokan1GzNzvCPWVKugin08n452i9OBOCr7sGSdrjGbiFG8xjuEUdeTUKjGWuxGP6LXOp6\n\tKLn/60GL2UeRGx565Q1iF5LFtBIlXCt0KVyj53Ndjs6p7FsQhvuzmaC9QKqlZOtRPysM\n\tb9vg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=LbCDWbr+kF6Za9W/PWoSIUncQSs/SEQnHfbafaz7ESY=;\n\tb=buE4p/qGDkwv1vcQjdARB1KURts0CI5tgMaRIVb93V1RVe2wEH3w4jmxmghKdTlt01\n\t5dpOctiAj4e2Zc1nEZtsPBfkk/fyVh/G7l1bvx/zaHqao4IzKxU8WqaC4o2MKYdGou5Y\n\tsDd3y9/quOyo/S6clO2zk5FLojvrYBw3Eh5gn2kVEz49LE4FcQId5ilgDe6N/F5+ciir\n\tf5ehwtEVsMADn4yDf99/LSGsP8h3ISn/4pWuoYpwitvlmagZne/jnWOzpt7AWyxGskRf\n\tAKVfZ4MYDGPjOPCu3jST1TWqTW3HO77LamkK3fXRH6WdJO1z5MBC8ckoVmUJkJej6lRh\n\tb/Fw==",
        "X-Gm-Message-State": "APjAAAUH9Vb1LepZULOaSK5+Taj743zzyVvU8jfQennbNgl8Pp0N1SUd\n\t9vR5jKOTR8ToQKiPfiZvnxlUztnOHXY=",
        "X-Google-Smtp-Source": "APXvYqyngWTJjtn6vQsuCK31MkkuPkyCENIVPrv7yItndXtklRqHSVNsKIhda1BuXroRgAO5W60TzA==",
        "X-Received": "by 2002:a17:90a:a00f:: with SMTP id\n\tq15mr7277204pjp.120.1569426701979; \n\tWed, 25 Sep 2019 08:51:41 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>",
        "Date": "Wed, 25 Sep 2019 08:51:32 -0700",
        "Message-Id": "<20190925155135.1688-5-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190925155135.1688-1-stephen@networkplumber.org>",
        "References": "<20190925155135.1688-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 4/7] kni: add SPDX license 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": "Per policy, DPDK uses SPDX license tags instead of BSD\nboilerplate.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/librte_port/rte_port_kni.c | 36 ++++------------------------------\n lib/librte_port/rte_port_kni.h | 36 ++++------------------------------\n 2 files changed, 8 insertions(+), 64 deletions(-)",
    "diff": "diff --git a/lib/librte_port/rte_port_kni.c b/lib/librte_port/rte_port_kni.c\nindex 2515fb2acba8..a682576202b1 100644\n--- a/lib/librte_port/rte_port_kni.c\n+++ b/lib/librte_port/rte_port_kni.c\n@@ -1,35 +1,7 @@\n-/*-\n- *   BSD LICENSE\n- *\n- *   Copyright(c) 2016 Ethan Zhuang <zhuangwj@gmail.com>.\n- *   Copyright(c) 2016 Intel Corporation.\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+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2016 Ethan Zhuang <zhuangwj@gmail.com>.\n+ * Copyright(c) 2016 Intel Corporation.\n+ * All rights reserved.\n  */\n #include <string.h>\n \ndiff --git a/lib/librte_port/rte_port_kni.h b/lib/librte_port/rte_port_kni.h\nindex 4b60689c77b9..2cf554bc021a 100644\n--- a/lib/librte_port/rte_port_kni.h\n+++ b/lib/librte_port/rte_port_kni.h\n@@ -1,35 +1,7 @@\n-/*-\n- *   BSD LICENSE\n- *\n- *   Copyright(c) 2016 Ethan Zhuang <zhuangwj@gmail.com>.\n- *   Copyright(c) 2016 Intel Corporation.\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+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2016 Ethan Zhuang <zhuangwj@gmail.com>.\n+ * Copyright(c) 2016 Intel Corporation.\n+ * All rights reserved.\n  */\n \n #ifndef __INCLUDE_RTE_PORT_KNI_H__\n",
    "prefixes": [
        "4/7"
    ]
}