get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 14469,
    "url": "https://patches.dpdk.org/api/patches/14469/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1467287137-30964-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": "<1467287137-30964-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1467287137-30964-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-06-30T11:45:37",
    "name": "[dpdk-dev] scripts: test clean build when config have changed",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "037d75381e04bbb5276013c927116229d09143b7",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1467287137-30964-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/14469/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/14469/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 EBE622BAC;\n\tThu, 30 Jun 2016 13:46:13 +0200 (CEST)",
            "from mail-wm0-f49.google.com (mail-wm0-f49.google.com\n\t[74.125.82.49]) by dpdk.org (Postfix) with ESMTP id DD7F52BA8\n\tfor <dev@dpdk.org>; Thu, 30 Jun 2016 13:46:12 +0200 (CEST)",
            "by mail-wm0-f49.google.com with SMTP id r201so114741335wme.1\n\tfor <dev@dpdk.org>; Thu, 30 Jun 2016 04:46:12 -0700 (PDT)",
            "from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by smtp.gmail.com with ESMTPSA id\n\td137sm3446628wmd.12.2016.06.30.04.46.11 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 30 Jun 2016 04:46:11 -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=IZ3enw7rfr1MwlzciDP0g3hsSUJ4DUQ3Ton3cffLRhE=;\n\tb=xeDT6JacymctztMVZxzceyIwPyxseGH3Is6dJNQgjpJE4qNxhQyWJr+WXr1tTViuDR\n\t7z3Ir427Ylzil00E6fRZRzgfwyUzLozdtKYrwgT9+CFvttdqCVk3HaYXQhbo5KEmca3L\n\t9wmTcx4YZkdrAlasob075TtR9hX1IWMFPulljkQQG6A9PvLGMJV16yJ1ubpyg+ofbvK+\n\tUnicbmO5+cV78uYL/4tj1X8gZ8FUopgavFkASuoOiFtd8isFznv37r6dHrALQornpHH0\n\tYt6JEPmAo/n2IFD4KpQEs4/mZ7DjrZ7al4X4L5TWAzTrebH/SRW51KWvZTDAB/LSW0RA\n\tL2zA==",
        "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=IZ3enw7rfr1MwlzciDP0g3hsSUJ4DUQ3Ton3cffLRhE=;\n\tb=WVTVdNTSggesik5JdJbrYSh+XXigWyyECttiOOmcohQ1IGuwCtEESpY3B/S2x6OAM3\n\tsfDD8WERdKS5il961G+FUANe7dysada1/IZjYYRCxjrRr2r7otvEP5SVnqw9ZGr5n0Kn\n\tno+q6YU+8BNWXlZeoUlxEx1ch5ncECLjJfYJVOsqFA47ZuOLolvUUcjBjeZ2pWwPSbuu\n\t+JjPM3lFMDm/PtDjsG67mrERpDiMuhu3A2YC/HJ6h6z0tqbxz18xb5UU2qImBubK7gIq\n\t0CWQVzkYVco4ad52RRvXdb0amOTIpIfKBxisfaQnrdGgwf7KA5kbGtMLIagi61vRuZsC\n\tmJug==",
        "X-Gm-Message-State": "ALyK8tJRk9HLQZjhkko2y1PfksBmpze9ooXjVAATj7U0yS/rwRfrRARISWaKVTDfgbh7PXES",
        "X-Received": "by 10.28.147.7 with SMTP id v7mr13552693wmd.37.1467287172426;\n\tThu, 30 Jun 2016 04:46:12 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 30 Jun 2016 13:45:37 +0200",
        "Message-Id": "<1467287137-30964-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] scripts: test clean build when config have\n\tchanged",
        "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": "If there is a change in the config directory the build test\nwill refresh the tested build config to take into account new options.\nThe git working directory and the last git commit are checked for a\nchange in config/.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/test-build.sh | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/scripts/test-build.sh b/scripts/test-build.sh\nindex 24c0202..5bcecfc 100755\n--- a/scripts/test-build.sh\n+++ b/scripts/test-build.sh\n@@ -130,7 +130,12 @@ reset_env ()\n \n config () # <directory> <target> <options>\n {\n-\tif [ ! -e $1/.config ] ; then\n+\treconfig=false\n+\tif git rev-parse 2>&- && [ -n \"$(git diff HEAD~ -- config)\" ] ; then\n+\t\techo 'Default config may have changed'\n+\t\treconfig=true\n+\tfi\n+\tif [ ! -e $1/.config ] || $reconfig ; then\n \t\techo \"================== Configure $1\"\n \t\tmake T=$2 O=$1 config\n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}