get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 37002,
    "url": "https://patches.dpdk.org/api/patches/37002/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/e0651c1c240cf51641f0ecdf71e0dbac0666ec8d.1522797505.git.anatoly.burakov@intel.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": "<e0651c1c240cf51641f0ecdf71e0dbac0666ec8d.1522797505.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/e0651c1c240cf51641f0ecdf71e0dbac0666ec8d.1522797505.git.anatoly.burakov@intel.com",
    "date": "2018-04-03T23:21:17",
    "name": "[dpdk-dev,v3,05/68] test: add command to dump malloc heap contents",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3ebeae5a6f8264cfa279d7a825b84599eded5ba5",
    "submitter": {
        "id": 4,
        "url": "https://patches.dpdk.org/api/people/4/?format=api",
        "name": "Burakov, Anatoly",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/e0651c1c240cf51641f0ecdf71e0dbac0666ec8d.1522797505.git.anatoly.burakov@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/37002/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/37002/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BD1E41B970;\n\tWed,  4 Apr 2018 01:23:07 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id EF7251B8A1\n\tfor <dev@dpdk.org>; Wed,  4 Apr 2018 01:22:30 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Apr 2018 16:22:26 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga002.jf.intel.com with ESMTP; 03 Apr 2018 16:22:22 -0700",
            "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tw33NMMTU013053; Wed, 4 Apr 2018 00:22:22 +0100",
            "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id w33NMM0B014588;\n\tWed, 4 Apr 2018 00:22:22 +0100",
            "(from aburakov@localhost)\n\tby sivswdev01.ir.intel.com with LOCAL id w33NMLix014584;\n\tWed, 4 Apr 2018 00:22:21 +0100"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.48,403,1517904000\"; d=\"scan'208\";a=\"47739582\"",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "keith.wiles@intel.com, jianfeng.tan@intel.com, andras.kovacs@ericsson.com,\n\tlaszlo.vadkeri@ericsson.com, benjamin.walker@intel.com,\n\tbruce.richardson@intel.com, thomas@monjalon.net,\n\tkonstantin.ananyev@intel.com, kuralamudhan.ramakrishnan@intel.com,\n\tlouise.m.daly@intel.com, nelio.laranjeiro@6wind.com,\n\tyskoh@mellanox.com, pepperjo@japf.ch, jerin.jacob@caviumnetworks.com, \n\themant.agrawal@nxp.com, olivier.matz@6wind.com, shreyansh.jain@nxp.com,\n\tgowrishankar.m@linux.vnet.ibm.com",
        "Date": "Wed,  4 Apr 2018 00:21:17 +0100",
        "Message-Id": "<e0651c1c240cf51641f0ecdf71e0dbac0666ec8d.1522797505.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": [
            "<cover.1522797505.git.anatoly.burakov@intel.com>",
            "<cover.1522797505.git.anatoly.burakov@intel.com>"
        ],
        "References": [
            "<cover.1522797505.git.anatoly.burakov@intel.com>",
            "<cover.1520428025.git.anatoly.burakov@intel.com>\n\t<cover.1522797505.git.anatoly.burakov@intel.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v3 05/68] test: add command to dump malloc heap\n\tcontents",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n test/test/commands.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/test/test/commands.c b/test/test/commands.c\nindex cf0b726..6bfdc02 100644\n--- a/test/test/commands.c\n+++ b/test/test/commands.c\n@@ -137,6 +137,8 @@ static void cmd_dump_parsed(void *parsed_result,\n \t\trte_log_dump(stdout);\n \telse if (!strcmp(res->dump, \"dump_malloc_stats\"))\n \t\trte_malloc_dump_stats(stdout, NULL);\n+\telse if (!strcmp(res->dump, \"dump_malloc_heaps\"))\n+\t\trte_malloc_dump_heaps(stdout);\n }\n \n cmdline_parse_token_string_t cmd_dump_dump =\n@@ -147,6 +149,7 @@ cmdline_parse_token_string_t cmd_dump_dump =\n \t\t\t\t \"dump_ring#\"\n \t\t\t\t \"dump_mempool#\"\n \t\t\t\t \"dump_malloc_stats#\"\n+\t\t\t\t \"dump_malloc_heaps#\"\n \t\t\t\t \"dump_devargs#\"\n \t\t\t\t \"dump_log_types\");\n \n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "05/68"
    ]
}