get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50402,
    "url": "http://patches.dpdk.org/api/patches/50402/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190220224714.16303-1-dharmik.thakkar@arm.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": "<20190220224714.16303-1-dharmik.thakkar@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190220224714.16303-1-dharmik.thakkar@arm.com",
    "date": "2019-02-20T22:47:11",
    "name": "[v2,0/3] Replace compilation time options with log level",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1108,
        "url": "http://patches.dpdk.org/api/people/1108/?format=api",
        "name": "Dharmik Thakkar",
        "email": "dharmik.thakkar@arm.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190220224714.16303-1-dharmik.thakkar@arm.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/50402/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/50402/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 CB1F41F28;\n\tWed, 20 Feb 2019 23:47:58 +0100 (CET)",
            "from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 618F01E34\n\tfor <dev@dpdk.org>; Wed, 20 Feb 2019 23:47:57 +0100 (CET)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 94019EBD;\n\tWed, 20 Feb 2019 14:47:56 -0800 (PST)",
            "from 2p2660v4-1.austin.arm.com (2p2660v4-1.austin.arm.com\n\t[10.118.12.58])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id\n\t5A0203F719; Wed, 20 Feb 2019 14:47:56 -0800 (PST)"
        ],
        "From": "Dharmik Thakkar <dharmik.thakkar@arm.com>",
        "To": "",
        "Cc": "dev@dpdk.org,\n\tDharmik Thakkar <dharmik.thakkar@arm.com>",
        "Date": "Wed, 20 Feb 2019 16:47:11 -0600",
        "Message-Id": "<20190220224714.16303-1-dharmik.thakkar@arm.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20181129203112.12222-1-dharmik.thakkar@arm.com>",
        "References": "<20181129203112.12222-1-dharmik.thakkar@arm.com>",
        "Subject": "[dpdk-dev] [PATCH v2 0/3] Replace compilation time options with log\n\tlevel",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Currently, in test code, for printing extra information,\ncompilation time options are used. This approach does not compile the\ncode always. Macro needs to be set for the code to compile.\n\nThis patchset replaces compilation time option with log level based\napproach, thus enabling compilation of code always. Log levels can be\nset using eal parameters.\n\nDharmik Thakkar (3):\n  test/hash: replace macro with log-level approach\n  test/efd: enable unit test compilation always\n  test/timer: enable unit test compilation always\n\n test/test/test_efd.c            | 24 ++++++++----------------\n test/test/test_hash.c           |  3 +--\n test/test/test_timer_racecond.c | 23 ++++++++++-------------\n 3 files changed, 19 insertions(+), 31 deletions(-)",
    "diff": null,
    "prefixes": [
        "v2",
        "0/3"
    ]
}