get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 80426,
    "url": "https://patches.dpdk.org/api/patches/80426/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20201013150714.3258960-8-linglix.chen@intel.com/",
    "project": {
        "id": 3,
        "url": "https://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-8-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20201013150714.3258960-8-linglix.chen@intel.com",
    "date": "2020-10-13T15:07:11",
    "name": "[07/10] framework/crbs.py:add the BSD License header information",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "43c3e1223bf3fdd3c1a4115e17620b941b6fb7f4",
    "submitter": {
        "id": 1843,
        "url": "https://patches.dpdk.org/api/people/1843/?format=api",
        "name": "Lingli Chen",
        "email": "linglix.chen@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20201013150714.3258960-8-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 12902,
            "url": "https://patches.dpdk.org/api/series/12902/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=12902",
            "date": "2020-10-13T15:07:04",
            "name": "add the BSD License header information",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/12902/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/80426/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/80426/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 BE3A8A04B6;\n\tTue, 13 Oct 2020 09:07:16 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 56DCE1BFED;\n\tTue, 13 Oct 2020 09:07:13 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id EE6E41D9CC\n for <dts@dpdk.org>; Tue, 13 Oct 2020 09:07:10 +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:10 -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:09 -0700"
        ],
        "IronPort-SDR": [
            "\n UGm89+89RUNb5iBlMEAEHNYSbqiXhXBn1zpadfQvCeCWs2RRQssF8bLHAQpyVo+QfzOqlMyaIT\n fVMpiFaICM9g==",
            "\n OvmCXm1LL/mfHeo0vJLj/GqBaEOG8YyX/hkpIAgyuUqXuQn3j47SyrurZdVWwYYrqFdGk7dZSN\n Y40f0yVafSIA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9772\"; a=\"153694187\"",
            "E=Sophos;i=\"5.77,369,1596524400\"; d=\"scan'208\";a=\"153694187\"",
            "E=Sophos;i=\"5.77,369,1596524400\"; d=\"scan'208\";a=\"530282923\""
        ],
        "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:11 +0000",
        "Message-Id": "<20201013150714.3258960-8-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 07/10] framework/crbs.py:add the BSD License header\n\tinformation",
        "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/crbs.py | 31 +++++++++++++++++++++++++++++++\n 1 file changed, 31 insertions(+)",
    "diff": "diff --git a/framework/crbs.py b/framework/crbs.py\nindex 2ff937ac..70d8a070 100644\n--- a/framework/crbs.py\n+++ b/framework/crbs.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 \"\"\"\n Static configuration data for any CRBs that can be used.\n \"\"\"\n",
    "prefixes": [
        "07/10"
    ]
}