get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50197,
    "url": "http://patches.dpdk.org/api/patches/50197/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190207155318.12579-2-3chas3@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": "<20190207155318.12579-2-3chas3@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190207155318.12579-2-3chas3@gmail.com",
    "date": "2019-02-07T15:53:18",
    "name": "[v3,2/2] build: fix option ordering",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a70080da9a2852d81c8540100303ffbfe1d5893c",
    "submitter": {
        "id": 341,
        "url": "http://patches.dpdk.org/api/people/341/?format=api",
        "name": "Chas Williams",
        "email": "3chas3@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/20190207155318.12579-2-3chas3@gmail.com/mbox/",
    "series": [
        {
            "id": 3410,
            "url": "http://patches.dpdk.org/api/series/3410/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3410",
            "date": "2019-02-07T15:53:17",
            "name": "[v3,1/2] build: add option to override max ethports",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/3410/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/50197/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/50197/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 131AC1B578;\n\tThu,  7 Feb 2019 16:53:29 +0100 (CET)",
            "from mail-qt1-f195.google.com (mail-qt1-f195.google.com\n\t[209.85.160.195]) by dpdk.org (Postfix) with ESMTP id CDD851B575\n\tfor <dev@dpdk.org>; Thu,  7 Feb 2019 16:53:26 +0100 (CET)",
            "by mail-qt1-f195.google.com with SMTP id b15so349038qto.8\n\tfor <dev@dpdk.org>; Thu, 07 Feb 2019 07:53:26 -0800 (PST)",
            "from monolith.fios-router.home\n\t(pool-96-255-82-34.washdc.fios.verizon.net. [96.255.82.34])\n\tby smtp.gmail.com with ESMTPSA id\n\t32sm24482217qto.55.2019.02.07.07.53.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 07 Feb 2019 07:53:24 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=Dfz80wH8TUF2hy9dIH8gyq4lw49G28dYFAXsKVsSDZQ=;\n\tb=DOXXbD1h01RzY/IFmHoxWcCnVjZQFkRhTKiJi8WVvK1BssfZ/JK4PH5a7A0d+uF+zy\n\tmeL22UmdOSsSoy6+rqwiBEp4GZK8or+GbY4KQ/aRG0MHErzfXtq7UFLtDETBjlqD/9Yc\n\t59dTmjdHqeTWiFvfy+jzAVcjRumoXP3U8wLb2r8TMjfPummY3EQUcM9xUCZqpJE/zQhX\n\t+XHYGxY4G0swhw3Ql120R+L70xkmO/Z5vPaPKxrwFCM84VeuLUy/D2NSsmV7fVp9YL1+\n\tL0Go0Ft1UUsilCJKxVRyDxZDeiCGKF+EHI2hYdTCXODVB1bs/ZEStnFQCB4SPTn6/Wwr\n\txgGg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=Dfz80wH8TUF2hy9dIH8gyq4lw49G28dYFAXsKVsSDZQ=;\n\tb=h7+JRvQuH+8ZshnK4E7TPpC7UZ3GObgWnsrrbfR+gYp1P0TmbpNaW6T8DbPn92d4St\n\tOShkubf3r0iMkGk3ylbu06BE9IgH3TbTs+CvmTc1er9RT7T+lkZaPMJGtTdN8jRic6te\n\tHa55OAHGZlaBW0SXzQ07/J2ALpXOmDK6BvajvCGiFi43sShP2GSPdExYwdsNbOyOK/5U\n\t1vpF6mfIKQeQI/pirV6ivNZDquSbZZJ1t6VT4tZFmTaHY7MkkDq9g2hFBQXB1jbFsbFt\n\tmpdrmRq4LBf55pks5vyOofi28antrSUEMDXdukMXAqV8lhp1GtO4bJyDP15dqMD2qS/z\n\t/ApQ==",
        "X-Gm-Message-State": "AHQUAuY8b8f0731uNc3TI9wOkhh0HULKP90RCP7atw1xwM2Uf3fafDuo\n\tkpzjfk8412pbHZvs6yYd8rDpysKg",
        "X-Google-Smtp-Source": "AHgI3IaPbmuua8Jz6OQalwkgeSoZae94QLYthyo8o7cIxK2py+ARxazpWgYAnUML2aINSgrIkn7SZA==",
        "X-Received": "by 2002:ac8:1185:: with SMTP id\n\td5mr12634287qtj.117.1549554805588; \n\tThu, 07 Feb 2019 07:53:25 -0800 (PST)",
        "From": "Chas Williams <3chas3@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, bruce.richardson@intel.com,\n\tChas Williams <3chas3@gmail.com>",
        "Date": "Thu,  7 Feb 2019 10:53:18 -0500",
        "Message-Id": "<20190207155318.12579-2-3chas3@gmail.com>",
        "X-Mailer": "git-send-email 2.17.2",
        "In-Reply-To": "<20190207155318.12579-1-3chas3@gmail.com>",
        "References": "<20190131021858.5832-1-3chas3@gmail.com>\n\t<20190207155318.12579-1-3chas3@gmail.com>",
        "Subject": "[dpdk-dev] [v3,PATCH 2/2] build: fix option ordering",
        "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": "Sort the options alphabetically and make a note of the preferred\norder at the top of the file.\n\nSigned-off-by: Chas Williams <3chas3@gmail.com>\n---\n meson_options.txt | 14 ++++++++------\n 1 file changed, 8 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/meson_options.txt b/meson_options.txt\nindex 5bae08bb3..c6454fe29 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -1,15 +1,17 @@\n+# Please keep these options sorted alphabetically.\n+\n option('allow_invalid_socket_id', type: 'boolean', value: false,\n \tdescription: 'allow out-of-range NUMA socket id\\'s for platforms that don\\'t report the value correctly')\n option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',\n \tdescription: 'Subdirectory of libdir where to install PMDs. Defaults to using a versioned subdirectory.')\n-option('ibverbs_link', type: 'combo', choices : ['shared', 'dlopen'], value: 'shared',\n-\tdescription: 'Linkage method (shared/dlopen) for Mellanox PMDs with ibverbs dependencies.')\n-option('enable_kmods', type: 'boolean', value: true,\n-\tdescription: 'build kernel modules')\n option('enable_docs', type: 'boolean', value: false,\n \tdescription: 'build documentation')\n+option('enable_kmods', type: 'boolean', value: true,\n+\tdescription: 'build kernel modules')\n option('examples', type: 'string', value: '',\n \tdescription: 'Comma-separated list of examples to build by default')\n+option('ibverbs_link', type: 'combo', choices : ['shared', 'dlopen'], value: 'shared',\n+\tdescription: 'Linkage method (shared/dlopen) for Mellanox PMDs with ibverbs dependencies.')\n option('include_subdir_arch', type: 'string', value: '',\n \tdescription: 'subdirectory where to install arch-dependent headers')\n option('kernel_dir', type: 'string', value: '',\n@@ -26,7 +28,7 @@ option('max_numa_nodes', type: 'string', value: '4',\n \tdescription: 'maximum number of NUMA nodes supported by EAL')\n option('per_library_versions', type: 'boolean', value: true,\n \tdescription: 'true: each lib gets its own version number, false: DPDK version used for each lib')\n-option('use_hpet', type: 'boolean', value: false,\n-\tdescription: 'use HPET timer in EAL')\n option('tests', type: 'boolean', value: true,\n \tdescription: 'build unit tests')\n+option('use_hpet', type: 'boolean', value: false,\n+\tdescription: 'use HPET timer in EAL')\n",
    "prefixes": [
        "v3",
        "2/2"
    ]
}