get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 101008,
    "url": "http://patches.dpdk.org/api/patches/101008/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/65d6e703fa474bc6c2396462511a2126dc05e736.1633949496.git.gmuthukrishn@marvell.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": "<65d6e703fa474bc6c2396462511a2126dc05e736.1633949496.git.gmuthukrishn@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/65d6e703fa474bc6c2396462511a2126dc05e736.1633949496.git.gmuthukrishn@marvell.com",
    "date": "2021-10-11T10:54:43",
    "name": "[v6] telemetry: remove limitation on JSON output buffer length",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "273b73bec8ede75660219ad2bee9563d33a03817",
    "submitter": {
        "id": 2301,
        "url": "http://patches.dpdk.org/api/people/2301/?format=api",
        "name": "Gowrishankar Muthukrishnan",
        "email": "gmuthukrishn@marvell.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/65d6e703fa474bc6c2396462511a2126dc05e736.1633949496.git.gmuthukrishn@marvell.com/mbox/",
    "series": [
        {
            "id": 19515,
            "url": "http://patches.dpdk.org/api/series/19515/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19515",
            "date": "2021-10-11T10:54:43",
            "name": "[v6] telemetry: remove limitation on JSON output buffer length",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/19515/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/101008/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/101008/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E723EA034F;\n\tMon, 11 Oct 2021 12:54:55 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6AF2D410D7;\n\tMon, 11 Oct 2021 12:54:55 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 0661F40E50\n for <dev@dpdk.org>; Mon, 11 Oct 2021 12:54:53 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id\n 19ANw6Vo004910;\n Mon, 11 Oct 2021 03:54:53 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com with ESMTP id 3bmaa5sy08-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Mon, 11 Oct 2021 03:54:52 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Mon, 11 Oct 2021 03:54:51 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Mon, 11 Oct 2021 03:54:51 -0700",
            "from localhost.localdomain (unknown [10.28.34.38])\n by maili.marvell.com (Postfix) with ESMTP id F28223F707E;\n Mon, 11 Oct 2021 03:54:48 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=zb1XAEdZibgSzY7DXVysg0mSAN79H/AL7/fqr9Zjw0A=;\n b=PDIfJ80/0iddo8ETEVjscAl0FUEOqtohKXuc9vcP+kZNubjuyV0HS9tIcAsjq/mo9n2T\n +nYPq7jUHuTV3Y2p0XcXnl7L/kbmZ2okgCdWLa5v2qpE4MjKnCOj0ZE0w0DTtyr6AgXO\n hOlA7+nsREJvL4oBxyVrV8vTE24n+uoUxopqcGcm0og2TvBGZhaB5Bf+jCmPYMsaVujq\n KBx711C7rI56AfESroz4IYP7+8ATqhSGil0aBDhrDSXz9Dew/hsmeSh+yGIqqZrbqVYH\n 8/Xe7O+HBwffdwBGSv1vwkwAhi4zZMR41DtiHjdQ/oCqAxACqkI6Cj9lNFT3LB8CzCFV jw==",
        "From": "Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<bruce.richardson@intel.com>, <ciara.power@intel.com>,\n <jerinj@marvell.com>, Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>",
        "Date": "Mon, 11 Oct 2021 16:24:43 +0530",
        "Message-ID": "\n <65d6e703fa474bc6c2396462511a2126dc05e736.1633949496.git.gmuthukrishn@marvell.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "\n <d9c65d72921cf154235316bd21782dd16efb6cb0.1632888483.git.gmuthukrishn@marvell.com>",
        "References": "\n <d9c65d72921cf154235316bd21782dd16efb6cb0.1632888483.git.gmuthukrishn@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "wWoeo2R_uaZiwWrWM6xa1hionHUpkHyc",
        "X-Proofpoint-ORIG-GUID": "wWoeo2R_uaZiwWrWM6xa1hionHUpkHyc",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-10-11_03,2021-10-07_02,2020-04-07_01",
        "Subject": "[dpdk-dev] [v6] telemetry: remove limitation on JSON output buffer\n length",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "Earlier, JSON message length was limited to 1024 which would not\nallow data more than this size. Removed this limitation by creating\noutput buffer based on requested data length.\n\nFixes: 52af6ccb2b39 (\"telemetry: add utility functions for creating JSON\")\n\nSigned-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>\n---\nv6:\n - rephrased the commit header and message.\n---\n lib/telemetry/telemetry_json.h | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/telemetry/telemetry_json.h b/lib/telemetry/telemetry_json.h\nindex ad270b9b30..f02a12f5b0 100644\n--- a/lib/telemetry/telemetry_json.h\n+++ b/lib/telemetry/telemetry_json.h\n@@ -9,6 +9,7 @@\n #include <stdarg.h>\n #include <stdio.h>\n #include <rte_common.h>\n+#include <rte_telemetry.h>\n \n /**\n  * @file\n@@ -23,13 +24,13 @@\n  * @internal\n  * Copies a value into a buffer if the buffer has enough available space.\n  * Nothing written to buffer if an overflow ocurs.\n- * This function is not for use for values larger than 1k.\n+ * This function is not for use for values larger than given buffer length.\n  */\n __rte_format_printf(3, 4)\n static inline int\n __json_snprintf(char *buf, const int len, const char *format, ...)\n {\n-\tchar tmp[1024];\n+\tchar tmp[len];\n \tva_list ap;\n \tint ret;\n \n",
    "prefixes": [
        "v6"
    ]
}