get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65610,
    "url": "http://patches.dpdk.org/api/patches/65610/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200206064426.45697-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": "<20200206064426.45697-4-dmitry.kozliuk@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200206064426.45697-4-dmitry.kozliuk@gmail.com",
    "date": "2020-02-06T06:44:22",
    "name": "[v2,3/7] 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/20200206064426.45697-4-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/65610/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/65610/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 D75F6A04FA;\n\tThu,  6 Feb 2020 07:45:11 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1A1C21C07D;\n\tThu,  6 Feb 2020 07:44:45 +0100 (CET)",
            "from mail-lf1-f65.google.com (mail-lf1-f65.google.com\n [209.85.167.65]) by dpdk.org (Postfix) with ESMTP id 84B541BFFB\n for <dev@dpdk.org>; Thu,  6 Feb 2020 07:44:41 +0100 (CET)",
            "by mail-lf1-f65.google.com with SMTP id v201so3257265lfa.11\n for <dev@dpdk.org>; Wed, 05 Feb 2020 22:44:41 -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.40\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 05 Feb 2020 22:44:40 -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=Ex7yw1lQczP0ITUnFepv3CVHMb3h+CZosEwIOZGlzcM=;\n b=rcyhv89WWWZGiEkyG5BrbkT+CcrqFWLYpT9aZDVEbuTgQctHRGLWJ9rofblgAFjLeN\n MGctUOb5YXOGWsoYit5UaY0b+NZfprAnXK8t/u6UeHg2G3d+NgumKsWl9Ap+h7vsifrn\n gX++P8rUc+8PwMQTeohZRcTk66ZgSmxf321gvPkBdbrWaFl3aHDial8tQoHHwdYv51vb\n DJ/pBy+ZoAuHBh3G73FHY9NbHhHqZEFd9xJPslPRB/cxwQn/QgKu9f1+Y82E2N8iQ4+A\n pYGsUKxubF3zGWkXXEuclveOO7okGsjfdEKeGM55UTe0JfDnbzOBdHf2A9Tl+Bj57OUF\n kahA==",
        "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=Ex7yw1lQczP0ITUnFepv3CVHMb3h+CZosEwIOZGlzcM=;\n b=ESOakGBvexr2ZuIRb0dlWkwws64A8f/b4J9m1oT2VpQPSp0EVmg1itT1d/hMyu3r6N\n TOxTUFdmEpXX6Jx8cohavDKIPWfo9htTn1nQEqP2YbY5H7Hr20dyxGLFzYEjgLXk0SUC\n 8tPa3QFb8zo3M7kF2G79iuhTR6OkiQvtNzgT67iuvhiz91Q2dXKmdkl2Nu1G70dVCbO5\n m5ZBq6BXYK4FHz1g86iLBKi0ugWHt65XdbhSyY56e50V3j3FMQzJC9qsnd0Jpwa8kSRo\n A5FX1na16gFx4OLlzgXoovkrmskWF/VB0ke78p5AWlTYF0qhVDjItRRxakU7IOuAeWmt\n tFbw==",
        "X-Gm-Message-State": "APjAAAW23hRWZ6zqUm0eSpLZ1+lEgxk164hEvD2BmJkohcGpWizU7vDx\n u/wO210oUXwKDxtJL7tW+7F+w5G1nT8=",
        "X-Google-Smtp-Source": "\n APXvYqwpkK5wCFcfsl/1ArssjmFgfSFTVjhXI5BYL1aX2bbtzhudqUNXDox5UxvMTnqYfpaxQrc6hQ==",
        "X-Received": "by 2002:a19:c014:: with SMTP id q20mr947312lff.208.1580971480890;\n Wed, 05 Feb 2020 22:44:40 -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": "Thu,  6 Feb 2020 09:44:22 +0300",
        "Message-Id": "<20200206064426.45697-4-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 3/7] 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>\n---\n lib/librte_cmdline/cmdline.h | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "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": [
        "v2",
        "3/7"
    ]
}