get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 42899,
    "url": "http://patches.dpdk.org/api/patches/42899/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/0d2e618f68d5d7f5028a26681ca67cdcdcf3b0e6.1531345404.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": "<0d2e618f68d5d7f5028a26681ca67cdcdcf3b0e6.1531345404.git.gaetan.rivet@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/0d2e618f68d5d7f5028a26681ca67cdcdcf3b0e6.1531345404.git.gaetan.rivet@6wind.com",
    "date": "2018-07-11T21:44:56",
    "name": "[v11,06/25] eal: introduce dtor macros",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8ece0550e3e9aea1857579d7b900657baeecb111",
    "submitter": {
        "id": 269,
        "url": "http://patches.dpdk.org/api/people/269/?format=api",
        "name": "Gaëtan Rivet",
        "email": "gaetan.rivet@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/0d2e618f68d5d7f5028a26681ca67cdcdcf3b0e6.1531345404.git.gaetan.rivet@6wind.com/mbox/",
    "series": [
        {
            "id": 533,
            "url": "http://patches.dpdk.org/api/series/533/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=533",
            "date": "2018-07-11T21:44:50",
            "name": "Device querying",
            "version": 11,
            "mbox": "http://patches.dpdk.org/series/533/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/42899/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/42899/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 CCEFE1B572;\n\tWed, 11 Jul 2018 23:45:51 +0200 (CEST)",
            "from mail-wr1-f51.google.com (mail-wr1-f51.google.com\n\t[209.85.221.51]) by dpdk.org (Postfix) with ESMTP id C155C1B539\n\tfor <dev@dpdk.org>; Wed, 11 Jul 2018 23:45:45 +0200 (CEST)",
            "by mail-wr1-f51.google.com with SMTP id c4-v6so6928684wrs.12\n\tfor <dev@dpdk.org>; Wed, 11 Jul 2018 14:45:45 -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\th5-v6sm10550936wrr.19.2018.07.11.14.45.43\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 11 Jul 2018 14:45:43 -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=3VDu06LFQ4J/b75N3K8Nn5QtaSeL/9dR5LnuAlbsMmA=;\n\tb=0WDhuBMDbhgjnoFi8Qoi2S+DaDvDhA9gveVqZ7YuNme7usaQ/NABwS0D2vqocftiwb\n\twut8Cu8lepPzpU6VJhQcV3l1/cf8FuDlpXATB6UqHqByhMxuvim75e2jbA5BE2duZ6fW\n\tKszqVqMvStsLmPI4WeU2VOLgJhslmjBMXqe0EbTqrsRu3KDSe8naOPDVl8yLnXTkr+/X\n\t39niUb8TylBuBsn0zZRrXq172qQVaqHYcfIg12+uHbB7ZI5qsa3fdPHB3q3Jtj1sTrbW\n\tMCpr7iPMAcQB1tAHtTh5kxR/wlDintzEsT63Bwob6Qs4XE+GUCx+x4yHOL90fChpAgZL\n\t6wuQ==",
        "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;\n\tbh=3VDu06LFQ4J/b75N3K8Nn5QtaSeL/9dR5LnuAlbsMmA=;\n\tb=bR0ZkcYe/X5+3WkcukBj/trUz0lg2jXkpZXPp9CuDWh1/8RqoQAGWspi0JFeD9N7VQ\n\tJmKTbuQuI2qcQ8OyZviANvNIls+c9zenUCesCAxnpXO3XyLvuT7kkftj7B5hDR3IgU9C\n\tHz8WZL3kX2s3oUUaZTMuNzGiJ/6t8DrnD3au+gmS9+UgMxPBII92w9r0bF7/pQ2/+riq\n\tH9nkBgikklOX8v39PZUiuGRqtoLO2A/BWCVgGGjSBTYoCMm56kDKcGQIPYg8tyvmf3xC\n\tWNEVY+ua7f2sJujt7nXneIzWa0c4wgax/hdck3Le29+TWFBu3U3d0jNlCqVVFkmv23Hp\n\tBA8A==",
        "X-Gm-Message-State": "AOUpUlHVqCYOLliHfQAs0prZBjGHSzX2sEQd3uyoB8Ppx2E4+4/2Ztz1\n\t4EYrivokNT8FyGQD3dXM+T9WtpTs",
        "X-Google-Smtp-Source": "AAOMgpeL9qnrSvLmUh42rb5iJ5lXeOTQ/HVbLtQlF7UeciqeMy4ItbuVRxluu5OYocRzyU7E3cc3ow==",
        "X-Received": "by 2002:adf:e78d:: with SMTP id\n\tn13-v6mr219281wrm.136.1531345545021; \n\tWed, 11 Jul 2018 14:45:45 -0700 (PDT)",
        "From": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Gaetan Rivet <gaetan.rivet@6wind.com>",
        "Date": "Wed, 11 Jul 2018 23:44:56 +0200",
        "Message-Id": "<0d2e618f68d5d7f5028a26681ca67cdcdcf3b0e6.1531345404.git.gaetan.rivet@6wind.com>",
        "X-Mailer": "git-send-email 2.18.0",
        "In-Reply-To": "<cover.1531345404.git.gaetan.rivet@6wind.com>",
        "References": "<cover.1531345404.git.gaetan.rivet@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v11 06/25] eal: introduce dtor macros",
        "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": "This macro adds symbols to the .fini section using the global\nRTE priorities, to ensure consistency.\n\nSigned-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>\nAcked-by: Shreyansh Jain <shreyansh.jain@nxp.com>\n---\n lib/librte_eal/common/include/rte_common.h | 23 ++++++++++++++++++++++\n 1 file changed, 23 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h\nindex 434adfd45..0dd832728 100644\n--- a/lib/librte_eal/common/include/rte_common.h\n+++ b/lib/librte_eal/common/include/rte_common.h\n@@ -111,6 +111,29 @@ static void __attribute__((constructor(RTE_PRIO(prio)), used)) func(void)\n #define RTE_INIT(func) \\\n \tRTE_INIT_PRIO(func, LAST)\n \n+/**\n+ * Run after main() with low priority.\n+ *\n+ * @param func\n+ *   Destructor function name.\n+ * @param prio\n+ *   Priority number must be above 100.\n+ *   Lowest number is the last to run.\n+ */\n+#define RTE_FINI_PRIO(func, prio) \\\n+static void __attribute__((destructor(RTE_PRIO(prio)), used)) func(void)\n+\n+/**\n+ * Run after main() with high priority.\n+ *\n+ * The destructor will be run *before* prioritized destructors.\n+ *\n+ * @param func\n+ *   Destructor function name.\n+ */\n+#define RTE_FINI(func) \\\n+\tRTE_FINI_PRIO(func, LAST)\n+\n /**\n  * Force a function to be inlined\n  */\n",
    "prefixes": [
        "v11",
        "06/25"
    ]
}