get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 16901,
    "url": "https://patches.dpdk.org/api/patches/16901/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1478103009-22581-1-git-send-email-thomas.monjalon@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": "<1478103009-22581-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1478103009-22581-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-11-02T16:10:09",
    "name": "[dpdk-dev] scripts: fix quiet checkpatch",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3b6659977ce7cb50bbb2db8a6ac9851e9bf305bf",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1478103009-22581-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/16901/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/16901/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 7D0EA2B98;\n\tWed,  2 Nov 2016 17:10:23 +0100 (CET)",
            "from mail-wm0-f42.google.com (mail-wm0-f42.google.com\n\t[74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 201ED11D9\n\tfor <dev@dpdk.org>; Wed,  2 Nov 2016 17:10:20 +0100 (CET)",
            "by mail-wm0-f42.google.com with SMTP id p190so278537088wmp.1\n\tfor <dev@dpdk.org>; Wed, 02 Nov 2016 09:10:20 -0700 (PDT)",
            "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\t132sm4030636wmn.16.2016.11.02.09.10.19 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 02 Nov 2016 09:10:19 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:subject:date:message-id;\n\tbh=lxw4zcJ0P9jQQmhmNCQ/caB1wL068j2gMnAcfvq5E3E=;\n\tb=QsHhFD90I66+yNjFKtJPu4i5WFvqUYCzy/VkkoGfIVbpUF8ARR2lzHBZQ9Fy6Kqp6n\n\tA7qaak+vPcXFmEwdLGB9fAS577U9Ess28rggMXvB/++10eBSJ1dJWRE9+3XeEpjVCS4B\n\tM8lm96wHsYA5OBOrsHXOxxC9gpXgZglggeMkSw+5oizdM+xl8Meb7titGQJxiKuR/jpO\n\tcHc8rxb7w1mhM83JnZGbccD0TBvPZ3DYlI1tu0SAM9EW4gwJsqtf/roO1xXOqOB3tbsA\n\trlCKxaPbrYLjBCt81E/qW8oYmU97GldM0oCsiBSS03LbEH0U3P7M6F4KIvGhItqOZ1o2\n\tkTFA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=lxw4zcJ0P9jQQmhmNCQ/caB1wL068j2gMnAcfvq5E3E=;\n\tb=agt6VKAqZPYeR7gtyCoo71G2lj5COPy7gm71ESeqG4fRNSSfWcH3RPUJzyHlurB8cc\n\tKjRYQsAcysjg4ECtgy/MH8n/mapv3YuY/QNaoNKHt3rxepy6c7Ly0eHnMdSmmVbHpAk0\n\tryqBbylmbxf0Hy2gWRsrU8WwarPxVUrzs/2F6PdlwZEfZ0keFXO0LBYDc5rwX9D1v4x7\n\tgmBdDhq+5RXx/jkauim49U3IXWlIULo3U1iWs4bm/WWlGFprsyN2NoluwfZN4fnPX3et\n\tSgW+Npq8Gi4aoLY+UfZTpMteChfwzcz+HMxJE1pnHqYDazicDOrsVO8o1xzVGXvKmblZ\n\tHhZQ==",
        "X-Gm-Message-State": "ABUngvf7RrSvTZsptb2aNIBPgY9Jr/rHxZXW+BMvlwaiW/ukSWttqqMHIbKXPG9xDhXQ+bZ/",
        "X-Received": "by 10.195.9.199 with SMTP id du7mr4581394wjd.40.1478103020375;\n\tWed, 02 Nov 2016 09:10:20 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed,  2 Nov 2016 17:10:09 +0100",
        "Message-Id": "<1478103009-22581-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] scripts: fix quiet checkpatch",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The commit e13fbc065c7f (\"scripts: improve quiet checkpatch\")\nremoved the line \"total: 1 errors, 0 warnings, 7 lines checked\"\nfrom the quiet report.\nLater, commit e7c38f471384 (\"scripts: remove useless checkpatch notes\")\nremoved few lines before \"total:.*lines checked\", so it was not working\nwell for quiet reporting.\n\nBetter to keep the \"total:\" line in quiet mode and remove the other ones.\nThat's why the checkpatch.pl option --no-summary is not used anymore\nby reverting the commit \"improve quiet checkpatch\".\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/checkpatches.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh\nindex 622a5b6..5286fe6 100755\n--- a/scripts/checkpatches.sh\n+++ b/scripts/checkpatches.sh\n@@ -64,7 +64,7 @@ verbose=false\n while getopts hn:qv ARG ; do\n \tcase $ARG in\n \t\tn ) number=$OPTARG ;;\n-\t\tq ) quiet=true && options=\"$options --no-summary\" ;;\n+\t\tq ) quiet=true ;;\n \t\tv ) verbose=true ;;\n \t\th ) print_usage ; exit 0 ;;\n \t\t? ) print_usage ; exit 1 ;;\n",
    "prefixes": [
        "dpdk-dev"
    ]
}