get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104614,
    "url": "http://patchwork.dpdk.org/api/patches/104614/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/4c058c558a858267b8d14b0460dce5fcc8bbcc2c.1637678260.git.tredaelli@redhat.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": "<4c058c558a858267b8d14b0460dce5fcc8bbcc2c.1637678260.git.tredaelli@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/4c058c558a858267b8d14b0460dce5fcc8bbcc2c.1637678260.git.tredaelli@redhat.com",
    "date": "2021-11-23T14:48:42",
    "name": "[v2] doc: add examples.dox path to STRIP_FROM_PATH",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1e4e58395cdfafdc2f09c2c1abf3ebb7b8e1380c",
    "submitter": {
        "id": 717,
        "url": "http://patchwork.dpdk.org/api/people/717/?format=api",
        "name": "Timothy Redaelli",
        "email": "tredaelli@redhat.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/4c058c558a858267b8d14b0460dce5fcc8bbcc2c.1637678260.git.tredaelli@redhat.com/mbox/",
    "series": [
        {
            "id": 20711,
            "url": "http://patchwork.dpdk.org/api/series/20711/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20711",
            "date": "2021-11-23T14:48:42",
            "name": "[v2] doc: add examples.dox path to STRIP_FROM_PATH",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/20711/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/104614/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/104614/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id BF0C8A0C4C;\n\tTue, 23 Nov 2021 15:48:55 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1BADF40DF7;\n\tTue, 23 Nov 2021 15:48:55 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id C16B740040\n for <dev@dpdk.org>; Tue, 23 Nov 2021 15:48:53 +0100 (CET)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-322-Eo0-UsVZNlCaFlI3RwoUTQ-1; Tue, 23 Nov 2021 09:48:50 -0500",
            "from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com\n [10.5.11.15])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0BB7D180FCB8;\n Tue, 23 Nov 2021 14:48:49 +0000 (UTC)",
            "from aldebaran.redhat.com (unknown [10.39.195.155])\n by smtp.corp.redhat.com (Postfix) with ESMTP id A7D185D6CF;\n Tue, 23 Nov 2021 14:48:47 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1637678933;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=DhRtj4DoEOzvOnKm2L5OstUqTKfHJzf0jbt/lnuL45A=;\n b=iRBJtW52BilDjO/JzMCd0/IGpKH/MuY473yUfV1w7sFC/lOI89uCVpqAYGDx4bSIVY9ZC0\n yZbNBkx470Pd4m/n9VbUGuszda4UMblk3HGLSFGpDAfKK0rqd4M3LA8pbyigPfwVmcTkx6\n LmjP8HqhoMJUjcqP5dygyuR/YbC9Bh8=",
        "X-MC-Unique": "Eo0-UsVZNlCaFlI3RwoUTQ-1",
        "From": "Timothy Redaelli <tredaelli@redhat.com>",
        "To": "Ferruh Yigit <ferruh.yigit@intel.com>,\n Thomas Monjalon <thomas@monjalon.net>",
        "Cc": "Luca Boccassi <bluca@debian.org>,\n\tdev@dpdk.org,\n\tstable@dpdk.org",
        "Subject": "[PATCH v2] doc: add examples.dox path to STRIP_FROM_PATH",
        "Date": "Tue, 23 Nov 2021 15:48:42 +0100",
        "Message-Id": "\n <4c058c558a858267b8d14b0460dce5fcc8bbcc2c.1637678260.git.tredaelli@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=tredaelli@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "examples.dox is built inside builddir/doc/api and so doxygen generates\nsome dir_HASH.html that includes the builddir name and this may prevent\nDPDK documentation to be correctly generated in some distributions, for\nexample CentOS Stream 9 and RHEL9, since the builddir includes the\narchitecture.\n\nThis commit adds builddir/doc/api (the path where examples.dox is\ngenerated) to STRIP_FROM_PATH, so the generated documentation doesn't\nchange if builddir changes.\n\nFixes: a6090630f4e5 (\"doc: automate examples file list for API\")\nCc: ferruh.yigit@intel.com\nCc: stable@dpdk.org\nSigned-off-by: Timothy Redaelli <tredaelli@redhat.com>\n---\nv2:\n - Don't use another VARIABLE name, but set STRIP_FROM_PATH with the 2\n   paths directly (suggested by David Marchand)\n - Strip the full path of examples.dox (except the last component)\n   instead of stripping only build_root. This is needed since doxygen\n   generates the HASH of dir_HASH.html filename using the last component\n   of the path and so if the last part of buildroot is changed, the\n   filename is different.\n---\n doc/api/meson.build | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/doc/api/meson.build b/doc/api/meson.build\nindex d34c383694..7e2b429ac8 100644\n--- a/doc/api/meson.build\n+++ b/doc/api/meson.build\n@@ -36,7 +36,7 @@ cdata.set('API_EXAMPLES', join_paths(meson.build_root(), 'doc', 'api', 'examples\n cdata.set('OUTPUT', join_paths(meson.build_root(), 'doc', 'api'))\n cdata.set('HTML_OUTPUT', 'html')\n cdata.set('TOPDIR', meson.source_root())\n-cdata.set('STRIP_FROM_PATH', meson.source_root())\n+cdata.set('STRIP_FROM_PATH', ' '.join([meson.source_root(), join_paths(meson.build_root(), 'doc', 'api')]))\n cdata.set('WARN_AS_ERROR', 'NO')\n if get_option('werror')\n     cdata.set('WARN_AS_ERROR', 'YES')\n",
    "prefixes": [
        "v2"
    ]
}