get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56183,
    "url": "http://patches.dpdk.org/api/patches/56183/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1562347150-19022-1-git-send-email-fiona.trahe@intel.com/",
    "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": "<1562347150-19022-1-git-send-email-fiona.trahe@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1562347150-19022-1-git-send-email-fiona.trahe@intel.com",
    "date": "2019-07-05T17:19:10",
    "name": "test/compress: clarify out-of-space error messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "fdecd5ee9a7a4b62ad572230f247c971c8d06a04",
    "submitter": {
        "id": 423,
        "url": "http://patches.dpdk.org/api/people/423/?format=api",
        "name": "Fiona Trahe",
        "email": "fiona.trahe@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1562347150-19022-1-git-send-email-fiona.trahe@intel.com/mbox/",
    "series": [
        {
            "id": 5377,
            "url": "http://patches.dpdk.org/api/series/5377/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5377",
            "date": "2019-07-05T17:19:10",
            "name": "test/compress: clarify out-of-space error messages",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/5377/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/56183/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/56183/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 AAC471BDF5;\n\tFri,  5 Jul 2019 19:19:14 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 67F6E1BDF0\n\tfor <dev@dpdk.org>; Fri,  5 Jul 2019 19:19:13 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Jul 2019 10:19:12 -0700",
            "from sivswdev09.ir.intel.com (HELO localhost.localdomain)\n\t([10.237.217.48])\n\tby orsmga001.jf.intel.com with ESMTP; 05 Jul 2019 10:19:10 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,455,1557212400\"; d=\"scan'208\";a=\"248229956\"",
        "From": "Fiona Trahe <fiona.trahe@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "akhil.goyal@nxp.com,\n\tfiona.trahe@intel.com",
        "Date": "Fri,  5 Jul 2019 18:19:10 +0100",
        "Message-Id": "<1562347150-19022-1-git-send-email-fiona.trahe@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "Subject": "[dpdk-dev] [PATCH] test/compress: clarify out-of-space error\n\tmessages",
        "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": "Use ERR rather than INFO to warn that it's a negative test else\nthe errors are seen but the warning to expect them isn't.\nAlso add comment to make it easier to follow code.\n\nSigned-off-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n app/test/test_compressdev.c |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c\nindex cf78775..65889c2 100644\n--- a/app/test/test_compressdev.c\n+++ b/app/test/test_compressdev.c\n@@ -1870,7 +1870,7 @@ struct test_data_params {\n \tuint16_t i;\n \tconst struct rte_compressdev_capabilities *capab;\n \n-\tRTE_LOG(INFO, USER1, \"This is a negative test errors are expected\\n\");\n+\tRTE_LOG(ERR, USER1, \"This is a negative test errors are expected\\n\");\n \n \tcapab = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);\n \tTEST_ASSERT(capab != NULL, \"Failed to retrieve device capabilities\");\n@@ -1901,7 +1901,7 @@ struct test_data_params {\n \t\tRTE_COMP_OP_STATELESS,\n \t\tLB_BOTH,\n \t\tZLIB_DECOMPRESS,\n-\t\t1,\n+\t\t1,  /* run out-of-space test */\n \t\t0\n \t};\n \t/* Compress with compressdev, decompress with Zlib */\n",
    "prefixes": []
}