get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 432,
    "url": "http://patches.dpdk.org/api/patches/432/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1411375081-27986-2-git-send-email-david.marchand@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": "<1411375081-27986-2-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1411375081-27986-2-git-send-email-david.marchand@6wind.com",
    "date": "2014-09-22T08:37:55",
    "name": "[dpdk-dev,1/7] eal: remove unused --use-device option",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e33a0eb218ddcd8ad6b9bb344f9b7e6da623eecc",
    "submitter": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1411375081-27986-2-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/432/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/432/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 43E1CAFCA;\n\tMon, 22 Sep 2014 10:32:08 +0200 (CEST)",
            "from mail-wg0-f42.google.com (mail-wg0-f42.google.com\n\t[74.125.82.42]) by dpdk.org (Postfix) with ESMTP id B21FE68FD\n\tfor <dev@dpdk.org>; Mon, 22 Sep 2014 10:32:05 +0200 (CEST)",
            "by mail-wg0-f42.google.com with SMTP id a1so2247828wgh.1\n\tfor <dev@dpdk.org>; Mon, 22 Sep 2014 01:38:08 -0700 (PDT)",
            "from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tjs2sm11522334wjc.9.2014.09.22.01.38.07 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 22 Sep 2014 01:38:08 -0700 (PDT)"
        ],
        "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=ig3E1NYUaL+yC4lbAERgXirIIyBdjJNqiTU17ozMsis=;\n\tb=InWK/sP0woOY5UXpCaASuSxkJqiwvStBvbFdcltUItb+j50Fe2igzYdLdGeiNVvJ7I\n\t1lmIfP1s+9BShiOSk429mcraPoAOoRpxLDeHOEC94Duznsh/8DgY15wIdxdT2cyYaLos\n\tBbVHsZt70bh+U8b2QFIOpZVJ1yV8cCfnkS8nmdlO2Xb0D934vetftp8vR3gM/ujIumpZ\n\tpOCXirpK8gG1i81APa4AbtWUeT3G5gWnug/GEpuLNRYy5oyeplWxbBVRhme1WeAAMQxR\n\tMKKp3JX0UDJKQwHJvLxfbihZnD88sJoHV/5vRCcAA+mUwn81bZv9rpIbA6goNhQRxMIT\n\t48PQ==",
        "X-Gm-Message-State": "ALoCoQmGNLlD9eiEhcETGVLiPX0tTtSTPW0VDIv3zPAt8kVBt8i7Z0AkIUhJFQ4GrC1sfgYZdS/C",
        "X-Received": "by 10.180.10.38 with SMTP id f6mr13675105wib.30.1411375088690;\n\tMon, 22 Sep 2014 01:38:08 -0700 (PDT)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon, 22 Sep 2014 10:37:55 +0200",
        "Message-Id": "<1411375081-27986-2-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1411375081-27986-1-git-send-email-david.marchand@6wind.com>",
        "References": "<1411375081-27986-1-git-send-email-david.marchand@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 1/7] eal: remove unused --use-device option",
        "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": "Following commit cac6d08c8bde2fdb57806c49038187cdb54219a8 and\n4bf3fe634a4d9dfce90c4167f3a47d0e2ddf1e64, this option is not available anymore.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n lib/librte_eal/bsdapp/eal/eal.c   |    7 -------\n lib/librte_eal/linuxapp/eal/eal.c |    7 -------\n 2 files changed, 14 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c\nindex 2f84742..ffdc441 100644\n--- a/lib/librte_eal/bsdapp/eal/eal.c\n+++ b/lib/librte_eal/bsdapp/eal/eal.c\n@@ -89,7 +89,6 @@\n #define OPT_NO_HUGE     \"no-huge\"\n #define OPT_FILE_PREFIX \"file-prefix\"\n #define OPT_SOCKET_MEM  \"socket-mem\"\n-#define OPT_USE_DEVICE \"use-device\"\n #define OPT_PCI_WHITELIST \"pci-whitelist\"\n #define OPT_PCI_BLACKLIST \"pci-blacklist\"\n #define OPT_VDEV        \"vdev\"\n@@ -645,12 +644,6 @@ eal_parse_args(int argc, char **argv)\n \t\t\t\t\t\t\"FreeBSD\\n\");\n \t\t\t\treturn -1;\n \t\t\t}\n-\t\t\telse if (!strcmp(lgopts[option_index].name, OPT_USE_DEVICE)) {\n-\t\t\t\tprintf(\"The --use-device option is deprecated, please use\\n\"\n-\t\t\t\t\t\"--whitelist or --vdev instead.\\n\");\n-\t\t\t\teal_usage(prgname);\n-\t\t\t\treturn -1;\n-\t\t\t}\n \t\t\telse if (!strcmp(lgopts[option_index].name, OPT_PCI_BLACKLIST)) {\n \t\t\t\tif (rte_eal_devargs_add(RTE_DEVTYPE_BLACKLISTED_PCI,\n \t\t\t\t\t\toptarg) < 0) {\ndiff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c\nindex 38cace6..633e3b8 100644\n--- a/lib/librte_eal/linuxapp/eal/eal.c\n+++ b/lib/librte_eal/linuxapp/eal/eal.c\n@@ -92,7 +92,6 @@\n #define OPT_NO_HUGE     \"no-huge\"\n #define OPT_FILE_PREFIX \"file-prefix\"\n #define OPT_SOCKET_MEM  \"socket-mem\"\n-#define OPT_USE_DEVICE  \"use-device\"\n #define OPT_PCI_WHITELIST \"pci-whitelist\"\n #define OPT_PCI_BLACKLIST \"pci-blacklist\"\n #define OPT_VDEV        \"vdev\"\n@@ -880,12 +879,6 @@ eal_parse_args(int argc, char **argv)\n \t\t\t\t\treturn -1;\n \t\t\t\t}\n \t\t\t}\n-\t\t\telse if (!strcmp(lgopts[option_index].name, OPT_USE_DEVICE)) {\n-\t\t\t\tprintf(\"The --use-device option is deprecated, please use\\n\"\n-\t\t\t\t\t\"--whitelist or --vdev instead.\\n\");\n-\t\t\t\teal_usage(prgname);\n-\t\t\t\treturn -1;\n-\t\t\t}\n \t\t\telse if (!strcmp(lgopts[option_index].name, OPT_PCI_BLACKLIST)) {\n \t\t\t\tif (rte_eal_devargs_add(RTE_DEVTYPE_BLACKLISTED_PCI,\n \t\t\t\t\t\toptarg) < 0) {\n",
    "prefixes": [
        "dpdk-dev",
        "1/7"
    ]
}