get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109287,
    "url": "http://patches.dpdk.org/api/patches/109287/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220406151106.2915304-21-juraj.linkes@pantheon.tech/",
    "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": "<20220406151106.2915304-21-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220406151106.2915304-21-juraj.linkes@pantheon.tech",
    "date": "2022-04-06T15:11:02",
    "name": "[RFC,v1,20/24] dts: merge DTS doc/dts_gsg/usr_guide/results.rst to DPDK",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": true,
    "hash": "04bda00c35523bfc1e7ec1ab14447f5df193b1bf",
    "submitter": {
        "id": 1626,
        "url": "http://patches.dpdk.org/api/people/1626/?format=api",
        "name": "Juraj Linkeš",
        "email": "juraj.linkes@pantheon.tech"
    },
    "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/20220406151106.2915304-21-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 22379,
            "url": "http://patches.dpdk.org/api/series/22379/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22379",
            "date": "2022-04-06T15:10:42",
            "name": "merge DTS documentation files to DPDK",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22379/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/109287/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/109287/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D5C0DA0508;\n\tWed,  6 Apr 2022 17:13:54 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 92D4142914;\n\tWed,  6 Apr 2022 17:11:40 +0200 (CEST)",
            "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by mails.dpdk.org (Postfix) with ESMTP id D9658428F0\n for <dev@dpdk.org>; Wed,  6 Apr 2022 17:11:33 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 44AFA129C28;\n Wed,  6 Apr 2022 17:11:33 +0200 (CEST)",
            "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id S7TFSfaNUd2K; Wed,  6 Apr 2022 17:11:32 +0200 (CEST)",
            "from entguard.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id 8E884184FF8;\n Wed,  6 Apr 2022 17:11:16 +0200 (CEST)"
        ],
        "X-Virus-Scanned": "amavisd-new at siecit.sk",
        "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "To": "thomas@monjalon.net, david.marchand@redhat.com,\n Honnappa.Nagarahalli@arm.com, ohilyard@iol.unh.edu, lijuan.tu@intel.com",
        "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "Subject": "[RFC PATCH v1 20/24] dts: merge DTS doc/dts_gsg/usr_guide/results.rst\n to DPDK",
        "Date": "Wed,  6 Apr 2022 15:11:02 +0000",
        "Message-Id": "<20220406151106.2915304-21-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220406151106.2915304-1-juraj.linkes@pantheon.tech>",
        "References": "<20220406151106.2915304-1-juraj.linkes@pantheon.tech>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "---\n dts/doc/dts_gsg/usr_guide/results.rst | 101 ++++++++++++++++++++++++++\n 1 file changed, 101 insertions(+)\n create mode 100644 dts/doc/dts_gsg/usr_guide/results.rst",
    "diff": "diff --git a/dts/doc/dts_gsg/usr_guide/results.rst b/dts/doc/dts_gsg/usr_guide/results.rst\nnew file mode 100644\nindex 0000000000..3ec08d86fe\n--- /dev/null\n+++ b/dts/doc/dts_gsg/usr_guide/results.rst\n@@ -0,0 +1,101 @@\n+Test Result\n+===========\n+\n+Overview\n+--------\n+\n+After DTS finished the validation, we can find the result files similar as below in output folder.\n+\n+.. code-block:: console\n+\n+   rst_report  dts.log  statistics.txt  TestHelloWorld.log  test_results.json  test_results.xls\n+\n+*   rst_report: contains the result RST file of performance data\n+*   dts.log: Full execution log of DTS framework\n+*   statstics.txt: summary statistics of DTS executed suites\n+*   TestHelloWorld.log: log message of Test suite: HelloWorld\n+*   test_result.json: json format result file\n+*   test_result.xls: excel format result file\n+\n+Statistics\n+----------\n+\n+You can go through the summary of execution result via statistic.txt. This file includes the number of passed test cases, the number of failed case, the number of blocked and pass ratio.\n+\n+Please see example as the following. You can cat the sample file, then show this information of execution, totally executed two test cases, all cases passed the criterion and no failed or blocked cases.\n+\n+.. code-block:: console\n+\n+   [root@tester output]# cat statistics.txt\n+   dpdk_version = 21.02.0\n+   Passed     = 2\n+   Failed     = 0\n+   Blocked    = 0\n+   Pass rate  = 100.0\n+\n+Details\n+-------\n+\n+DTS provides 2 formats for test results, one is json, and the other is excel.\n+If you need more detail information of test result, either of them is good to check.\n+Both of them contain case names and results, also the failure reasons.\n+\n+* JSON result: result.json\n+\n+.. code-block:: console\n+\n+    {\n+        \"192.168.1.1\": {\n+            \"dpdk_version\": \"21.02.0\",\n+            \"nic\": {\n+                \"driver\": \"vfio-pci\",\n+                \"firmware\": \"8.00 0x80008c1a 1.2766.0\",\n+                \"kdriver\": \"i40e-2.13.10\",\n+                \"name\": \"fortville_25g\"\n+            },\n+            \"x86_64-native-linuxapp-gcc\": {\n+                \"hello_world/test_hello_world_all_core\": \"passed\"\n+                \"hello_world/test_hello_world_single_core\": \"passed\"\n+            }\n+        }\n+    }\n+\n+\n+* Excel result: test_result.xls\n+\n+.. figure:: image/dts_result.png\n+\n+Logs\n+----\n+\n+If you want to track more details about the process of each suite, please go to log file which named by this suite, all related information will stored in this file.\n+\n+Please see example for TestHelloWorld suite log as the following. This log file showed that application helloworld sent hello message from core1, and finally matched the pass criterion.\n+\n+.. code-block:: console\n+\n+   31/12/2020 11:04:00                 INFO:\n+   TEST SUITE : TestHelloWorld\n+   31/12/2020 11:04:00                 INFO: NIC :       fortville_25g\n+   31/12/2020 11:04:00        SUITE_DUT_CMD: meson configure -Dexamples=helloworld x86_64-native-linuxapp-gcc\n+   31/12/2020 11:04:01        SUITE_DUT_CMD: ninja -C x86_64-native-linuxapp-gcc\n+   31/12/2020 11:04:07     SUITE_DUT_OUTPUT: ninja: Entering directory `x86_64-native-linuxapp-gcc'^M\n+     [0/1] Regenerating build files.^M\n+     The Meson build system^M\n+     Version: 0.55.3^M\n+     Source dir: /root/dpdk^M\n+     Build dir: /root/dpdk/x86_64-native-linuxapp-gcc^M\n+     Build type: native build^\n+     …\n+     Build targets in project: 998^M\n+     Found ninja-1.10.0.git.kitware.jobserver-1 at /usr/local/bin/ninja^M\n+     [1/2] Compiling C object examples/dpdk-helloworld.p/helloworld_main.c.o^M\n+     [2/2] Linking target examples/dpdk-helloworld\n+   31/12/2020 11:04:09                INFO: Test Case test_hello_world_single_core Begin\n+   31/12/2020 11:04:13       SUITE_DUT_CMD: ./x86_64-native-linuxapp-gcc/examples/dpdk-helloworld  -l 1 -n 4   --file-prefix=dpdk_10243_20201231110241\n+       SUITE_DUT_OUTPUT: EAL: Detected 72 lcore(s)^M\n+   …\n+   hello from core 1\n+   31/12/2020 11:04:15                 INFO: Test Case test_hello_world_single_core Result PASSED:\n+   31/12/2020 11:04:25                 INFO:\n+   TEST SUITE ENDED: TestHelloWorld\n",
    "prefixes": [
        "RFC",
        "v1",
        "20/24"
    ]
}