get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59769,
    "url": "https://patches.dpdk.org/api/patches/59769/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190925155135.1688-6-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-6-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190925155135.1688-6-stephen@networkplumber.org",
    "date": "2019-09-25T15:51:33",
    "name": "[5/7] ethdev: add SPDX tags to pci and vdev headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a90f2ae5af825dcd413b5594ddedb6301404ca5c",
    "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-6-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/59769/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/59769/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 5F3821BECC;\n\tWed, 25 Sep 2019 17:51:55 +0200 (CEST)",
            "from mail-pl1-f194.google.com (mail-pl1-f194.google.com\n\t[209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 4D0281BEA1\n\tfor <dev@dpdk.org>; Wed, 25 Sep 2019 17:51:44 +0200 (CEST)",
            "by mail-pl1-f194.google.com with SMTP id s17so2630469plp.6\n\tfor <dev@dpdk.org>; Wed, 25 Sep 2019 08:51:44 -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.42\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 25 Sep 2019 08:51:42 -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=hmMFZazX1gtoGAlYvHXnB0D9sDuFU//e3yQpgBG61nk=;\n\tb=SfWxtV0Od/XaOmXu8LE+T2YO3kLajDQvfl5bB2tSXqFW4T6DtrOzig2EaHITgLailT\n\tpjYc+ZYRUd11nI/VOSaVlP/UX53kYuV5ep1nyfmjOnMcNJmokvMRBJQgSZRtT/OK7t7W\n\tTMLd+ixb6oaporvDpX+2FCr6Td0sh3nMPv8182gBSF1RANTUIwF5C7tF5Uuw9AHjOlBb\n\teTnCURHZViyuCX9Rn75Mv6xVQlDOKa50WlUq2tVxC0l75CTxuwq95SmgXzSFTOaJoRwn\n\tHFZTdWSCc+/WfXwXNYMWk6DJci0dQw4HXzsvSxy9IyqpCIE7Qwp5R799q7VmoMD8Ik+1\n\tZzoQ==",
        "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=hmMFZazX1gtoGAlYvHXnB0D9sDuFU//e3yQpgBG61nk=;\n\tb=ax0YRYnI8Q6ah4N45hufx8ZU6OGdnfqPiTh+jinpxyx5hZMMrJ8h5Ihbm/qMbBoHVM\n\tmmdHeeUIm3xKUn4zJji2k/ScY/I9nH37r2Ls49fcRl8u+vyhxqkPmEESNAYNmHP+fN1c\n\ttCRLUaZoL8dBKnPY8NrsihUEU9d4Ll3KXFREzDz1dnAcWNHRIrsxKbMK938PUeJ6GDEV\n\tJ6OgNXyXAYmk6uo2PUZQ9wwtsiYy1nyTu3wWK5FmzsxfTxTuAYJOScj3SDqOjZy10eKq\n\tp7zErpOUlDNuuqxtId0SJlCm378PZKvN5haeYx6KIEYixT3AGZcVWptp+2kMCwD1/ilz\n\tYPiQ==",
        "X-Gm-Message-State": "APjAAAXRy3D8mgq8VzSoS7WA320k154Uesc6JgLCugwpHukwpf6sTJyR\n\tWo65KhhFxuTw8SK7RtX4I3T8i+U3y1k=",
        "X-Google-Smtp-Source": "APXvYqw1RG4GLSy1wi7hf4TgQzLw9DWxKg23jHfkiFYnGflY/DuAyoQBCul/j7NaGsG+fTCEkvOfhg==",
        "X-Received": "by 2002:a17:902:7282:: with SMTP id\n\td2mr9775989pll.140.1569426703287; \n\tWed, 25 Sep 2019 08:51:43 -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:33 -0700",
        "Message-Id": "<20190925155135.1688-6-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 5/7] ethdev: add SPDX tags to pci and vdev headers",
        "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": "Missing SPDX tags on these.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/librte_ethdev/rte_ethdev_pci.h  | 34 +++--------------------------\n lib/librte_ethdev/rte_ethdev_vdev.h | 34 +++--------------------------\n 2 files changed, 6 insertions(+), 62 deletions(-)",
    "diff": "diff --git a/lib/librte_ethdev/rte_ethdev_pci.h b/lib/librte_ethdev/rte_ethdev_pci.h\nindex ccdbb46ec03c..add17dd1fea3 100644\n--- a/lib/librte_ethdev/rte_ethdev_pci.h\n+++ b/lib/librte_ethdev/rte_ethdev_pci.h\n@@ -1,34 +1,6 @@\n-/*-\n- *   BSD LICENSE\n- *\n- *   Copyright(c) 2017 Brocade Communications Systems, Inc.\n- *   Author: Jan Blunck <jblunck@infradead.org>\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 the copyright holder 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 Brocade Communications Systems, Inc.\n+ * Author: Jan Blunck <jblunck@infradead.org>\n  */\n \n #ifndef _RTE_ETHDEV_PCI_H_\ndiff --git a/lib/librte_ethdev/rte_ethdev_vdev.h b/lib/librte_ethdev/rte_ethdev_vdev.h\nindex 259feda3f7e8..8ae73b617798 100644\n--- a/lib/librte_ethdev/rte_ethdev_vdev.h\n+++ b/lib/librte_ethdev/rte_ethdev_vdev.h\n@@ -1,34 +1,6 @@\n-/*-\n- *   BSD LICENSE\n- *\n- *   Copyright(c) 2017 Brocade Communications Systems, Inc.\n- *   Author: Jan Blunck <jblunck@infradead.org>\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 the copyright holder 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 Brocade Communications Systems, Inc.\n+ * Author: Jan Blunck <jblunck@infradead.org>\n  */\n \n #ifndef _RTE_ETHDEV_VDEV_H_\n",
    "prefixes": [
        "5/7"
    ]
}