get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 11788,
    "url": "http://patches.dpdk.org/api/patches/11788/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1459268154-29558-8-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": "<1459268154-29558-8-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1459268154-29558-8-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-03-29T16:15:53",
    "name": "[dpdk-dev,7/8] scripts: hook build test config",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "38c495c995c73511d2a2be67931444b9395f9911",
    "submitter": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1459268154-29558-8-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/11788/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/11788/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 19BE658D9;\n\tTue, 29 Mar 2016 18:18:18 +0200 (CEST)",
            "from mail-wm0-f45.google.com (mail-wm0-f45.google.com\n\t[74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 08529568A\n\tfor <dev@dpdk.org>; Tue, 29 Mar 2016 18:18:12 +0200 (CEST)",
            "by mail-wm0-f45.google.com with SMTP id p65so146728090wmp.1\n\tfor <dev@dpdk.org>; Tue, 29 Mar 2016 09:18: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\tjf6sm30004635wjb.2.2016.03.29.09.18.10\n\tfor <dev@dpdk.org> (version=TLSv1/SSLv3 cipher=OTHER);\n\tTue, 29 Mar 2016 09:18: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:in-reply-to:references;\n\tbh=DcpsZfLL54IHsUWJ6SqyQMqGXDHCIWKnP4dW2zhFbi4=;\n\tb=00s3zEpIY1Vv/7xlGe5UGswg3irPbPpw52pt2gCAUlZIdMTlk3xr/TeTkSDJJFrcN5\n\tKv2xO9QPLZtqTzwu7IqV4BQ+ybBUVN+OfmfQkNWAczLm+dnoAQN+eITGrhHoRerQJkWj\n\tS8Kggi9E5g+v+8AyPzT/53di4EYhntjLGx1Ak82zDORi30JWCKcomnxgZfKw7WO5SH+h\n\tVc/sk+mLcYr7SNhy+t7J7EjAzNTzz635c/nWOBvAUmvsbwU/tj2okDHrER9983O7OVjg\n\tNrwGH35vqM8bh6XC4Jj2RHLgjteE6lG40D5sF3K6O08Pc2la8kxJvM2OiCyb5R6x72EZ\n\t05CQ==",
        "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:in-reply-to\n\t:references;\n\tbh=DcpsZfLL54IHsUWJ6SqyQMqGXDHCIWKnP4dW2zhFbi4=;\n\tb=jDuZLAooXpiXB6+2n596yyWiEJcPmCofEVSqOu+3clAoVxfFh29yQZvq5h3nGpqSLZ\n\t+hdGqRxoH/NbrDyzl0Orvn9CYTZggOz8izGbpPl7mWrg9F6rq6iiuh33bnnDL11uYBpR\n\t0AZZgWyfCkxfjgMLOYqTiatoHaasrviOCsNhDgE5nW8bCkZS5WxrI9woraplVBwNq8qx\n\tn3mLi7zRYCDb9OYuHC/JmDRbZfVibwn6EMGl2ThhyzM2d0jx0qfCHCgg9wBa78mutnoZ\n\tNltsauz4ZdgaiEsILiUaqvEVLIEXpUEJJwXHQiizbUcqBOolFU56Qe/RoRmu9KCn5OwN\n\tH6+w==",
        "X-Gm-Message-State": "AD7BkJLvRbMGWqiM5xoUWcuYz0BAba8EJudj92lEjQwZgQWwtmIM67jxDVT+dQ43KEHc2WtA",
        "X-Received": "by 10.194.84.66 with SMTP id w2mr3677737wjy.6.1459268291871;\n\tTue, 29 Mar 2016 09:18:11 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 29 Mar 2016 18:15:53 +0200",
        "Message-Id": "<1459268154-29558-8-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "In-Reply-To": "<1459268154-29558-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1459268154-29558-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 7/8] scripts: hook build test config",
        "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": "Insert a hook at the end of the config procedure, after having\nadapted the configuration to the environment variables and the options\npassed to the script.\nIt allows to better tune the automatic configuration of the build tests\nin a function located in the devel config file.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/test-build.sh | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/scripts/test-build.sh b/scripts/test-build.sh\nindex bd4b501..808e8e4 100755\n--- a/scripts/test-build.sh\n+++ b/scripts/test-build.sh\n@@ -160,6 +160,7 @@ config () # <directory> <target> <options>\n \t\tsed -ri        's,(KNI_VHOST.*=)n,\\1y,' $1/.config\n \t\tsed -ri           's,(SCHED_.*=)n,\\1y,' $1/.config\n \t\tsed -ri 's,(TEST_PMD_RECORD_.*=)n,\\1y,' $1/.config\n+\t\tbuild_config_hook $1 $2 $3\n \n \t\t# Explicit enabler/disabler (uppercase)\n \t\tfor option in $(echo $3 | sed 's,[~+], &,g') ; do\n@@ -173,6 +174,12 @@ config () # <directory> <target> <options>\n \tfi\n }\n \n+# default empty hook to override in devel config\n+build_config_hook () # <directory> <target> <options>\n+{\n+\t:\n+}\n+\n for conf in $configs ; do\n \ttarget=$(echo $conf | sed 's,[~+].*,,')\n \t# reload config with DPDK_TARGET set\n",
    "prefixes": [
        "dpdk-dev",
        "7/8"
    ]
}