get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43072,
    "url": "http://patchwork.dpdk.org/api/patches/43072/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1531498808-21940-10-git-send-email-reshma.pattan@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1531498808-21940-10-git-send-email-reshma.pattan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1531498808-21940-10-git-send-email-reshma.pattan@intel.com",
    "date": "2018-07-13T16:20:07",
    "name": "[v2,09/10] autotest: update result for skipped test cases",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "98fce3e91937eebb282539c829517beaff80ff49",
    "submitter": {
        "id": 70,
        "url": "http://patchwork.dpdk.org/api/people/70/?format=api",
        "name": "Pattan, Reshma",
        "email": "reshma.pattan@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1531498808-21940-10-git-send-email-reshma.pattan@intel.com/mbox/",
    "series": [
        {
            "id": 37,
            "url": "http://patchwork.dpdk.org/api/series/37/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=37",
            "date": "2018-06-07T21:01:54",
            "name": "Make unit tests great again",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/37/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/43072/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/43072/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 037494C8B;\n\tFri, 13 Jul 2018 18:21:14 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id AAA78324B;\n\tFri, 13 Jul 2018 18:21:09 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Jul 2018 09:21:07 -0700",
            "from sivswdev02.ir.intel.com (HELO localhost.localdomain)\n\t([10.237.217.46])\n\tby fmsmga008.fm.intel.com with ESMTP; 13 Jul 2018 09:20:24 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,348,1526367600\"; d=\"scan'208\";a=\"54823990\"",
        "From": "Reshma Pattan <reshma.pattan@intel.com>",
        "To": "thomas@monjalon.net,\n\tdev@dpdk.org",
        "Cc": "anatoly.burakov@intel.com, jananeex.m.parthasarathy@intel.com,\n\tstable@dpdk.org, Reshma Pattan <reshma.pattan@intel.com>",
        "Date": "Fri, 13 Jul 2018 17:20:07 +0100",
        "Message-Id": "<1531498808-21940-10-git-send-email-reshma.pattan@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": "<cover.1528404133.git.anatoly.burakov@intel.com>",
        "References": "<cover.1528404133.git.anatoly.burakov@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 09/10] autotest: update result for skipped\n\ttest cases",
        "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": "Fixed in autotest_test_funcs.py to handle test cases\nwhich returns \"Skipped\" as result.\nThe issue was skipped test cases got timed out,\ncausing delay in autotests execution.\n\nCc: stable@dpdk.org\n\nSigned-off-by: Jananee Parthasarathy <jananeex.m.parthasarathy@intel.com>\nSigned-off-by: Reshma Pattan <reshma.pattan@intel.com>\n---\n test/test/autotest_test_funcs.py | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/test/test/autotest_test_funcs.py b/test/test/autotest_test_funcs.py\nindex 65fe33539..219c20828 100644\n--- a/test/test/autotest_test_funcs.py\n+++ b/test/test/autotest_test_funcs.py\n@@ -1,5 +1,5 @@\n # SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n+# Copyright(c) 2010-2018 Intel Corporation\n \n # Test functions\n \n@@ -12,12 +12,14 @@\n def default_autotest(child, test_name):\n     child.sendline(test_name)\n     result = child.expect([\"Test OK\", \"Test Failed\",\n-                           \"Command not found\", pexpect.TIMEOUT], timeout=900)\n+                           \"Command not found\", \"Skipped\", pexpect.TIMEOUT], timeout=900)\n     if result == 1:\n         return -1, \"Fail\"\n     elif result == 2:\n         return -1, \"Fail [Not found]\"\n     elif result == 3:\n+        return -1, \"Fail [Test returns Skipped]\"\n+    elif result == 4:\n         return -1, \"Fail [Timeout]\"\n     return 0, \"Success\"\n \n",
    "prefixes": [
        "v2",
        "09/10"
    ]
}