get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104582,
    "url": "http://patchwork.dpdk.org/api/patches/104582/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1f6e95f1c4e148a18d8de8dc25d8bb63c094af60.1637612120.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": "<1f6e95f1c4e148a18d8de8dc25d8bb63c094af60.1637612120.git.tredaelli@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1f6e95f1c4e148a18d8de8dc25d8bb63c094af60.1637612120.git.tredaelli@redhat.com",
    "date": "2021-11-22T20:16:53",
    "name": "doc: add build_root to STRIP_FROM_PATH",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5fdf02322490dd62c1d568182c4750ac86490ace",
    "submitter": {
        "id": 717,
        "url": "http://patchwork.dpdk.org/api/people/717/?format=api",
        "name": "Timothy Redaelli",
        "email": "tredaelli@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1f6e95f1c4e148a18d8de8dc25d8bb63c094af60.1637612120.git.tredaelli@redhat.com/mbox/",
    "series": [
        {
            "id": 20695,
            "url": "http://patchwork.dpdk.org/api/series/20695/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20695",
            "date": "2021-11-22T20:16:53",
            "name": "doc: add build_root to STRIP_FROM_PATH",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/20695/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/104582/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/104582/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 424E2A0C4B;\n\tMon, 22 Nov 2021 21:17:09 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0308540040;\n\tMon, 22 Nov 2021 21:17:09 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 0A86F4003C\n for <dev@dpdk.org>; Mon, 22 Nov 2021 21:17:07 +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-205-UMgWXpyrM5KF_6k6gC03ng-1; Mon, 22 Nov 2021 15:17:04 -0500",
            "from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com\n [10.5.11.23])\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 E913315737;\n Mon, 22 Nov 2021 20:17:02 +0000 (UTC)",
            "from aldebaran.redhat.com (unknown [10.39.194.12])\n by smtp.corp.redhat.com (Postfix) with ESMTP id D388419D9F;\n Mon, 22 Nov 2021 20:17:01 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1637612227;\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=ob/+N8Nx+LGKnVUjwRpbcMD4NlzMCQQBtEm858saDUo=;\n b=dNyH6L5L4HzcqYmKulpoqieSPzSUF0oObeW4aftqHoX/a51+XDsz2LMm2c2iOJwjtMGfO3\n mrf3x/eeYGd/DyR5sEPDOSYH/cIglRwYjE/DWMrVbzUKBrLWEjZAZRtkyd3NXNtI0YsSeH\n lOj8ZjH4v4jHqG4mV4uiN97YxhFU7wM=",
        "X-MC-Unique": "UMgWXpyrM5KF_6k6gC03ng-1",
        "From": "Timothy Redaelli <tredaelli@redhat.com>",
        "To": "Ferruh Yigit <ferruh.yigit@intel.com>,\n Thomas Monjalon <thomas.monjalon@6wind.com>",
        "Cc": "dev@dpdk.org",
        "Subject": "[PATCH] doc: add build_root to STRIP_FROM_PATH",
        "Date": "Mon, 22 Nov 2021 21:16:53 +0100",
        "Message-Id": "\n <1f6e95f1c4e148a18d8de8dc25d8bb63c094af60.1637612120.git.tredaelli@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.23",
        "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 and so doxygen generates some\ndir_HASH.html that includes the builddir name and this may prevent DPDK\ndocumentation 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 to STRIP_FROM_PATH in order to avoid\ngenerating html files that includes it.\n\nFixes: a6090630f4e5 (\"doc: automate examples file list for API\")\nCc: ferruh.yigit@intel.com\nSigned-off-by: Timothy Redaelli <tredaelli@redhat.com>\n---\n doc/api/doxy-api.conf.in | 1 +\n doc/api/meson.build      | 1 +\n 2 files changed, 2 insertions(+)",
    "diff": "diff --git a/doc/api/doxy-api.conf.in b/doc/api/doxy-api.conf.in\nindex db2ca9b6ed..a668cad687 100644\n--- a/doc/api/doxy-api.conf.in\n+++ b/doc/api/doxy-api.conf.in\n@@ -112,6 +112,7 @@ EXAMPLE_RECURSIVE       = YES\n \n OUTPUT_DIRECTORY        = @OUTPUT@\n STRIP_FROM_PATH         = @STRIP_FROM_PATH@\n+STRIP_FROM_PATH         += @BUILDDIR@\n GENERATE_HTML           = YES\n HTML_OUTPUT             = @HTML_OUTPUT@\n GENERATE_LATEX          = NO\ndiff --git a/doc/api/meson.build b/doc/api/meson.build\nindex d34c383694..6dda9bec46 100644\n--- a/doc/api/meson.build\n+++ b/doc/api/meson.build\n@@ -37,6 +37,7 @@ 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('BUILDDIR', meson.build_root())\n cdata.set('WARN_AS_ERROR', 'NO')\n if get_option('werror')\n     cdata.set('WARN_AS_ERROR', 'YES')\n",
    "prefixes": []
}