get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65609,
    "url": "http://patches.dpdk.org/api/patches/65609/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200206064426.45697-3-dmitry.kozliuk@gmail.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": "<20200206064426.45697-3-dmitry.kozliuk@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200206064426.45697-3-dmitry.kozliuk@gmail.com",
    "date": "2020-02-06T06:44:21",
    "name": "[v2,2/7] eal: use portable format attribute",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7e706d299f961a7e5790fcf36ed74e9883606e9e",
    "submitter": {
        "id": 1581,
        "url": "http://patches.dpdk.org/api/people/1581/?format=api",
        "name": "Dmitry Kozlyuk",
        "email": "dmitry.kozliuk@gmail.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/20200206064426.45697-3-dmitry.kozliuk@gmail.com/mbox/",
    "series": [
        {
            "id": 8442,
            "url": "http://patches.dpdk.org/api/series/8442/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8442",
            "date": "2020-02-06T06:44:19",
            "name": "MinGW-w64 support",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/8442/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/65609/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/65609/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 52AF0A04FA;\n\tThu,  6 Feb 2020 07:45:00 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8CA9D1C025;\n\tThu,  6 Feb 2020 07:44:43 +0100 (CET)",
            "from mail-lj1-f173.google.com (mail-lj1-f173.google.com\n [209.85.208.173]) by dpdk.org (Postfix) with ESMTP id 7BB291BFAA\n for <dev@dpdk.org>; Thu,  6 Feb 2020 07:44:40 +0100 (CET)",
            "by mail-lj1-f173.google.com with SMTP id d10so4860976ljl.9\n for <dev@dpdk.org>; Wed, 05 Feb 2020 22:44:40 -0800 (PST)",
            "from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru.\n [37.110.65.23])\n by smtp.googlemail.com with ESMTPSA id o19sm939669lji.54.2020.02.05.22.44.39\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 05 Feb 2020 22:44:39 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=onHpZxFRZr6ufes+hi2kn4mm+vpbAuHtSS11alSU2xk=;\n b=N75lKsVrrctkz6LuE0ZCoYXt6tWEbPuWUbxromxHX4JSufogv4uEJdmg10YBvQB7Ko\n 1jEhBys6iOw6JOWd8JeUtxHOG02bb5vmvmHahNGIE1hn+Xlvim48uXJQUZaCgazuqc+9\n OcJSK6Ja2lkPdU7yTlB8fCu8PNur9LWyPB886ugtr4YniYX0LPdhf5QW3Bx6HwfcTgYt\n MH0afgF8yH+hnEj+x4mlNTTU93mn2QUsFJ/lqCxt9xDoZgt3amgcdXw+Y/3ExOkUps1A\n QOJI0GCI6hpMy4e1SFBB7uM3JBx1NpbU+8KLnANzKR/NSP92K0yEpaGSoMYQUwc1/EqJ\n 8KVA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=onHpZxFRZr6ufes+hi2kn4mm+vpbAuHtSS11alSU2xk=;\n b=lLGT9vkcX1yS7yieRyN0XZ0JjDNqnUwE/Fp5C1Rj/9CJTFFrvhQENz87MKqAyzMghE\n EC2AgSsO0TCH3YGKlHxcpLdKUyB4BBOqrq15b/aoGSpDuQRvcelInbyWs1FHOlfy0cJU\n /Ai8PNXc+t51/3lDsLiw+oQpSQiWdowDepZgdbE4s6K2NUwRMH0NtHdi8h9aImYukcul\n EDNJnByDCP6InBb4Mv7u37o1xTUCErNgKGU6KtOhPfACC7I719mrmn0l2wX79L85euDJ\n ghyZd3/Olg/byeyA69RO9eEbxIfTFwXJTpSrC/KthX4ctz4qzcI/94Td0SIcLtuT2RXF\n 4NsA==",
        "X-Gm-Message-State": "APjAAAUqi85V7aB6kxd2GxdIA8Ho2Xb+43zVao7YtaQgQvovu83vFPjB\n L6v657+H/djmrZmLIiN1EjWncQFq/2w=",
        "X-Google-Smtp-Source": "\n APXvYqxwh+oVKm/9guCdFRCfstDuEWjdZGD0fp82neVGdil2MbbO+1iHw5ka3BBvTvLYKx1IC0MUPg==",
        "X-Received": "by 2002:a2e:9d89:: with SMTP id c9mr1097689ljj.212.1580971479843;\n Wed, 05 Feb 2020 22:44:39 -0800 (PST)",
        "From": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "Date": "Thu,  6 Feb 2020 09:44:21 +0300",
        "Message-Id": "<20200206064426.45697-3-dmitry.kozliuk@gmail.com>",
        "X-Mailer": "git-send-email 2.25.0",
        "In-Reply-To": "<20200206064426.45697-1-dmitry.kozliuk@gmail.com>",
        "References": "<20200206064426.45697-1-dmitry.kozliuk@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 2/7] eal: use portable format attribute",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Use portable format attribute for logging and panic messages.\n\nSigned-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>\n---\n lib/librte_eal/common/include/rte_common.h  | 2 +-\n lib/librte_eal/common/include/rte_debug.h   | 2 +-\n lib/librte_eal/common/include/rte_devargs.h | 2 +-\n lib/librte_eal/common/include/rte_log.h     | 4 ++--\n 4 files changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h\nindex 2f086bb9c..dc406ce27 100644\n--- a/lib/librte_eal/common/include/rte_common.h\n+++ b/lib/librte_eal/common/include/rte_common.h\n@@ -799,7 +799,7 @@ rte_str_to_size(const char *str)\n void\n rte_exit(int exit_code, const char *format, ...)\n \t__attribute__((noreturn))\n-\t__attribute__((format(printf, 2, 3)));\n+\t__rte_format(printf, 2, 3);\n \n #ifdef __cplusplus\n }\ndiff --git a/lib/librte_eal/common/include/rte_debug.h b/lib/librte_eal/common/include/rte_debug.h\nindex 748d32c80..c47c6bcdc 100644\n--- a/lib/librte_eal/common/include/rte_debug.h\n+++ b/lib/librte_eal/common/include/rte_debug.h\n@@ -73,7 +73,7 @@ void __rte_panic(const char *funcname , const char *format, ...)\n #endif\n #endif\n \t__attribute__((noreturn))\n-\t__attribute__((format(printf, 2, 3)));\n+\t__rte_format(printf, 2, 3);\n \n #ifdef __cplusplus\n }\ndiff --git a/lib/librte_eal/common/include/rte_devargs.h b/lib/librte_eal/common/include/rte_devargs.h\nindex 882dfa0ab..4418e02f2 100644\n--- a/lib/librte_eal/common/include/rte_devargs.h\n+++ b/lib/librte_eal/common/include/rte_devargs.h\n@@ -137,7 +137,7 @@ rte_devargs_parse(struct rte_devargs *da, const char *dev);\n int\n rte_devargs_parsef(struct rte_devargs *da,\n \t\t   const char *format, ...)\n-__attribute__((format(printf, 2, 0)));\n+__rte_format(printf, 2, 0);\n \n /**\n  * Insert an rte_devargs in the global list.\ndiff --git a/lib/librte_eal/common/include/rte_log.h b/lib/librte_eal/common/include/rte_log.h\nindex 1bb0e6694..823efea4e 100644\n--- a/lib/librte_eal/common/include/rte_log.h\n+++ b/lib/librte_eal/common/include/rte_log.h\n@@ -282,7 +282,7 @@ int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)\n \t__attribute__((cold))\n #endif\n #endif\n-\t__attribute__((format(printf, 3, 4)));\n+\t__rte_format(printf, 3, 4);\n \n /**\n  * Generates a log message.\n@@ -311,7 +311,7 @@ int rte_log(uint32_t level, uint32_t logtype, const char *format, ...)\n  *   - Negative on error.\n  */\n int rte_vlog(uint32_t level, uint32_t logtype, const char *format, va_list ap)\n-\t__attribute__((format(printf,3,0)));\n+\t__rte_format(printf, 3, 0);\n \n /**\n  * Generates a log message.\n",
    "prefixes": [
        "v2",
        "2/7"
    ]
}