get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 79207,
    "url": "https://patches.dpdk.org/api/patches/79207/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200929153413.280581-5-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": "<20200929153413.280581-5-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200929153413.280581-5-bruce.richardson@intel.com",
    "date": "2020-09-29T15:34:13",
    "name": "[4/4] doc/guides: suppress printing out standard output",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c2d65a64bced06e16b45aa2328653a8f5e0a86a1",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200929153413.280581-5-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 12595,
            "url": "https://patches.dpdk.org/api/series/12595/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=12595",
            "date": "2020-09-29T15:34:09",
            "name": "improve output when building docs",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/12595/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/79207/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/79207/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 CC92FA04BC;\n\tTue, 29 Sep 2020 17:35:40 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C75FC1D91B;\n\tTue, 29 Sep 2020 17:34:51 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id 3C81A1D72D\n for <dev@dpdk.org>; Tue, 29 Sep 2020 17:34:46 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Sep 2020 08:34:27 -0700",
            "from silpixa00399126.ir.intel.com ([10.237.222.4])\n by fmsmga005.fm.intel.com with ESMTP; 29 Sep 2020 08:34:26 -0700"
        ],
        "IronPort-SDR": [
            "\n Ie92YE21C+cCAdUEkCzSO1kD59sKUY7pIJ20otG6wrSvPZBjLr6Eii3U7xjXZh3XKncAYjQy2W\n O0zJ7rvMZElQ==",
            "\n bnYxVZaATAHyy6jotKyUfjzC6UPSDAVpeRDQO3dIMmQULJaHI6wB+YKo3rXKh5rKIFOiQcPzCc\n 2nqt1TdsD/aw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9759\"; a=\"223809953\"",
            "E=Sophos;i=\"5.77,319,1596524400\"; d=\"scan'208\";a=\"223809953\"",
            "E=Sophos;i=\"5.77,319,1596524400\"; d=\"scan'208\";a=\"514726445\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Date": "Tue, 29 Sep 2020 16:34:13 +0100",
        "Message-Id": "<20200929153413.280581-5-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200929153413.280581-1-bruce.richardson@intel.com>",
        "References": "<20200929153413.280581-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 4/4] doc/guides: suppress printing out standard\n\toutput",
        "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": "To see only errors and warnings from the doc builds, we can send the\nstandard output text to a logfile and have only the stderr messages\nprinted. This is similar to what is done for the API documentation.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n buildtools/call-sphinx-build.py | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/buildtools/call-sphinx-build.py b/buildtools/call-sphinx-build.py\nindex fa6f26b37..0dce59f64 100755\n--- a/buildtools/call-sphinx-build.py\n+++ b/buildtools/call-sphinx-build.py\n@@ -27,8 +27,10 @@\n     srcfiles.extend([join(root, f) for f in files])\n \n # run sphinx, putting the html output in a \"html\" directory\n-process = run(sphinx_cmd + ['-b', 'html', src, join(dst, 'html')], check=True)\n-print(str(process.args) + ' Done OK')\n+with open(join(dst, 'sphinx_html.out'), 'w') as out:\n+    process = run(sphinx_cmd + ['-b', 'html', src, join(dst, 'html')],\n+                  check=True,\n+                  stdout=out)\n \n # create a gcc format .d file giving all the dependencies of this doc build\n with open(join(dst, '.html.d'), 'w') as d:\n",
    "prefixes": [
        "4/4"
    ]
}