get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 80420,
    "url": "http://patches.dpdk.org/api/patches/80420/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20201013150714.3258960-2-linglix.chen@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20201013150714.3258960-2-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20201013150714.3258960-2-linglix.chen@intel.com",
    "date": "2020-10-13T15:07:05",
    "name": "[01/10] framework/test_capabilities.py:add the BSD License header information",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "75853dc5da0fa845114cc3f12d6adfff7fbd006c",
    "submitter": {
        "id": 1843,
        "url": "http://patches.dpdk.org/api/people/1843/?format=api",
        "name": "Lingli Chen",
        "email": "linglix.chen@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20201013150714.3258960-2-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 12902,
            "url": "http://patches.dpdk.org/api/series/12902/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=12902",
            "date": "2020-10-13T15:07:04",
            "name": "add the BSD License header information",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12902/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/80420/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/80420/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 25725A04B7;\n\tTue, 13 Oct 2020 09:07:07 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0F0491BF4A;\n\tTue, 13 Oct 2020 09:07:06 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 12F571BEDC\n for <dts@dpdk.org>; Tue, 13 Oct 2020 09:07:03 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Oct 2020 00:07:01 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.77])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Oct 2020 00:07:00 -0700"
        ],
        "IronPort-SDR": [
            "\n AkDHxGybk49GbOXIGjsSmsEDNL4YxJPYqy5Saork+SkpVPbonT4sMIMnJCegaZRVhbs5cX1/Rm\n ntiLQevk29iA==",
            "\n TGRujFogzHtkBHPAT773QpyzAlqVvTQeOn9hYTEwkUqhcU01+hgiGw6kuT/jrnLgwpqujVWqUh\n pZ7G0peLrMeQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9772\"; a=\"153694167\"",
            "E=Sophos;i=\"5.77,369,1596524400\"; d=\"scan'208\";a=\"153694167\"",
            "E=Sophos;i=\"5.77,369,1596524400\"; d=\"scan'208\";a=\"530282814\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "From": "Chen Linglix <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Chen Linglix <linglix.chen@intel.com>",
        "Date": "Tue, 13 Oct 2020 15:07:05 +0000",
        "Message-Id": "<20201013150714.3258960-2-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20201013150714.3258960-1-linglix.chen@intel.com>",
        "References": "<20201013150714.3258960-1-linglix.chen@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [dts 01/10] framework/test_capabilities.py:add the BSD\n\tLicense header information",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Chen Linglix <linglix.chen@intel.com>\n---\n framework/test_capabilities.py | 31 +++++++++++++++++++++++++++++++\n 1 file changed, 31 insertions(+)",
    "diff": "diff --git a/framework/test_capabilities.py b/framework/test_capabilities.py\nindex 79a6dee6..0024adad 100644\n--- a/framework/test_capabilities.py\n+++ b/framework/test_capabilities.py\n@@ -1,3 +1,34 @@\n+# BSD LICENSE\n+#\n+# Copyright(c) 2020 Intel 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 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 #this structure will be used to determine which parts of tests should be skipped\n \"\"\"\n Dict used to skip parts of tests if NIC is known not to support them\n",
    "prefixes": [
        "01/10"
    ]
}