get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84362,
    "url": "http://patchwork.dpdk.org/api/patches/84362/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/027ca076ea8e2be6bd76987da23298ffd5db550f.1605782511.git.anatoly.burakov@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<027ca076ea8e2be6bd76987da23298ffd5db550f.1605782511.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/027ca076ea8e2be6bd76987da23298ffd5db550f.1605782511.git.anatoly.burakov@intel.com",
    "date": "2020-11-19T10:41:56",
    "name": "doc: allow sphinx build with no DPDK version",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "8884cd0b5f131bf57adb048301407e03c2af6bf1",
    "submitter": {
        "id": 4,
        "url": "http://patchwork.dpdk.org/api/people/4/?format=api",
        "name": "Anatoly Burakov",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patchwork.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/027ca076ea8e2be6bd76987da23298ffd5db550f.1605782511.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 13975,
            "url": "http://patchwork.dpdk.org/api/series/13975/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=13975",
            "date": "2020-11-19T10:41:56",
            "name": "doc: allow sphinx build with no DPDK version",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/13975/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/84362/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/84362/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 B6D59A04DD;\n\tThu, 19 Nov 2020 11:42:04 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 229333B5;\n\tThu, 19 Nov 2020 11:42:02 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by dpdk.org (Postfix) with ESMTP id B4E8F23D\n for <dev@dpdk.org>; Thu, 19 Nov 2020 11:41:59 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Nov 2020 02:41:57 -0800",
            "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.222.52])\n by orsmga003.jf.intel.com with ESMTP; 19 Nov 2020 02:41:56 -0800"
        ],
        "IronPort-SDR": [
            "\n TqEqTj4kug9VAnomtYBHyPLxnKai/IwfAfqEDXwRFXHutFCacN59/Kg5YZCSaTFBB0x2ZxXe2Q\n z7lD7U3CRrtg==",
            "\n NRoqtKdZJqe+9FGfcXdRUAzTvM7PH6e+gfPg1vxeWIrDD+XJzV1tfTNXh9kA84p8CCxh91Seah\n Af6HAXQDnGPg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9809\"; a=\"189354756\"",
            "E=Sophos;i=\"5.77,490,1596524400\"; d=\"scan'208\";a=\"189354756\"",
            "E=Sophos;i=\"5.77,490,1596524400\"; d=\"scan'208\";a=\"325939087\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tbruce.richardson@intel.com",
        "Date": "Thu, 19 Nov 2020 10:41:56 +0000",
        "Message-Id": "\n <027ca076ea8e2be6bd76987da23298ffd5db550f.1605782511.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] doc: allow sphinx build with no DPDK version",
        "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": "Currently, when building sphinx documentation, the build will only\nsucceed if being run from the build system, because the conf.py script\nexpects DPDK_VERSION environment variable to be set, and crashes if it\nis not.\n\nHowever, there are certain external tools (such as sphinx documentation\npreview extensions for certain IDE's) that use live preview and thus\nrely on running their own sphinx commands. In these cases, it is useful\nto permit building sphinx documentation without specifying the\nDPDK_VERSION environment variable. The version string is the only thing\npreventing manual sphinx build commands from working.\n\nFix the conf.py to use \"None\" as a version string in cases when\nDPDK_VERSION environment variable is not set.\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\n---\n doc/guides/conf.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/conf.py b/doc/guides/conf.py\nindex 9de490e1c4..aceeb62a4f 100644\n--- a/doc/guides/conf.py\n+++ b/doc/guides/conf.py\n@@ -36,7 +36,7 @@\n html_show_copyright = False\n highlight_language = 'none'\n \n-release = environ['DPDK_VERSION']\n+release = environ.setdefault('DPDK_VERSION', \"None\")\n version = release\n \n master_doc = 'index'\n",
    "prefixes": []
}