get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75947,
    "url": "https://patches.dpdk.org/api/patches/75947/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200825232410.975-1-pbhagavatula@marvell.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20200825232410.975-1-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200825232410.975-1-pbhagavatula@marvell.com",
    "date": "2020-08-25T23:24:08",
    "name": "[1/2] trace: fix size_t field emitter",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a05ccac10d8cbca36b92ea2737a6e652d77de287",
    "submitter": {
        "id": 1183,
        "url": "https://patches.dpdk.org/api/people/1183/?format=api",
        "name": "Pavan Nikhilesh Bhagavatula",
        "email": "pbhagavatula@marvell.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200825232410.975-1-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 11785,
            "url": "https://patches.dpdk.org/api/series/11785/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11785",
            "date": "2020-08-25T23:24:08",
            "name": "[1/2] trace: fix size_t field emitter",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11785/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/75947/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/75947/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 F3DD2A04B1;\n\tWed, 26 Aug 2020 01:24:21 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2BFD9DE3;\n\tWed, 26 Aug 2020 01:24:21 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 1AC6CB62\n for <dev@dpdk.org>; Wed, 26 Aug 2020 01:24:19 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 07PNGfT2008880 for <dev@dpdk.org>; Tue, 25 Aug 2020 16:24:19 -0700",
            "from sc-exch01.marvell.com ([199.233.58.181])\n by mx0b-0016f401.pphosted.com with ESMTP id 3332vmx3um-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 25 Aug 2020 16:24:18 -0700",
            "from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com\n (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 Aug\n 2020 16:24:17 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH04.marvell.com\n (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Tue, 25 Aug 2020 16:24:16 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Tue, 25 Aug 2020 16:24:16 -0700",
            "from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.161.240])\n by maili.marvell.com (Postfix) with ESMTP id 083363F7044;\n Tue, 25 Aug 2020 16:24:14 -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 : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=JC/Jg4L+0TWZcGnFqvhNftMuV7jqDe53Gj2FyqrdX58=;\n b=CsGzBaDyI32+KFXvqma1qM+FaH0EW1YLXYUdjURQKVoryLTHZZs/K4N7QcT8WD6d8UlK\n DE4m7FTUNFigsQAIm8tkp6HRbpFlPPwJfwXexHqDVJsUmso3lMDM1I8bYCvIZr5y9ND4\n 1pr4JFZ7RJHdeW2U+TOXWGxV7gixEDy6z7amZQR8zpvxQqPngEMcaZns1Kul5uBGtR0R\n VVytckR/yyLqrVtYadjgd9TFRiiXeLQntFzPJlRGWDlPYsYWGinhos0A90C5xftA3tmO\n /4UulIUCkqTd5TGSXtehA2caeshv5/ufxUaxchWPYN/vQKZ8bsoujggoZKAhNlBMh9mr MQ==",
        "From": "<pbhagavatula@marvell.com>",
        "To": "<jerinj@marvell.com>, Sunil Kumar Kori <skori@marvell.com>",
        "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>",
        "Date": "Wed, 26 Aug 2020 04:54:08 +0530",
        "Message-ID": "<20200825232410.975-1-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687\n definitions=2020-08-25_10:2020-08-25,\n 2020-08-25 signatures=0",
        "Subject": "[dpdk-dev]  [PATCH 1/2] trace: fix size_t field emitter",
        "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": "From: Pavan Nikhilesh <pbhagavatula@marvell.com>\n\nAdd size_t CTF format metadata, this is needed by CTF analyzers to\nparse the emitted CTF trace.\n\nFixes: 262c4ee791c6 (\"trace: add size_t field emitter\")\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n lib/librte_eal/common/eal_common_trace_ctf.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/common/eal_common_trace_ctf.c b/lib/librte_eal/common/eal_common_trace_ctf.c\nindex 302e2bb74..9dc91df0f 100644\n--- a/lib/librte_eal/common/eal_common_trace_ctf.c\n+++ b/lib/librte_eal/common/eal_common_trace_ctf.c\n@@ -83,6 +83,11 @@ meta_data_type_emit(char **meta, int *offset)\n \t\t\"typealias integer {size = 32; base = x;} := long;\\n\"\n #endif\n \t\t\"typealias integer {size = 8; signed = false; encoding = ASCII; } := string_bounded_t;\\n\\n\"\n+#ifdef RTE_ARCH_64\n+\t\t\"typealias integer {size = 64; base = x;} := size_t;\\n\"\n+#else\n+\t\t\"typealias integer {size = 32; base = x;} := size_t;\\n\"\n+#endif\n \t\t\"typealias floating_point {\\n\"\n \t\t\"    exp_dig = 8;\\n\"\n \t\t\"    mant_dig = 24;\\n\"\n",
    "prefixes": [
        "1/2"
    ]
}