get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45035,
    "url": "https://patches.dpdk.org/api/patches/45035/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180920132208.14583-1-bluca@debian.org/",
    "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": "<20180920132208.14583-1-bluca@debian.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180920132208.14583-1-bluca@debian.org",
    "date": "2018-09-20T13:22:08",
    "name": "[v3] doc: support building HTML guides with meson",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b00a833b4c777eae43d16a38ed13ce44a6459b64",
    "submitter": {
        "id": 823,
        "url": "https://patches.dpdk.org/api/people/823/?format=api",
        "name": "Luca Boccassi",
        "email": "bluca@debian.org"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180920132208.14583-1-bluca@debian.org/mbox/",
    "series": [
        {
            "id": 1420,
            "url": "https://patches.dpdk.org/api/series/1420/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1420",
            "date": "2018-09-20T13:22:08",
            "name": "[v3] doc: support building HTML guides with meson",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/1420/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/45035/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/45035/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 D3BCB5A6A;\n\tThu, 20 Sep 2018 15:22:29 +0200 (CEST)",
            "from mail-wr1-f65.google.com (mail-wr1-f65.google.com\n\t[209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 0635B262E\n\tfor <dev@dpdk.org>; Thu, 20 Sep 2018 15:22:27 +0200 (CEST)",
            "by mail-wr1-f65.google.com with SMTP id y8-v6so5734606wrh.7\n\tfor <dev@dpdk.org>; Thu, 20 Sep 2018 06:22:27 -0700 (PDT)",
            "from localhost ([2001:1be0:110d:fcfe:489f:80a9:5d59:c6bd])\n\tby smtp.gmail.com with ESMTPSA id\n\tb74-v6sm3601671wma.8.2018.09.20.06.22.25\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 20 Sep 2018 06:22:25 -0700 (PDT)"
        ],
        "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=VxAmY4J8HeKlgPtJxXAjtRESxs3DdEyi7TuHaAlT63c=;\n\tb=bncO/VaXLIJrxzyaRtdYUehPC1Ahp1/yHbcNN0goPAHomMj+HsUZ3g+Wv0hSH4+oln\n\t+3aCFqgqukOhS7cdC9iZ8k+Jl1oK43XyUYdM41ZRBgO7LHL1L3feKOHNF1FVCeKO2Iyn\n\tMW79kwNIYhxod/3A/ss3asC+LEp9Wlojz8oCY4JfFca9587Advaspei1UF5HMJ79ea1g\n\tv/gM8ly1foM2qlpBq2cY4EmbnB93GWgBAd1LB8Gv1gghB9CltvHi0BPSk3Mk0jXUguAm\n\tjturmC9sBbouf8zuou2DSx0wihOoSBZc8qgbDU+tNYPNy+lCh8s3AIQ8aXE/+REItYYt\n\tG1vg==",
        "X-Gm-Message-State": "APzg51CiU3FOiCEfKOR5vM7jUO4K74mXRa2m6BMCZDAAvaXjDxYo1vm7\n\t5YMd+6sLxherhZUVX2VXwR/9H8xW",
        "X-Google-Smtp-Source": "ANB0VdYXt5YXHxW8TsdG1YZxDvpErfGBwxq/XaXvyZdZC2PUUv248Rx/mWmTQUrEGVFnlOMsbGUFyw==",
        "X-Received": "by 2002:adf:f608:: with SMTP id\n\tt8-v6mr33230314wrp.186.1537449747160; \n\tThu, 20 Sep 2018 06:22:27 -0700 (PDT)",
        "From": "Luca Boccassi <bluca@debian.org>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com, tredaelli@redhat.com,\n\tLuca Boccassi <bluca@debian.org>",
        "Date": "Thu, 20 Sep 2018 14:22:08 +0100",
        "Message-Id": "<20180920132208.14583-1-bluca@debian.org>",
        "X-Mailer": "git-send-email 2.18.0",
        "In-Reply-To": "<20180911161322.20114-1-bruce.richardson@intel.com>",
        "References": "<20180911161322.20114-1-bruce.richardson@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3] doc: support building HTML guides with meson",
        "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": "From: Bruce Richardson <bruce.richardson@intel.com>\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nSigned-off-by: Luca Boccassi <bluca@debian.org>\n---\nv2: send on behalf of Bruce on request.\n    - tell sphinx to create .doctrees working files in the\n      parent of the target directory so that they don't get\n      installed\n    - change the output directory so that it matches the legacy\n      makefiles directory structure (on install)\n    - add install_dir to fix ninja install\n    - add post-install calls to delete .buildinfo sphinx\n      temporary file and to install custom.css as the makefiles\n      do\nThe installed directory has been verified to be bit-by-bit\nidentical to the legacy makefiles with diffoscope.\n\nv3: re-arranged sphinx parameters to make it work on older\n    versions  (RHEL 7), and specify DEST filename on the\n    install call, to make it work on older version (RHEL 7)\n\n doc/api/meson.build    |  5 ++---\n doc/guides/meson.build | 28 ++++++++++++++++++++++++++++\n doc/meson.build        | 11 +++++++++++\n 3 files changed, 41 insertions(+), 3 deletions(-)\n create mode 100644 doc/guides/meson.build",
    "diff": "diff --git a/doc/api/meson.build b/doc/api/meson.build\nindex 13fcbb8cd7..30bdc573b5 100644\n--- a/doc/api/meson.build\n+++ b/doc/api/meson.build\n@@ -50,7 +50,6 @@ if doxygen.found()\n \t\tinstall_dir: htmldir,\n \t\tbuild_by_default: false)\n \n-\trun_target('doc', command: 'true', depends: doxy_build)\n-else\n-\trun_target('doc', command: ['echo', 'doxygen', 'not', 'found'])\n+\tdoc_targets += doxy_build\n+\tdoc_target_names += 'Doxygen_API'\n endif\ndiff --git a/doc/guides/meson.build b/doc/guides/meson.build\nnew file mode 100644\nindex 0000000000..06f14882bb\n--- /dev/null\n+++ b/doc/guides/meson.build\n@@ -0,0 +1,28 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2018 Intel Corporation\n+\n+sphinx = find_program('sphinx-build', required: get_option('enable_docs'))\n+\n+if sphinx.found()\n+\thtmldir = join_paths('share', 'doc', 'dpdk')\n+\thtml_guides_build = custom_target('html_guides_build',\n+\t\tinput: meson.current_source_dir(),\n+\t\toutput: 'guides',\n+\t\tcommand: [sphinx, '-b', 'html',\n+\t\t\t'-d', meson.current_build_dir() + '/.doctrees',\n+\t\t\t'@INPUT@', meson.current_build_dir() + '/guides'],\n+\t\tbuild_by_default: false,\n+\t\tinstall: get_option('enable_docs'),\n+\t\tinstall_dir: htmldir)\n+\n+\tdoc_targets += html_guides_build\n+\tdoc_target_names += 'HTML_Guides'\n+\n+\t# sphinx leaves a .buildinfo in the target directory, which we don't\n+\t# want to install. Note that sh -c has to be used, otherwise the\n+\t# env var does not get expanded if calling rm/install directly.\n+\tmeson.add_install_script('sh', '-c',\n+\t\t'rm -f $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo')\n+\tmeson.add_install_script('sh', '-c',\n+\t\t'install -D -m0644 $MESON_SOURCE_ROOT/doc/guides/custom.css $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/custom.css')\n+endif\ndiff --git a/doc/meson.build b/doc/meson.build\nindex afca2e7133..c5410d85d6 100644\n--- a/doc/meson.build\n+++ b/doc/meson.build\n@@ -1,4 +1,15 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>\n \n+doc_targets = []\n+doc_target_names = []\n subdir('api')\n+subdir('guides')\n+\n+if doc_targets.length() == 0\n+\tmessage = 'No docs targets found'\n+else\n+\tmessage = 'Building docs:'\n+endif\n+run_target('doc', command: ['echo', message, doc_target_names],\n+\tdepends: doc_targets)\n",
    "prefixes": [
        "v3"
    ]
}