get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59770,
    "url": "http://patches.dpdk.org/api/patches/59770/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190925155135.1688-7-stephen@networkplumber.org/",
    "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": "<20190925155135.1688-7-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190925155135.1688-7-stephen@networkplumber.org",
    "date": "2019-09-25T15:51:34",
    "name": "[6/7] testpmd: add SPDX license tags",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "40a4b95fb74ad5a58f0f24af3de151dbd5378cb1",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20190925155135.1688-7-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 6531,
            "url": "http://patches.dpdk.org/api/series/6531/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6531",
            "date": "2019-09-25T15:51:28",
            "name": "SPDX license tag changes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/6531/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/59770/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/59770/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 0537A1BEDA;\n\tWed, 25 Sep 2019 17:51:58 +0200 (CEST)",
            "from mail-pl1-f170.google.com (mail-pl1-f170.google.com\n\t[209.85.214.170]) by dpdk.org (Postfix) with ESMTP id 11CB71BEAE\n\tfor <dev@dpdk.org>; Wed, 25 Sep 2019 17:51:46 +0200 (CEST)",
            "by mail-pl1-f170.google.com with SMTP id f21so248653plj.10\n\tfor <dev@dpdk.org>; Wed, 25 Sep 2019 08:51:45 -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.43\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 25 Sep 2019 08:51:43 -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=Vpf9aRZIybDuOvO7vAE6mRaAgmS1Jsj6J3swiURENNc=;\n\tb=BgKh1DIbk3oaydzzQ3U3E0lr6lzb6UWcfEpK9D1gfVPrkhuv7BnD8txdiQVJUsHYRM\n\tVerUr6YZx+MxfkegX6QKPJ6zQS9QWGhZstZfFlIeQUNEy2UvTgobZcQQn50Y0eyiMKU1\n\tzNPFWTcvheOajcZuLZjYT0XHqLX6BiodgolKiicg4PvAsebzk3M5UMa8M2rVkBZlDpVU\n\t7ylL/YB1VoMppGcfqssDr/3todq2frXfYNIWyAS24UGkfz5+lDNawpJRXJRrtTlFw5aN\n\tm0NqW8WzPwBJFkqOxpt7MFwGYRH7XdVT2kw7Vgi6DFumkhj1FJP2KrUM6AnoVp+eFZg7\n\tzjrQ==",
        "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=Vpf9aRZIybDuOvO7vAE6mRaAgmS1Jsj6J3swiURENNc=;\n\tb=uc3b7bjPc2jruZfj7T1jgOViTcc3JK9Btoz0VgMjbyi6ldjECIlaFiepJlaOSIRmIk\n\tvlOJnY79s9i2A6Da5TxBCLXvHEb/4BdqBL0USaVSepEt3b0FkqvaL97m+mc2EX7FF++0\n\tcixoCXeLgtp0KG1YDv12pNdWJw9d8h/Sexj/pqo6FFEQcfkJFeLOEYQ6UVCh6FGB4Rtc\n\tCWqWqJrxaWTHqImE55cS1uXcIt+bJrDvxOmNw37VQXig3yepBymWPlc22hNy6+5lT8CM\n\taovVH//b2y0Hu3A0BBO+bh2w8VvEsfgQ7h+2kZEeTJqWLJbw7/gOCIQOU4g2ayQO9XQI\n\t2awg==",
        "X-Gm-Message-State": "APjAAAX/7PSlHh7uig04IK9119M2hc5PsyCT2An657CZoxkbX17RtDsN\n\tfi1AQvp7hfjP0n3aJbe7pQMbRYpX2IY=",
        "X-Google-Smtp-Source": "APXvYqzKSnVs5ZAykWgZXoN7ou6qd3dxSKy/qbvY4l5rdwhijTrGE4aPtyJV9Q9b61OJzv08Njn58Q==",
        "X-Received": "by 2002:a17:902:d685:: with SMTP id\n\tv5mr9499542ply.15.1569426704418; \n\tWed, 25 Sep 2019 08:51:44 -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:34 -0700",
        "Message-Id": "<20190925155135.1688-7-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 6/7] testpmd: add SPDX license tags",
        "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": "These files are old tests where the original owner is not active.\nChange from BSD boilerplate to SPDX.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n app/test-pmd/flowgen.c | 35 +++--------------------------------\n app/test-pmd/macswap.c | 33 ++-------------------------------\n 2 files changed, 5 insertions(+), 63 deletions(-)",
    "diff": "diff --git a/app/test-pmd/flowgen.c b/app/test-pmd/flowgen.c\nindex ade6fe5dafa0..d09f96122be8 100644\n--- a/app/test-pmd/flowgen.c\n+++ b/app/test-pmd/flowgen.c\n@@ -1,35 +1,6 @@\n-/*-\n- *   BSD LICENSE\n- *\n- *   Copyright(c) 2010-2013 Tilera Corporation. All rights reserved.\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 Tilera 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+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2010-2013 Tilera Corporation. All rights reserved.\n+ * All rights reserved.\n  */\n \n #include <stdarg.h>\ndiff --git a/app/test-pmd/macswap.c b/app/test-pmd/macswap.c\nindex 71af916fc348..495115e54d9f 100644\n--- a/app/test-pmd/macswap.c\n+++ b/app/test-pmd/macswap.c\n@@ -1,34 +1,5 @@\n-/*-\n- *   BSD LICENSE\n- *\n- *   Copyright(c) 2014 Tilera Corporation. 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 Tilera 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+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(c) 2014 Tilera Corporation. All rights reserved.\n  */\n \n #include <stdarg.h>\n",
    "prefixes": [
        "6/7"
    ]
}