get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2985,
    "url": "https://patches.dpdk.org/api/patches/2985/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1423088604-29274-4-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": "<1423088604-29274-4-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1423088604-29274-4-git-send-email-thomas.monjalon@6wind.com",
    "date": "2015-02-04T22:23:24",
    "name": "[dpdk-dev,3/3] scripts: check wrong patterns in maintainers file",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0dc87a73d831f82173c6b003b9cdbb3c81249dad",
    "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/1423088604-29274-4-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2985/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2985/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 03B8AB3D8;\n\tWed,  4 Feb 2015 23:24:08 +0100 (CET)",
            "from mail-wg0-f51.google.com (mail-wg0-f51.google.com\n\t[74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 65134B3D4\n\tfor <dev@dpdk.org>; Wed,  4 Feb 2015 23:24:06 +0100 (CET)",
            "by mail-wg0-f51.google.com with SMTP id k14so4343248wgh.10\n\tfor <dev@dpdk.org>; Wed, 04 Feb 2015 14:24:06 -0800 (PST)",
            "from XPS13.localdomain (guy78-1-82-235-116-147.fbx.proxad.net.\n\t[82.235.116.147])\n\tby mx.google.com with ESMTPSA id q4sm5102476wiz.4.2015.02.04.14.24.04\n\tfor <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 04 Feb 2015 14:24:05 -0800 (PST)"
        ],
        "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=ViAdtcVp79bTO+4C4FI+uI6xHyxYjw+y4SE6cm3g7NQ=;\n\tb=biwkDNyw3oKU/699/UNQum9G51QOjmrP81yPz9OQLe2V0MdkY8j5YpxJE41J8HUaEe\n\tZ09+CCKra8C2mO8ohZn4qlOCTXVYISxTAnLdyEnxF+8ymVeJU4izycf+ZkWKA97RRIM0\n\tWPD6vgJ8DZL3spit/wGxv7/MyREOHgwyUStIOuOJrr+ObXCeI6TSjgaWamUrAznZm9ty\n\tc5EHJXRktWL6dqJjlra9lV3oK0Jx+lN5EhnEgQq1jm7p4GS7jEkxlFqlPWZJlweo+VlT\n\tbGGY5tUsqQU923+A76V46R0gy0Cxop1gC9wfmIW9COCgH0CpqVqyCdtpEBXgV1r7OtHB\n\th4zA==",
        "X-Gm-Message-State": "ALoCoQm2TBYbOAYLZhzX29S21mn0LfVeHeSvXOvmCQ3yxj9Jo8P9E4AhExtTSWpPSrLP0icE6/0+",
        "X-Received": "by 10.194.239.72 with SMTP id vq8mr1181174wjc.110.1423088646304; \n\tWed, 04 Feb 2015 14:24:06 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed,  4 Feb 2015 23:23:24 +0100",
        "Message-Id": "<1423088604-29274-4-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.2.2",
        "In-Reply-To": "<1423088604-29274-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1423088604-29274-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 3/3] scripts: check wrong patterns in maintainers\n\tfile",
        "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": "Each F or X pattern is checked and printed if there is no match\nwith a file in the repository.\n\nThe wildcard must be temporarily replaced to prevent from shell expansion.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/check-maintainers.sh | 20 +++++++++++++++++++-\n 1 file changed, 19 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/scripts/check-maintainers.sh b/scripts/check-maintainers.sh\nindex 2687cad..e62217e 100755\n--- a/scripts/check-maintainers.sh\n+++ b/scripts/check-maintainers.sh\n@@ -88,6 +88,20 @@ parse_fx () # <index file>\n \tdone\n }\n \n+# Check patterns in F: and X:\n+check_fx () # <index file>\n+{\n+\tIFS='\n+'\n+\tfor line in $(sed -n 's,^[FX]: ,,p' $1 | tr '*' '#') ; do\n+\t\tline=$(printf \"$line\" | tr '#' '*')\n+\t\tmatch=$(files \"$line\")\n+\t\tif [ -z \"$match\" ] ; then\n+\t\t\techo \"$line\"\n+\t\tfi\n+\tdone\n+}\n+\n # Add a line to a set of lines if it begins with right pattern\n add_line_to_if () # <new line> <lines> <head pattern>\n {\n@@ -112,6 +126,10 @@ echo '# files not listed'\n echo '##########'\n aminusb \"$all\" \"$listed\"\n \n-# TODO: check patterns that match nothing\n+echo '##########'\n+echo '# wrong patterns'\n+echo '##########'\n+check_fx MAINTAINERS\n+\n # TODO: check overlaps\n # TODO: check orphan areas\n",
    "prefixes": [
        "dpdk-dev",
        "3/3"
    ]
}