get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76783,
    "url": "http://patches.dpdk.org/api/patches/76783/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200907220711.437405-2-thomas@monjalon.net/",
    "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": "<20200907220711.437405-2-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200907220711.437405-2-thomas@monjalon.net",
    "date": "2020-09-07T22:06:41",
    "name": "[v4,01/31] doc: build without using make",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0864e4d10b38b25f7202ba07fe3805f45bb7c328",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200907220711.437405-2-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 12000,
            "url": "http://patches.dpdk.org/api/series/12000/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12000",
            "date": "2020-09-07T22:06:40",
            "name": "remove make support in DPDK",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/12000/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76783/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/76783/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 97423A04AA;\n\tTue,  8 Sep 2020 00:07:34 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BE5971C0DB;\n\tTue,  8 Sep 2020 00:07:25 +0200 (CEST)",
            "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 26EF81C0CD\n for <dev@dpdk.org>; Tue,  8 Sep 2020 00:07:22 +0200 (CEST)",
            "from compute7.internal (compute7.nyi.internal [10.202.2.47])\n by mailout.nyi.internal (Postfix) with ESMTP id E4FD65C0098;\n Mon,  7 Sep 2020 18:07:20 -0400 (EDT)",
            "from mailfrontend1 ([10.202.2.162])\n by compute7.internal (MEProxy); Mon, 07 Sep 2020 18:07:20 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 1237A328005D;\n Mon,  7 Sep 2020 18:07:19 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=C4IlhCW6PhD9o\n synNYnqPamADJ+1jHGtGHGTKy0M8Zs=; b=kQGuvHQtGlEJ+IiDE4jOKSQw7+amM\n haZvufmvdWxxq1iqW2IxOoE0mlHH+6a27VZYqAxOggPXOw1u3JbdGefXodyyDJvA\n rLWfOFdzr1T+1YMPPDAWO82MJmYUgvAnilJoYoh3sXkogt4Yg4c9xbCAGqCK6kXu\n f90CJ7JuCGXhzHuavtbFKYvdMh8drLlcmzw+AMkYQNWC2aZzJBDllkrAS+WaocRT\n lfi930BP0RJZAFZ6uCO08AZFMB7S/vQpqIksZZq1iZ4aa/aoggwbJzmshI/szU3J\n eb45wYVFzN4SIYJSPjd66sMmXFz67p/LlAyIl7ciQFavu3SjlxRx80DXg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm3; bh=C4IlhCW6PhD9osynNYnqPamADJ+1jHGtGHGTKy0M8Zs=; b=HS1FPSko\n WOxtzd87GKOHEeic9CFFJZxpbrVlUEXh0imAfHG9RukrBFvZOuVC57lj1RatxvYl\n shlFSixfubGIHCxtaOAkxyFe7UiLzdTOeKBFxyeycxYYNL4dGMXBq5UfMWGOp0FD\n zUZoEvIZV8yg7bQ2ticHMQVQQTUSOXmZN0MthGlI3LspK4N0GqtPEZq8/lOXd6qB\n 3zAoh2JtrJBUiBGss3VreK/S55YWmz0SI1k1wmWIRRD7GvtpcUOauhaBFW6bXoeL\n /I5C38rfcPWxwaVblg8CbUwTo5P+w7CqAtCQIgbEhd2Oho32/CculswEPpRIuQSd\n hhBqU8x8ztGMXg=="
        ],
        "X-ME-Sender": "<xms:GK9WXygw4tWoTV8Q5CJULgowdzbPA0SWUhlJSN7ZMi7biqyKEYbGiQ>\n <xme:GK9WXzCNaKXUZy_ZfZOtjJN9P78h7eUk4U2gUspBVgu0EepeGQ84Uh7mhuforlSrx\n qxk60eEDWu2pwcOjw>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduiedrudehuddgtdefucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre\n dtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes\n mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvhefgiedvjeegtdevhe\n efhfetleefgfeivefgffevfeejgedtgfeutdehtdegveenucfkphepjeejrddufeegrddv\n tdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh\n homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth",
        "X-ME-Proxy": "<xmx:GK9WX6GV_RsZFRT8nB0n2u4lIWdvEpEJ0vB8KpFhD11o5OynAhAU1A>\n <xmx:GK9WX7THtpJ5-uFSEeWN2quWeq-NN9GwJgHjP4lXfmBXiWt_VS-UnQ>\n <xmx:GK9WX_yDch3cCgrRCbndS-4mMgkmoyS89PXxEyyvCbWOD5yT7VkB_Q>\n <xmx:GK9WX4qV8zMYCeNNW3jzRIjYIEmYSIGcczZ5bbvIPzXOYB7w85c_hw>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com, bruce.richardson@intel.com,\n ciara.power@intel.com",
        "Date": "Tue,  8 Sep 2020 00:06:41 +0200",
        "Message-Id": "<20200907220711.437405-2-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<20200907220711.437405-1-thomas@monjalon.net>",
        "References": "<20200903152717.42095-1-ciara.power@intel.com>\n <20200907220711.437405-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 01/31] doc: build without using make",
        "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: Bruce Richardson <bruce.richardson@intel.com>\n\nWhen building the DPDK guide documents, the DPDK version information was\npulled using \"make showversion\", which meant there was a dependency on\nthe DPDK make-based build system. Change this to have the version info\npassed in from meson itself.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n buildtools/call-sphinx-build.py | 5 ++++-\n doc/guides/conf.py              | 7 +------\n doc/guides/meson.build          | 3 ++-\n 3 files changed, 7 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/buildtools/call-sphinx-build.py b/buildtools/call-sphinx-build.py\nindex 85c9e01563..fa6f26b376 100755\n--- a/buildtools/call-sphinx-build.py\n+++ b/buildtools/call-sphinx-build.py\n@@ -9,7 +9,10 @@\n from subprocess import run, PIPE, STDOUT\n from distutils.version import StrictVersion\n \n-(sphinx, src, dst) = sys.argv[1:]  # assign parameters to variables\n+(sphinx, version, src, dst) = sys.argv[1:]  # assign parameters to variables\n+\n+# set the version in environment for sphinx to pick up\n+os.environ['DPDK_VERSION'] = version\n \n # for sphinx version >= 1.7 add parallelism using \"-j auto\"\n ver = run([sphinx, '--version'], stdout=PIPE,\ndiff --git a/doc/guides/conf.py b/doc/guides/conf.py\nindex d8fe5cccd7..9ebc26ed3f 100644\n--- a/doc/guides/conf.py\n+++ b/doc/guides/conf.py\n@@ -2,7 +2,6 @@\n # Copyright(c) 2010-2015 Intel Corporation\n \n from __future__ import print_function\n-import subprocess\n from docutils import nodes\n from distutils.version import LooseVersion\n from sphinx import __version__ as sphinx_version\n@@ -38,11 +37,7 @@\n html_show_copyright = False\n highlight_language = 'none'\n \n-# If MAKEFLAGS is exported by the user, garbage text might end up in version\n-version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion'],\n-                                  env=dict(environ, MAKEFLAGS=\"\"))\n-version = version.decode('utf-8').rstrip()\n-release = version\n+release = environ['DPDK_VERSION']\n \n master_doc = 'index'\n \ndiff --git a/doc/guides/meson.build b/doc/guides/meson.build\nindex 732e7ad3a9..daab139c4e 100644\n--- a/doc/guides/meson.build\n+++ b/doc/guides/meson.build\n@@ -11,7 +11,8 @@ htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk')\n html_guides = custom_target('html_guides',\n \tinput: files('index.rst'),\n \toutput: 'html',\n-\tcommand: [sphinx_wrapper, sphinx, meson.current_source_dir(), meson.current_build_dir()],\n+\tcommand: [sphinx_wrapper, sphinx, meson.project_version(),\n+\t\tmeson.current_source_dir(), meson.current_build_dir()],\n \tdepfile: '.html.d',\n \tbuild_by_default: get_option('enable_docs'),\n \tinstall: get_option('enable_docs'),\n",
    "prefixes": [
        "v4",
        "01/31"
    ]
}