get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65401,
    "url": "http://patches.dpdk.org/api/patches/65401/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200131030744.19596-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": "<20200131030744.19596-3-dmitry.kozliuk@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200131030744.19596-3-dmitry.kozliuk@gmail.com",
    "date": "2020-01-31T03:07:40",
    "name": "[2/6] 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/20200131030744.19596-3-dmitry.kozliuk@gmail.com/mbox/",
    "series": [
        {
            "id": 8371,
            "url": "http://patches.dpdk.org/api/series/8371/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8371",
            "date": "2020-01-31T03:07:38",
            "name": "MinGW-w64 support",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8371/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/65401/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/65401/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 A1E46A0524;\n\tFri, 31 Jan 2020 04:08:10 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2E97B1C0C0;\n\tFri, 31 Jan 2020 04:07:58 +0100 (CET)",
            "from mail-lj1-f194.google.com (mail-lj1-f194.google.com\n [209.85.208.194]) by dpdk.org (Postfix) with ESMTP id 9821E1C0AC\n for <dev@dpdk.org>; Fri, 31 Jan 2020 04:07:53 +0100 (CET)",
            "by mail-lj1-f194.google.com with SMTP id y6so5627474lji.0\n for <dev@dpdk.org>; Thu, 30 Jan 2020 19:07:53 -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 e12sm3630332lfc.70.2020.01.30.19.07.52\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Jan 2020 19:07:52 -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=CcvlBJtd/EWPTS6QuDV24RBhXf5nKUwf9qYBJAGNiK8=;\n b=aAS6SRkP+waRITU/F9FGKzsPR0pMOVOycAfrDywx0aRIUaUNqcJcle65HEfKHLA21+\n di/UVUF3YCPMCP90kAWEfLLfSntyF1HXFwRUXTcjoteK9ja+L2OLmwfpwSTbRlExqwnc\n IZY6PYPwn/4h4jBOmuD4jYzSXrxESIW1RpOTYJrkGt1FkZEmVtNMY6lcklUtBshh2Hqa\n Cn+q+k0aGu8QjzsXpb4ixQ9GgrO4/eeq5pjpsYUExPeewF0Yjezih78FHwrdCP9v0CK0\n fbdO07sRUYBXtkemjMvJZx5r6RX9M92nY90WueE1FvLvB7dYfeUkuFT067Vt2RMgOyaM\n cZYw==",
        "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=CcvlBJtd/EWPTS6QuDV24RBhXf5nKUwf9qYBJAGNiK8=;\n b=shn7njLOuECSgEOMSdCMCx+uwMXnXJea2JsOJPCUX5qB35wpfRwSFHLH6nGjPAsr6u\n JgFouSX4XgsbEwRmZ1d74o46/YfHS8DntqJqpS8mM4QHmrL5jlf5EjbfOdZAaonDa0kj\n siMULibRRWDLquyqGaz6nh/dJTiov0XQk5WWuXZdfbYbxyjz7+WTSjjNmgHZQeT2z7uA\n Zf7ilhnMLHoX6NKjoLEHrFWBJ71jA2rELBWy/wp739NgPxwobT+Lt9J1VjD4FVhtyHcR\n qWwkmGPdlN+1rzHKIvnpTiZz+afpSCEqzEjgtAnd2yWxPp5vcRScW8+fy58XsQJ5v8Qo\n cbMg==",
        "X-Gm-Message-State": "APjAAAW2ToswPg3kmo8omNWLufEh9XIjEENfutx1v6jWHh2xtsZ4SO4Q\n s6SGm2va9uzSNA/Q0gvinlQ/UUJ9UzUkdg==",
        "X-Google-Smtp-Source": "\n APXvYqz735deYX2D2LzlfaYNIS4lzLXXMdzqzTc6nSnO34L599FuANTYzQ+NhLrRRdJTHd/WlG3XWA==",
        "X-Received": "by 2002:a2e:868c:: with SMTP id l12mr4659726lji.194.1580440072962;\n Thu, 30 Jan 2020 19:07:52 -0800 (PST)",
        "From": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "Date": "Fri, 31 Jan 2020 06:07:40 +0300",
        "Message-Id": "<20200131030744.19596-3-dmitry.kozliuk@gmail.com>",
        "X-Mailer": "git-send-email 2.25.0",
        "In-Reply-To": "<20200131030744.19596-1-dmitry.kozliuk@gmail.com>",
        "References": "<20200131030744.19596-1-dmitry.kozliuk@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 2/6] 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>",
    "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": [
        "2/6"
    ]
}