get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 19620,
    "url": "https://patches.dpdk.org/api/patches/19620/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1484664785-26788-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": "<1484664785-26788-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1484664785-26788-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2017-01-17T14:53:05",
    "name": "[dpdk-dev] devtools: fix lookup commit fixing a fix of many commits",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "6b66937f8a46bf7e806bc48b833b017782e028af",
    "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/1484664785-26788-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/19620/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/19620/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 D64352B83;\n\tTue, 17 Jan 2017 15:53:13 +0100 (CET)",
            "from mail-lf0-f46.google.com (mail-lf0-f46.google.com\n\t[209.85.215.46]) by dpdk.org (Postfix) with ESMTP id 204D02A62\n\tfor <dev@dpdk.org>; Tue, 17 Jan 2017 15:53:12 +0100 (CET)",
            "by mail-lf0-f46.google.com with SMTP id k86so109628659lfi.0\n\tfor <dev@dpdk.org>; Tue, 17 Jan 2017 06:53:12 -0800 (PST)",
            "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\tv2sm910311ljb.44.2017.01.17.06.53.10 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 17 Jan 2017 06:53:10 -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=q0Vl1wWsfOTq34bjJG/n6692dmVpcbq7hJXKbVDAv8Y=;\n\tb=IQXaAzrr7OwQqVypD4sEmje1YP+bwCsf8Jhv1S5dWSI1+LqWErZRRHjFUTFR4bbWQR\n\tg/pVziPjuRp6howRxKO9SECu1sRYotcuTpuCPKsaPm7AnZIuqOPgkklubkTvsbVm8ayl\n\tb6ZX4+4tBdlQJ4APm9DP28nsfeC1IS9Z2bBaMtJ2jVRpRe7wBl//ZsYM18q4yzp0Wp61\n\t5Uv6RTc9Imt9BLwT3nAdSkx5Iqcp2WzWfff0Fx3CyJLzjhVuYvb6jpkKjEiLA3cTX8Kk\n\tLJIq2BX9i8j7Hbwd0Qx4eMmQyujumCPazrXqJENIW9umH8zY6uwZuVbnysPFIMWlYxvu\n\t98bw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=q0Vl1wWsfOTq34bjJG/n6692dmVpcbq7hJXKbVDAv8Y=;\n\tb=pU+iqhzxDS49YrteH7Nwhm6PcKRB5u93Vnpy3Okc0GH3DaVD88y3aOQnOed554KGGZ\n\tw2G7Y/yLz0vtr8XjiEQV7Ks0Uae6PxQfiWI1lU8m66pgeTQvNeItz4A1xaQYqK5+sISv\n\tszZSnHqqHhyjlxx+EDqeoSnzOeS0Yi4fMichlWHfuvtTGFMFsZOTUX/fAwRxE8UZgoYB\n\t4+wYGY9bbZbLb77fyjcdp4rBpe7pEqZhgAW3dKu8a3NeaetyTuBS2rdbxlBoZA9VjLhU\n\tE6Eap3SvsO3wcuLkrOjwe6g4N33dPWKbbU1D+hjmJLafu8Q+XCWiJVCSzJVBuxsjSAte\n\tciZQ==",
        "X-Gm-Message-State": "AIkVDXIszgRdSoxdeKYZR5TTOvvvaXExhvgb5rSbrzETC03vn4MoltRaRbOJUU4Qxq2BuZI+",
        "X-Received": "by 10.25.158.147 with SMTP id h141mr6544262lfe.160.1484664791465;\n\tTue, 17 Jan 2017 06:53:11 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 17 Jan 2017 15:53:05 +0100",
        "Message-Id": "<1484664785-26788-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] devtools: fix lookup commit fixing a fix of many\n\tcommits",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <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": "There was a bug when looking at a commit fixing a commit which\nitself was fixing many commits:\n\n% devtools/git-log-fixes.sh 12ee45a36~..12ee45a36\ndevtools/git-log-fixes.sh: 96: local: 5499c1fc9baa: bad variable name\n\nIn this case, the list of commits was not quoted in variable assignment.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n devtools/git-log-fixes.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh\nindex 4824c7f..d590735 100755\n--- a/devtools/git-log-fixes.sh\n+++ b/devtools/git-log-fixes.sh\n@@ -90,7 +90,7 @@ origin_version () # <origin_hash> ...\n \t\tgit rev-parse -q --verify $1 >&- || continue\n \t\t# get version of this bug origin\n \t\tlocal origver=$(commit_version $origin)\n-\t\tlocal roothashes=$(origin_filter $origin)\n+\t\tlocal roothashes=\"$(origin_filter $origin)\"\n \t\tif [ -n \"$roothashes\" ] ; then\n \t\t\t# look chained fix of fix recursively\n \t\t\tlocal rootver=\"$(origin_version $roothashes)\"\n",
    "prefixes": [
        "dpdk-dev"
    ]
}