get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 42179,
    "url": "http://patches.dpdk.org/api/patches/42179/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/9ce812b5b2bb8bfc84893ac1adb4af6951715d8d.1530655929.git.gaetan.rivet@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": "<9ce812b5b2bb8bfc84893ac1adb4af6951715d8d.1530655929.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/9ce812b5b2bb8bfc84893ac1adb4af6951715d8d.1530655929.git.gaetan.rivet@6wind.com",
    "date": "2018-07-03T22:14:53",
    "name": "[v9,10/27] eal/class: add device iteration",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8ca20826eaf1b28d27d78d665e7bc429e41db545",
    "submitter": {
        "id": 269,
        "url": "http://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@6wind.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/9ce812b5b2bb8bfc84893ac1adb4af6951715d8d.1530655929.git.gaetan.rivet@6wind.com/mbox/",
    "series": [
        {
            "id": 383,
            "url": "http://patches.dpdk.org/api/series/383/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=383",
            "date": "2018-07-03T22:14:43",
            "name": "Device querying",
            "version": 9,
            "mbox": "http://patches.dpdk.org/series/383/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/42179/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/42179/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2C59D1BE89;\n\tWed,  4 Jul 2018 00:15:53 +0200 (CEST)",
            "from mail-wm0-f66.google.com (mail-wm0-f66.google.com\n\t[74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 4C0571BE70\n\tfor <dev@dpdk.org>; Wed,  4 Jul 2018 00:15:47 +0200 (CEST)",
            "by mail-wm0-f66.google.com with SMTP id v16-v6so3797683wmv.5\n\tfor <dev@dpdk.org>; Tue, 03 Jul 2018 15:15:47 -0700 (PDT)",
            "from bidouze.dev.6wind.com. (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\ti190-v6sm3771084wmd.33.2018.07.03.15.15.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 03 Jul 2018 15:15:45 -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\t:in-reply-to:references;\n\tbh=m51DksV4EXmxmvGMaTfKNA+K9/HIFbvWXpWsebu3ZoE=;\n\tb=s3gBWF9qzXVro5as+jT0kkI26AJMWJ+CEhwJOCtK/LUtZsUVUlz64O1mIpkSEsk3ts\n\t5UtxJ8XUkD47UBku9hmaR4hEQpX4GcRusQ0g9+05zHYKo1xZquntcYvgR+WsnHPK5Y0B\n\tlGGQ1tjI08q+0tHIDpXlK+AbN/j6TTtVFlKl2AY1iwouuyBibaqZKtdAy4kXs96Cis68\n\tLvddOS8Kt85MSSK/z9fIOXKZbKKjvnP3vN2Zc3a9MyvQ2DHYdNj61d65I54y6z0kxnwF\n\t1yzZd+XpXvB3Y8X8URjYJKNOZrZjfhgm4WCjYJr8iGUCeP7miWZTDmReLjG/a1AgmUDk\n\t4BKA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:in-reply-to:references;\n\tbh=m51DksV4EXmxmvGMaTfKNA+K9/HIFbvWXpWsebu3ZoE=;\n\tb=bMgIfu/sVxkJQdXnxcCJTTe8CEpn1YgYXFICKSmvEkxZebLMbOcWFNEDoAbYZRUxQI\n\tLYtVZmY713M4wm3A/CT5pkH3K77bGN/pUkIdu3pXBtw853GxqrnlAZ17+D1tNV8NtCS8\n\tF8aG9IBskWqVUTGTvz5EbMOB4nSDJISweoxNFDtem/Qif95kg7gZjdbUofLDbImq0M4B\n\toVTOeunpquWMeC4efoTezUY3Uo4jWUakOFC9eygIqKR4KQ/JsCuPjFtFyiGS/1YpH4Ex\n\t17hq18hoGmQ7OyFCHMkIvYDIE9BImzPOMM3Hq7+8Av/I7E5iynTYypit+Ome2L1TUx52\n\trG4w==",
        "X-Gm-Message-State": "APt69E2oTe+8KIchiusVso8tm/7uk8h4NKCwAIbh4V/UsluVwja25uQh\n\t6yQ8Oj036RGCvPg3gwinyEaMUjrx",
        "X-Google-Smtp-Source": "AAOMgpcIxQa7lPefhJQlvsrb2KNjmq8ZE3j04db9o2Bf8LqvUiF4g0vO4HPFOB0NGTm+s1UFH8Nqpg==",
        "X-Received": "by 2002:a1c:6f06:: with SMTP id\n\tk6-v6mr2255755wmc.1.1530656146605; \n\tTue, 03 Jul 2018 15:15:46 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Wed,  4 Jul 2018 00:14:53 +0200",
        "Message-Id": "<9ce812b5b2bb8bfc84893ac1adb4af6951715d8d.1530655929.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": [
            "<cover.1530655929.git.gaetan.rivet@6wind.com>",
            "<cover.1530655929.git.gaetan.rivet@6wind.com>"
        ],
        "References": [
            "<cover.1521124599.git.gaetan.rivet@6wind.com>\n\t<cover.1530655929.git.gaetan.rivet@6wind.com>",
            "<cover.1530655929.git.gaetan.rivet@6wind.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v9 10/27] eal/class: add device iteration",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\n---\n lib/librte_eal/common/include/rte_class.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_class.h b/lib/librte_eal/common/include/rte_class.h\nindex e8176f5e1..9d5b06807 100644\n--- a/lib/librte_eal/common/include/rte_class.h\n+++ b/lib/librte_eal/common/include/rte_class.h\n@@ -30,6 +30,7 @@ TAILQ_HEAD(rte_class_list, rte_class);\n struct rte_class {\n \tTAILQ_ENTRY(rte_class) next; /**< Next device class in linked list */\n \tconst char *name; /**< Name of the class */\n+\trte_dev_iterate_t dev_iterate; /**< Device iterator. */\n };\n \n /**\n",
    "prefixes": [
        "v9",
        "10/27"
    ]
}