get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221112,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2221112/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260408045531.3006678-5-jsnow@redhat.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260408045531.3006678-5-jsnow@redhat.com>",
    "date": "2026-04-08T04:55:25",
    "name": "[v2,04/10] qapi: add \"Details:\" markers where needed",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2f3011270c52e0da0f11fa2c301a46f19d71786e",
    "submitter": {
        "id": 64343,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/64343/?format=api",
        "name": "John Snow",
        "email": "jsnow@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260408045531.3006678-5-jsnow@redhat.com/mbox/",
    "series": [
        {
            "id": 499174,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499174/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=499174",
            "date": "2026-04-08T04:55:23",
            "name": "qapi: enforce section ordering",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/499174/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221112/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221112/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=AyFTYiSo;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frXs32lyHz1yD6\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 05:17:59 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wAYKG-0002tp-4G; Wed, 08 Apr 2026 15:12:32 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <jsnow@redhat.com>) id 1wAYIy-0007JN-2A\n for qemu-devel@nongnu.org; Wed, 08 Apr 2026 15:11:12 -0400",
            "from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <jsnow@redhat.com>) id 1wAKxm-0005Vj-QN\n for qemu-devel@nongnu.org; Wed, 08 Apr 2026 00:56:28 -0400",
            "from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-468-4RGc_WEINyaZAk0gn6OHHw-1; Wed,\n 08 Apr 2026 00:56:23 -0400",
            "from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 543E9180035D; Wed,  8 Apr 2026 04:56:20 +0000 (UTC)",
            "from jsnow-thinkpadp16vgen1.westford.csb (unknown [10.22.88.7])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 3146619560A6; Wed,  8 Apr 2026 04:56:11 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1775624186;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=c/9k75/MczGWsqLeIHbKFOkDgyIfJZC28SvYOfYhjqg=;\n b=AyFTYiSoXjdQS5r6ZATL6buW3UuGpelk4pJfodTqq65UBUEG2EQYfFnxObPk8Ao+c2Lguw\n bgEd2OYQ91Rfozv3pP65hHr6iOyUfsx1vYs58T5tmXiu22RI8RQAzFlG3CjWfKMjF6NrKa\n oiiDGegYXu+zeYK/rwGbN4MQM8HkN3E=",
        "X-MC-Unique": "4RGc_WEINyaZAk0gn6OHHw-1",
        "X-Mimecast-MFC-AGG-ID": "4RGc_WEINyaZAk0gn6OHHw_1775624180",
        "From": "John Snow <jsnow@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Kashyap Chamarthy <kchamart@redhat.com>,\n Stefan Berger <stefanb@linux.vnet.ibm.com>,\n Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,\n Michael Roth <michael.roth@amd.com>,\n =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n qemu-block@nongnu.org, Pierrick Bouvier <pierrick.bouvier@linaro.org>,\n Yanan Wang <wangyanan55@huawei.com>, Hanna Reitz <hreitz@redhat.com>,\n Peter Xu <peterx@redhat.com>, Igor Mammedov <imammedo@redhat.com>,\n \"Michael S. Tsirkin\" <mst@redhat.com>, Kevin Wolf <kwolf@redhat.com>,\n\t=?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>,\n Stefano Garzarella <sgarzare@redhat.com>, =?utf-8?q?Daniel_P=2E_Berrang?=\n\t=?utf-8?q?=C3=A9?= <berrange@redhat.com>, Lukas Straub <lukasstraub2@web.de>,\n Jason Wang <jasowang@redhat.com>, Alex Williamson <alex@shazbot.org>,\n Paolo Bonzini <pbonzini@redhat.com>, Fabiano Rosas <farosas@suse.de>,\n Zhao Liu <zhao1.liu@intel.com>,\n Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?C=C3=A9dric_Le_?=\n\t=?utf-8?q?Goater?= <clg@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>,\n Peter Maydell <peter.maydell@linaro.org>, Eric Blake <eblake@redhat.com>,\n\t=?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>,\n Kostiantyn Kostiuk <kkostiuk@redhat.com>, Jiri Pirko <jiri@resnulli.us>,\n Markus Armbruster <armbru@redhat.com>, John Snow <jsnow@redhat.com>,\n Ani Sinha <anisinha@redhat.com>,\n Marcel Apfelbaum <marcel.apfelbaum@gmail.com>",
        "Subject": "[PATCH v2 04/10] qapi: add \"Details:\" markers where needed",
        "Date": "Wed,  8 Apr 2026 00:55:25 -0400",
        "Message-ID": "<20260408045531.3006678-5-jsnow@redhat.com>",
        "In-Reply-To": "<20260408045531.3006678-1-jsnow@redhat.com>",
        "References": "<20260408045531.3006678-1-jsnow@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.12",
        "Received-SPF": "pass client-ip=170.10.133.124; envelope-from=jsnow@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com",
        "X-Spam_score_int": "-25",
        "X-Spam_score": "-2.6",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.54,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-0.001,\n SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "Add additional \"Details:\" markers in places where doing so *currently*\nimpacts the rendered output order of documentation sections.\n\nThere are two cases where this is done:\n\n(1) Where we insert stub/autogenerated documentation for\n    members/args/etc and return information is dependent on the\n    intro-details split location. Adding a \"Details:\" marker facilitates\n    inserting this information in the middle of the documentation block\n    instead of at the end.\n\n    These are locations where we likely SHOULD have been using the\n    \"TODO:\" hack which was formalized in the previous commit, but had\n    not been.\n\n(2) Cases where \"Since:\" currently behaves as the Intro/Details\n    separation point, but in the wrong location. Since this edit changes\n    the output, these changes are included in this patch as well. These\n    locations are for HV_BALLOON_STATUS_REPORT, query-gic-capabilities,\n    and query-sev.\n\nSigned-off-by: John Snow <jsnow@redhat.com>\n\n---\n\n[Review note: this patch DOES change the output of the *.ir files, but\nintentionally for these locations. --js]\n\nSigned-off-by: John Snow <jsnow@redhat.com>\n---\n qapi/block-core.json | 3 +++\n qapi/machine.json    | 2 ++\n qapi/misc-arm.json   | 2 ++\n qapi/misc-i386.json  | 2 ++\n qapi/qom.json        | 4 ++++\n qga/qapi-schema.json | 2 ++\n 6 files changed, 15 insertions(+)",
    "diff": "diff --git a/qapi/block-core.json b/qapi/block-core.json\nindex 508b081ac16..abdcddb0a09 100644\n--- a/qapi/block-core.json\n+++ b/qapi/block-core.json\n@@ -5007,6 +5007,9 @@\n # @blockdev-reopen:\n #\n # Reopens one or more block devices using the given set of options.\n+#\n+# Details:\n+#\n # Any option not specified will be reset to its default value\n # regardless of its previous status.  If an option cannot be changed\n # or a particular driver does not support reopening then the command\ndiff --git a/qapi/machine.json b/qapi/machine.json\nindex bc2279b2526..012f61e2a7e 100644\n--- a/qapi/machine.json\n+++ b/qapi/machine.json\n@@ -1223,6 +1223,8 @@\n # Emitted when the hv-balloon driver receives a \"STATUS\" message from\n # the guest.\n #\n+# Details:\n+#\n # .. note:: This event is rate-limited.\n #\n # Since: 8.2\ndiff --git a/qapi/misc-arm.json b/qapi/misc-arm.json\nindex 4dc66d00e5c..4e3f1a54055 100644\n--- a/qapi/misc-arm.json\n+++ b/qapi/misc-arm.json\n@@ -33,6 +33,8 @@\n # It will return a list of `GICCapability` objects that describe its\n # capability bits.\n #\n+# Details:\n+#\n # On non-ARM targets this command will report an error as the GIC\n # technology is not applicable.\n #\ndiff --git a/qapi/misc-i386.json b/qapi/misc-i386.json\nindex 05a94d6c416..c92853507f3 100644\n--- a/qapi/misc-i386.json\n+++ b/qapi/misc-i386.json\n@@ -127,6 +127,8 @@\n #\n # Return information about SEV/SEV-ES/SEV-SNP.\n #\n+# Details:\n+#\n # If unavailable due to an incompatible configuration the returned\n # @enabled field is set to 'false' and the state of all other fields\n # is unspecified.\ndiff --git a/qapi/qom.json b/qapi/qom.json\nindex 1b47abd44e9..568b7d4b997 100644\n--- a/qapi/qom.json\n+++ b/qapi/qom.json\n@@ -777,6 +777,8 @@\n #\n # Properties for memory-backend-shm objects.\n #\n+# Details:\n+#\n # This memory backend supports only shared memory, which is the\n # default.\n #\n@@ -792,6 +794,8 @@\n #\n # Properties for memory-backend-epc objects.\n #\n+# Details:\n+#\n # The @merge boolean option is false by default with epc\n #\n # The @dump boolean option is false by default with epc\ndiff --git a/qga/qapi-schema.json b/qga/qapi-schema.json\nindex c57bc9a02f6..f2c17d08703 100644\n--- a/qga/qapi-schema.json\n+++ b/qga/qapi-schema.json\n@@ -420,6 +420,8 @@\n #\n # Get guest fsfreeze state.\n #\n+# Details:\n+#\n # .. note:: This may fail to properly report the current state as a\n #    result of some other guest processes having issued an fs\n #    freeze/thaw.\n",
    "prefixes": [
        "v2",
        "04/10"
    ]
}