get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65402,
    "url": "http://patches.dpdk.org/api/patches/65402/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200131030744.19596-4-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-4-dmitry.kozliuk@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200131030744.19596-4-dmitry.kozliuk@gmail.com",
    "date": "2020-01-31T03:07:41",
    "name": "[3/6] cmdline: use portable format attribute",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "001263ff4db2f0fb507d044271a47c9301028354",
    "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-4-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/65402/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/65402/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 02296A0524;\n\tFri, 31 Jan 2020 04:08:23 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2CAB41C0C6;\n\tFri, 31 Jan 2020 04:07:59 +0100 (CET)",
            "from mail-lj1-f175.google.com (mail-lj1-f175.google.com\n [209.85.208.175]) by dpdk.org (Postfix) with ESMTP id 8FC101C0AF\n for <dev@dpdk.org>; Fri, 31 Jan 2020 04:07:54 +0100 (CET)",
            "by mail-lj1-f175.google.com with SMTP id x14so5538264ljd.13\n for <dev@dpdk.org>; Thu, 30 Jan 2020 19:07:54 -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.53\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Jan 2020 19:07:53 -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=gxG5MVDIJU9ZSNekIBXd5nC27e5b11t9Fc+fEsEnEf0=;\n b=DgpSoheZfBJVk1mtZo809PYcWuqWoOsLmgBCGU/3Fx+zuQwhgkcPUD4pKCedRUgaq9\n 1UnIlyStTYKLBJRXb+FMz35zOLq3yG1bnY1Flr7sL9wqc3YwvAU8HVDVr5JggAY/X7y9\n VN3rNcGlyVLOIb89UxOLKoWoae23MQ3sKYynB7AG+xcGzUlYlE0W7Coaw/Z032vzBmHE\n natbulNnp+2fmCiQGq1DyOd5Qq9cvJj3JMZZp5N52aBLhktO9sZpMOV6+s8NaC2PauFO\n k9CTClC1jOODMbtC9Nwghkc7tzzY7bv0nvT2hH5twR7542Y/08X9UYjCY8pWbxBpB8fH\n n0vQ==",
        "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=gxG5MVDIJU9ZSNekIBXd5nC27e5b11t9Fc+fEsEnEf0=;\n b=c9eRiCidFqtSysnJsewI62HjQ6I/koKvMLHwGK6rPYAFrr2nSJZ8egNvBUZz/4x2B7\n /EI1vHRQ70ozXY3898MlpEwgMwd/b3mzew8rt33PnXSKwQ6YSKs/oejN0zvnG+ehmJVw\n qaPr9WqWh0AsTMcob5seh8cJhbFhlrLxMsTioqLjEgI+fZyLUOFFw4ozFfw1fek3TAz9\n TzlEpHqnsKmwH+dU5rzrezicISU8IMAyihCvBlBvfa2D2qI3P0vV3Mm6yRArz6j/ryiV\n j06NqroqEdSyBQzK+Wr/TatBVbajuaueFFZaSzQVbGW5g5MTC+p8XOFoeucMa15K2wpd\n 7OTA==",
        "X-Gm-Message-State": "APjAAAWytL18aRy9p1tPspangX2ufaejzqbURoXZ9SJNGggC5NeQmfkN\n rdm8DalAs50uoXt6StRD5co7MFdUhsUZ5A==",
        "X-Google-Smtp-Source": "\n APXvYqwoa0ru0Lxzzmaeis9oEHpz9RYr8VDLnL1EhloEmO2knmZcDAiqAM6kcTuUw3PGkZi1J7AJlg==",
        "X-Received": "by 2002:a05:651c:32b:: with SMTP id\n b11mr4647520ljp.203.1580440073951;\n Thu, 30 Jan 2020 19:07:53 -0800 (PST)",
        "From": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>,\n Olivier Matz <olivier.matz@6wind.com>",
        "Date": "Fri, 31 Jan 2020 06:07:41 +0300",
        "Message-Id": "<20200131030744.19596-4-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 3/6] cmdline: 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 output strings.\n\nSigned-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
    "diff": "diff --git a/lib/librte_cmdline/cmdline.h b/lib/librte_cmdline/cmdline.h\nindex 27d2effdf..952a50829 100644\n--- a/lib/librte_cmdline/cmdline.h\n+++ b/lib/librte_cmdline/cmdline.h\n@@ -7,6 +7,8 @@\n #ifndef _CMDLINE_H_\n #define _CMDLINE_H_\n \n+#include <rte_common.h>\n+\n #include <termios.h>\n #include <cmdline_rdline.h>\n #include <cmdline_parse.h>\n@@ -34,7 +36,7 @@ struct cmdline *cmdline_new(cmdline_parse_ctx_t *ctx, const char *prompt, int s_\n void cmdline_set_prompt(struct cmdline *cl, const char *prompt);\n void cmdline_free(struct cmdline *cl);\n void cmdline_printf(const struct cmdline *cl, const char *fmt, ...)\n-\t__attribute__((format(printf,2,3)));\n+\t__rte_format(printf, 2, 3);\n int cmdline_in(struct cmdline *cl, const char *buf, int size);\n int cmdline_write_char(struct rdline *rdl, char c);\n \n",
    "prefixes": [
        "3/6"
    ]
}