get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 17172,
    "url": "http://patches.dpdk.org/api/patches/17172/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1479768161-6123-1-git-send-email-thomas.monjalon@6wind.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": "<1479768161-6123-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1479768161-6123-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-11-21T22:42:41",
    "name": "[dpdk-dev] scripts: fix checkpatch from standard input",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4a76f06de14d1296ea31b3d2e7f3ceed51210f67",
    "submitter": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "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/1479768161-6123-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/17172/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/17172/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 DA5232A5D;\n\tMon, 21 Nov 2016 23:43:07 +0100 (CET)",
            "from mail-wm0-f46.google.com (mail-wm0-f46.google.com\n\t[74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 64D4F29D6\n\tfor <dev@dpdk.org>; Mon, 21 Nov 2016 23:43:06 +0100 (CET)",
            "by mail-wm0-f46.google.com with SMTP id g23so7123828wme.1\n\tfor <dev@dpdk.org>; Mon, 21 Nov 2016 14:43:06 -0800 (PST)",
            "from XPS13.localdomain (guy78-1-82-235-116-147.fbx.proxad.net.\n\t[82.235.116.147]) by smtp.gmail.com with ESMTPSA id\n\tv202sm21946257wmv.8.2016.11.21.14.43.02 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 21 Nov 2016 14:43:02 -0800 (PST)"
        ],
        "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=fCx55luXamQwpoSNneCADtDYFKaYq2DP0lqZV5kK8hk=;\n\tb=scOacqc2idgqvoR/m5CCDUOiyB7hca4FCINXrF5xXQcmOFmJ/HvDt6FZgDblVMC8oJ\n\tFwXGC0zTreIPfFGQC2bGkmNzOXYJ+fa1qW01t9MJ2tmy9yk1g07zao4QGIZneoZ78QX7\n\tS/pFAuCxASUITHtfpbBB3GTQG7a27Y2zfN8a7qOlGTZS+scR+zgDtdluwAsM+JKKMLRV\n\t/WY3OLnh+oDWYLcbgt0HJR5+Fm/03uhqPefrPSDDC7eFtD2lnVD5Mjl6ORUOiYWWNrat\n\tkmaIqQ9OPRjx9pVvYB/L9Mq2RvUw964S5VWLMAwB4Mlh6FJGNqH7UL/nPHTpH8PQzHVA\n\tK4OQ==",
        "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=fCx55luXamQwpoSNneCADtDYFKaYq2DP0lqZV5kK8hk=;\n\tb=c5dFze6yHqwocZUZZXKMWdllcukQzV3DZ6VCCgsabCZlQHSUyz20/hnfqDhW1J5Ow1\n\tTMEXlR4MB3s98BtRwZ+JLKn3jb/F/HH5Wvhz9MMCZkchJmqD4jUoYSTJ2QCLYNHO5JbI\n\tB7E65tGd1KszbGCODpRbnyqY0MDxqBeMtiUuYMyrpct9TisDwfBdzNIC6XB+zNv6b1ei\n\t1TOCIbxlEsV5JYJddnaBDNcXmQmCkm2al199AiX2nTOjpF6RcDPlZ++YwNIi10zXnngl\n\tICUXFStIhmtmASXMf1W34Fa/b+EZ5KSmbnRgfa8xW3bBhCuaCAAI4t2E6+x7e8qKDno4\n\tIJaA==",
        "X-Gm-Message-State": "AKaTC02D1gz6Imd2FQ86gipN1/v62Suu5aUZVCvR1mD3RozFD0TNzTE97njC3BV8dmO6V5Ar",
        "X-Received": "by 10.28.6.203 with SMTP id 194mr17353490wmg.16.1479768183733;\n\tMon, 21 Nov 2016 14:43:03 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 21 Nov 2016 23:42:41 +0100",
        "Message-Id": "<1479768161-6123-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] scripts: fix checkpatch from standard input",
        "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": "When checking a valid patch from standard input,\nthe footer lines of the report are not filtered out.\n\nThe function check is called outside of any loop,\nso the statement continue has no effect and the footer is printed.\n\nFixes: 8005feef421d (\"scripts: add standard input to 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 336cc7b..cfe262b 100755\n--- a/scripts/checkpatches.sh\n+++ b/scripts/checkpatches.sh\n@@ -94,7 +94,7 @@ check () { # <patch> <commit> <title>\n \telse\n \t\treport=$($DPDK_CHECKPATCH_PATH $options - 2>/dev/null)\n \tfi\n-\t[ $? -ne 0 ] || continue\n+\t[ $? -ne 0 ] || return 0\n \t$verbose || printf '\\n### %s\\n\\n' \"$3\"\n \tprintf '%s\\n' \"$report\" | sed -n '1,/^total:.*lines checked$/p'\n \tstatus=$(($status + 1))\n",
    "prefixes": [
        "dpdk-dev"
    ]
}