get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2232275,
    "url": "http://patchwork.ozlabs.org/api/patches/2232275/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260504-fix_b4_check-v1-1-8673c1083319@suse.com/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/projects/59/?format=api",
        "name": "Linux Test Project development",
        "link_name": "ltp",
        "list_id": "ltp.lists.linux.it",
        "list_email": "ltp@lists.linux.it",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260504-fix_b4_check-v1-1-8673c1083319@suse.com>",
    "list_archive_url": null,
    "date": "2026-05-04T08:11:47",
    "name": "b4: fix errors in b4 prep --check command",
    "commit_ref": null,
    "pull_url": null,
    "state": "needs-review-ack",
    "archived": false,
    "hash": "0ce4c7b4e2fcafd5e935e65a53162717db26125b",
    "submitter": {
        "id": 83220,
        "url": "http://patchwork.ozlabs.org/api/people/83220/?format=api",
        "name": "Andrea Cervesato",
        "email": "andrea.cervesato@suse.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260504-fix_b4_check-v1-1-8673c1083319@suse.com/mbox/",
    "series": [
        {
            "id": 502624,
            "url": "http://patchwork.ozlabs.org/api/series/502624/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=502624",
            "date": "2026-05-04T08:11:47",
            "name": "b4: fix errors in b4 prep --check command",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502624/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2232275/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2232275/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ltp@lists.linux.it"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ltp@picard.linux.it"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=VcUks06d;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.de\n header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=dJc4yyD2;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa\n header.b=VcUks06d;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=dJc4yyD2;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)",
            "smtp-out2.suse.de;\n dkim=pass header.d=suse.de header.s=susede2_rsa header.b=VcUks06d;\n dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=dJc4yyD2"
        ],
        "Received": [
            "from picard.linux.it (picard.linux.it [213.254.12.146])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g8Drh5ZB1z1y04\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 04 May 2026 18:12:03 +1000 (AEST)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id C2BBF3E2C80\n\tfor <incoming@patchwork.ozlabs.org>; Mon,  4 May 2026 10:11:59 +0200 (CEST)",
            "from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::3])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 809FA3D2280\n for <ltp@lists.linux.it>; Mon,  4 May 2026 10:11:56 +0200 (CEST)",
            "from smtp-out2.suse.de (smtp-out2.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:2])\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 in-3.smtp.seeweb.it (Postfix) with ESMTPS id C47F21A004E5\n for <ltp@lists.linux.it>; Mon,  4 May 2026 10:11:54 +0200 (CEST)",
            "from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id 3A6635C05B;\n Mon,  4 May 2026 08:11:48 +0000 (UTC)",
            "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 223F1593A3;\n Mon,  4 May 2026 08:11:48 +0000 (UTC)",
            "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id 7bbIBsRU+GmXUgAAD6G6ig\n (envelope-from <andrea.cervesato@suse.de>); Mon, 04 May 2026 08:11:48 +0000"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1777882308;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=itXkkeahZ5vQwe3TtXph8gTVZcqYFLyakToevXkU9YA=;\n b=VcUks06di6Pwm3/gtiQU3heeQamzUBA7ChCm3uOOwOjNnFauB8CcsnNn487BNwyTwHU8UC\n ENNFXI0dYux95JO+4tPazhMKnlP7uAoT8cSpo3U6OuSQyhiZ1NwDjBghZbn8xgutoarQX5\n 4CWJmU12pKdLhTboVMkFYNx8/SyvSo0=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1777882308;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=itXkkeahZ5vQwe3TtXph8gTVZcqYFLyakToevXkU9YA=;\n b=dJc4yyD2cKtnwqyQ9U+40vHnwfjeJjD8TBi/+MyAeEEj/jTuhWUM5+GAbCZLDSkQXlruok\n jz/FQQzHI9gU0GCg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1777882308;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=itXkkeahZ5vQwe3TtXph8gTVZcqYFLyakToevXkU9YA=;\n b=VcUks06di6Pwm3/gtiQU3heeQamzUBA7ChCm3uOOwOjNnFauB8CcsnNn487BNwyTwHU8UC\n ENNFXI0dYux95JO+4tPazhMKnlP7uAoT8cSpo3U6OuSQyhiZ1NwDjBghZbn8xgutoarQX5\n 4CWJmU12pKdLhTboVMkFYNx8/SyvSo0=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1777882308;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=itXkkeahZ5vQwe3TtXph8gTVZcqYFLyakToevXkU9YA=;\n b=dJc4yyD2cKtnwqyQ9U+40vHnwfjeJjD8TBi/+MyAeEEj/jTuhWUM5+GAbCZLDSkQXlruok\n jz/FQQzHI9gU0GCg=="
        ],
        "From": "Andrea Cervesato <andrea.cervesato@suse.de>",
        "Date": "Mon, 04 May 2026 10:11:47 +0200",
        "MIME-Version": "1.0",
        "Message-Id": "<20260504-fix_b4_check-v1-1-8673c1083319@suse.com>",
        "X-B4-Tracking": "v=1; b=H4sIAMJU+GkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE\n vPSU3UzU4B8JSMDIzMDUwMT3bTMivgkk/jkjNTkbF0TY0tDY5Mki8Q0S2MloJaColSgPNi46Nj\n aWgD8abxvXgAAAA==",
        "X-Change-ID": "20260504-fix_b4_check-439134b8af93",
        "To": "Linux Test Project <ltp@lists.linux.it>",
        "X-Mailer": "b4 0.14.2",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1777882308; l=929;\n i=andrea.cervesato@suse.com; s=20251210; h=from:subject:message-id;\n bh=YlxM24VGOsEw198F3fuauzNP+s6OPVBsdmxTyyj+g5U=;\n b=EW4PqtHEQrVeSXBqSBth1kFF9NC+7sk9869yUKvz4EY4El/+f3OxREh90RsQtYivv737qF9YU\n KeZxXi/kih+D1J9gvyc2fsVvhG9ABXNpE1PE6ko2xQp9uYAN2kHS39o",
        "X-Developer-Key": "i=andrea.cervesato@suse.com; a=ed25519;\n pk=zKY+6GCauOiuHNZ//d8PQ/UL4jFCTKbXrzXAOQSLevI=",
        "X-Rspamd-Action": "no action",
        "X-Rspamd-Server": "rspamd2.dmz-prg2.suse.org",
        "X-Spamd-Result": "default: False [-4.51 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000];\n R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[];\n DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received,2a07:de40:b281:104:10:150:64:97:from];\n FUZZY_RATELIMITED(0.00)[rspamd.com];\n RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+];\n ARC_NA(0.00)[];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];\n URIBL_BLOCKED(0.00)[suse.de:dkim,checkpatch.pl:url,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.com:mid,suse.com:email];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,suse.com:mid,suse.com:email,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns];\n TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.de:+]",
        "X-Rspamd-Queue-Id": "3A6635C05B",
        "X-Spam-Score": "-4.51",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-3.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-3.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH] b4: fix errors in b4 prep --check command",
        "X-BeenThere": "ltp@lists.linux.it",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux Test Project <ltp.lists.linux.it>",
        "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>",
        "List-Archive": "<http://lists.linux.it/pipermail/ltp/>",
        "List-Post": "<mailto:ltp@lists.linux.it>",
        "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>",
        "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it",
        "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"
    },
    "content": "From: Andrea Cervesato <andrea.cervesato@suse.com>\n\nSet non-file mode for `b4 prep --check` command, so checkpatch won't\nthreat commits as files.\n\nSigned-off-by: Andrea Cervesato <andrea.cervesato@suse.com>\n---\n .b4-config | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\n\n---\nbase-commit: 72ca484cca53710b956ba2fcc1ff203fe9c9b73b\nchange-id: 20260504-fix_b4_check-439134b8af93\n\nBest regards,",
    "diff": "diff --git a/.b4-config b/.b4-config\nindex ff3199624cb250239c7e62c3b1939085a7e4e2c2..aea68ad8f622ea701c90037ee7a1968a7d4a209e 100644\n--- a/.b4-config\n+++ b/.b4-config\n@@ -6,5 +6,5 @@\n     pw-project = ltp\n \n     # other checkpatch.pl options from .checkpatch.conf are used\n-    prep-perpatch-check-cmd = ./scripts/checkpatch.pl -q --mailback --showfile\n+    prep-perpatch-check-cmd = ./scripts/checkpatch.pl -q --mailback --showfile --no-f\n     am-perpatch-check-cmd = ./scripts/checkpatch.pl -q --mailback\n",
    "prefixes": []
}