get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 14670,
    "url": "http://patches.dpdk.org/api/patches/14670/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1467972855-21873-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": "<1467972855-21873-8-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1467972855-21873-8-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-07-08T10:14:12",
    "name": "[dpdk-dev,v2,07/10] pmdinfogen: fix usage message",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "43f5d3e6e240d8bf4c4070778e6bf49cb089e96a",
    "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/1467972855-21873-8-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/14670/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/14670/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 87EDC5A7A;\n\tFri,  8 Jul 2016 12:14:29 +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 07A345A31\n\tfor <dev@dpdk.org>; Fri,  8 Jul 2016 12:14:26 +0200 (CEST)",
            "by mail-wm0-f49.google.com with SMTP id n127so9956217wme.1\n\tfor <dev@dpdk.org>; Fri, 08 Jul 2016 03:14:26 -0700 (PDT)",
            "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184])\n\tby smtp.gmail.com with ESMTPSA id d4sm8146wjb.47.2016.07.08.03.14.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 08 Jul 2016 03:14:25 -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:cc:subject:date:message-id:in-reply-to:references;\n\tbh=S/ebxvTS4qIBokIkFIzyFkJBAO2tNKO5NT6ksDGfsKU=;\n\tb=ptn6tV91lFxYcOopyH07XENxUOQqW1QVidt9sbPbWp5Yw5inLVj59Z86JmmXbuuk33\n\tsw+kgdYzQ5IcYZ0nBv6xst2an/tfQPImSOP+Xj+TjhtDn2jqelglRlanQHLiaLBKkYSo\n\t5lPerA6zDZQ5Ii7LcKn8pQBKwDkc/C/sH4uFW4nFJoyTwshlhsPphwSbmYPqMNIij1VS\n\tvIypNvH+A2U6nkLC+EdDDLa9V11HgMlgGnqPmX6MIdVd2g99CeOQgFhmudeUpHOOz5t/\n\tXYyOqpCsXJfeIBRlbAmWcPDHGopDQ7FtwQU6GEuTcD7Oe+dxjqBcFZr/7n3P94Mdd1dt\n\tXdHg==",
        "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:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=S/ebxvTS4qIBokIkFIzyFkJBAO2tNKO5NT6ksDGfsKU=;\n\tb=VQVJ0gTXqHaJGZ4ilIumf4PtqtGf8w5pai5aHBMk8M3B3MYr+EZlEAFmantqVJFxaG\n\tJd2Iqvzd0DE1SOBRrDvPz9dqGdB52tO6HhY0wQSvbOwQAVGYhxdPBAIdXGDtadvpuOnQ\n\tX+vZ7WOLV9TXoYb+41n1a9OWssTYwgC3HF+8aba9fcKrk+NwNRu1a6kSRNv2+tZrLef7\n\tDr0i6U33hb55VeUePPZmFHe1Ai57KIohxDiqQeBkB4srTvsFBXbqx4wGirPgjUKnA77E\n\tBL+WCKHEmU9YwHJy8q2UEov84ulJTTHtxWrVPtBlKrxiDbqqpz/zYCib5lE0eIDm+wuG\n\tupFQ==",
        "X-Gm-Message-State": "ALyK8tJCh7OVW5+CPB7a8UsiMIKpxb0hwC4BiyUHIl57lLcomY6Apw3IgFvSA1OIJxq81qlt",
        "X-Received": "by 10.28.41.195 with SMTP id p186mr2680197wmp.41.1467972865894; \n\tFri, 08 Jul 2016 03:14:25 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "Neil Horman <nhorman@tuxdriver.com>",
        "Cc": "dev@dpdk.org",
        "Date": "Fri,  8 Jul 2016 12:14:12 +0200",
        "Message-Id": "<1467972855-21873-8-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "In-Reply-To": "<1467972855-21873-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1467905790-10597-1-git-send-email-thomas.monjalon@6wind.com>\n\t<1467972855-21873-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v2 07/10] pmdinfogen: fix usage message",
        "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": "The name of the tool is pmdinfogen.\n\nFixes: 98b0fdb0ffc6 (\"pmdinfogen: add buildtools and pmdinfogen utility\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n buildtools/pmdinfogen/pmdinfogen.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c\nindex beb06f1..717c8d4 100644\n--- a/buildtools/pmdinfogen/pmdinfogen.c\n+++ b/buildtools/pmdinfogen/pmdinfogen.c\n@@ -398,7 +398,8 @@ int main(int argc, char **argv)\n \n \tif (argc < 3) {\n \t\tfprintf(stderr,\n-\t\t\t\"usage: pmdinfo <object file> <c output file>\\n\");\n+\t\t\t\"usage: %s <object file> <c output file>\\n\",\n+\t\t\tbasename(argv[0]));\n \t\texit(127);\n \t}\n \tparse_elf(&info, argv[1]);\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "07/10"
    ]
}