get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 67261,
    "url": "https://patches.dpdk.org/api/patches/67261/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200327080955.19571-3-olivier.matz@6wind.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20200327080955.19571-3-olivier.matz@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200327080955.19571-3-olivier.matz@6wind.com",
    "date": "2020-03-27T08:09:54",
    "name": "[v2,2/3] tests/kvargs: fix check of invalid cases",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8151fdd3a7ea5d6b8d3ea6466f19959399378167",
    "submitter": {
        "id": 8,
        "url": "https://patches.dpdk.org/api/people/8/?format=api",
        "name": "Olivier Matz",
        "email": "olivier.matz@6wind.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200327080955.19571-3-olivier.matz@6wind.com/mbox/",
    "series": [
        {
            "id": 9072,
            "url": "https://patches.dpdk.org/api/series/9072/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9072",
            "date": "2020-03-27T08:09:53",
            "name": "kvargs fixes",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/9072/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/67261/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/67261/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id BB9A5A057C;\n\tFri, 27 Mar 2020 09:11:08 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 197E71C0B1;\n\tFri, 27 Mar 2020 09:10:51 +0100 (CET)",
            "from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com\n [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 4042B1C029;\n Fri, 27 Mar 2020 09:10:46 +0100 (CET)",
            "from glumotte.dev.6wind.com. (unknown [10.16.0.195])\n by proxy.6wind.com (Postfix) with ESMTP id 19E7E3B1DF4;\n Fri, 27 Mar 2020 09:10:46 +0100 (CET)"
        ],
        "From": "Olivier Matz <olivier.matz@6wind.com>",
        "To": "wangyunjian@huawei.com",
        "Cc": "dev@dpdk.org, jerry.lilijun@huawei.com, olivier.matz@6wind.com,\n stable@dpdk.org, xudingke@huawei.com",
        "Date": "Fri, 27 Mar 2020 09:09:54 +0100",
        "Message-Id": "<20200327080955.19571-3-olivier.matz@6wind.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200327080955.19571-1-olivier.matz@6wind.com>",
        "References": "<1584592680-14000-1-git-send-email-wangyunjian@huawei.com>\n <20200327080955.19571-1-olivier.matz@6wind.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 2/3] tests/kvargs: fix check of invalid 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 <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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The return was not properly placed, and only the first test case\nwas validated.\n\nFixes: e495f5435524 (\"kvargs: add test case in app/test\")\nCc: stable@dpdk.org\n\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n app/test/test_kvargs.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test_kvargs.c b/app/test/test_kvargs.c\nindex d3db88a57..f823b771f 100644\n--- a/app/test/test_kvargs.c\n+++ b/app/test/test_kvargs.c\n@@ -230,8 +230,8 @@ static int test_invalid_kvargs(void)\n \t\t\trte_kvargs_free(kvlist);\n \t\t\tgoto fail;\n \t\t}\n-\t\treturn 0;\n \t}\n+\treturn 0;\n \n  fail:\n \tprintf(\"while processing <%s>\", *args);\n",
    "prefixes": [
        "v2",
        "2/3"
    ]
}