get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 29002,
    "url": "https://patches.dpdk.org/api/patches/29002/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170920105107.153935-2-bruce.richardson@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": "<20170920105107.153935-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170920105107.153935-2-bruce.richardson@intel.com",
    "date": "2017-09-20T10:51:05",
    "name": "[dpdk-dev,1/3] build: sort meson options alphabetically",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5c1f9604aa57e0e2f8e55d0843b5a37f56cac948",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 10,
        "url": "https://patches.dpdk.org/api/users/10/?format=api",
        "username": "bruce",
        "first_name": "Bruce",
        "last_name": "Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170920105107.153935-2-bruce.richardson@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/29002/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/29002/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 94DD81B18C;\n\tWed, 20 Sep 2017 12:58:09 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id D10E61B162\n\tfor <dev@dpdk.org>; Wed, 20 Sep 2017 12:58:08 +0200 (CEST)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t20 Sep 2017 03:58:08 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.223])\n\tby orsmga004.jf.intel.com with ESMTP; 20 Sep 2017 03:58:07 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.42,421,1500966000\"; d=\"scan'208\";a=\"130625674\"",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Date": "Wed, 20 Sep 2017 11:51:05 +0100",
        "Message-Id": "<20170920105107.153935-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170920105107.153935-1-bruce.richardson@intel.com>",
        "References": "<20170920105107.153935-1-bruce.richardson@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 1/3] build: sort meson options alphabetically",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "Wrap each entry at the description value to avoid really long lines also.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n meson_options.txt | 24 ++++++++++++++++--------\n 1 file changed, 16 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/meson_options.txt b/meson_options.txt\nindex fb945db91..29b548f5a 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -1,10 +1,18 @@\n-option('machine', type: 'string', value: 'native', description: 'set the target machine type')\n-option('max_lcores', type: 'string', value: '128', description: 'maximum number of cores/threads supported by EAL')\n-option('max_numa_nodes', type: 'string', value: '4', description: 'maximum number of NUMA nodes supported by EAL')\n-option('use_hpet', type: 'boolean', value: false, description: 'use HPET timer in EAL')\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('enable_kmods', type: 'boolean', value: true, description: 'build kernel modules')\n-option('kernel_dir', type: 'string', value: '', description: 'path to the kernel for building kernel modules')\n-option('per_library_versions', type: 'boolean', value: true, description: 'true: each lib gets its own version number, false: DPDK version used for each lib')\n-option('include_subdir_arch', type: 'string', value: '', description: 'subdirectory where to install arch-dependent headers')\n+option('enable_kmods', type: 'boolean', value: true,\n+\tdescription: 'build kernel modules')\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+\tdescription: 'path to the kernel for building kernel modules')\n+option('machine', type: 'string', value: 'native',\n+\tdescription: 'set the target machine type')\n+option('max_lcores', type: 'string', value: '128',\n+\tdescription: 'maximum number of cores/threads supported by EAL')\n+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",
    "prefixes": [
        "dpdk-dev",
        "1/3"
    ]
}