get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219069,
    "url": "http://patchwork.ozlabs.org/api/patches/2219069/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260402121356.31266-3-chrubis@suse.cz/",
    "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": "<20260402121356.31266-3-chrubis@suse.cz>",
    "list_archive_url": null,
    "date": "2026-04-02T12:13:41",
    "name": "[02/17] lib: shell: Remove needs_drivers from JSON parser",
    "commit_ref": null,
    "pull_url": null,
    "state": "needs-review-ack",
    "archived": false,
    "hash": "93909df19bf90d2ef609ed7532e4bf75f0be7436",
    "submitter": {
        "id": 8530,
        "url": "http://patchwork.ozlabs.org/api/people/8530/?format=api",
        "name": "Cyril Hrubis",
        "email": "chrubis@suse.cz"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260402121356.31266-3-chrubis@suse.cz/mbox/",
    "series": [
        {
            "id": 498474,
            "url": "http://patchwork.ozlabs.org/api/series/498474/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=498474",
            "date": "2026-04-02T12:13:40",
            "name": "Replace needs_drivers with needs_kconfigs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498474/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219069/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219069/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.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=W4SRvv9j;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=yPqdf7q5;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=W4SRvv9j;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=yPqdf7q5;\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-out1.suse.de;\n\tnone"
        ],
        "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 4fmglm385fz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 23:15:00 +1100 (AEDT)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 55F743E0C67\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  2 Apr 2026 14:14:58 +0200 (CEST)",
            "from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 806E53E2F46\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 14:14:02 +0200 (CEST)",
            "from smtp-out1.suse.de (smtp-out1.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:1])\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-4.smtp.seeweb.it (Postfix) with ESMTPS id 2DD5710006CD\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 14:14:02 +0200 (CEST)",
            "from imap1.dmz-prg2.suse.org (unknown [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-out1.suse.de (Postfix) with ESMTPS id C171C4D32C\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 12:13:56 +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 ACCC54A0B1\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 12:13:56 +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 D6j8KIRdzmmfDgAAD6G6ig\n (envelope-from <chrubis@suse.cz>)\n for <ltp@lists.linux.it>; Thu, 02 Apr 2026 12:13:56 +0000"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1775132036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=FCz1glNtLrRdu84aSM8UzkCrKDifdb5nOL4WaJJmDXk=;\n b=W4SRvv9jR7DjcWsl2LtMEQYs8j/2kyiOOuiulW1i02rK+Oa0kk2ksL5mHKbHK4d6rBlTYF\n P6Bh/aLo06mVmEWufnEDzXk9L1AiVO8qXw+DIXBpPjKsurUc+5a15xSUT8M4Xh4vVcsAiO\n h3GwPspv37HYcRlCdfgxAE/oAmCJnO8=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1775132036;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=FCz1glNtLrRdu84aSM8UzkCrKDifdb5nOL4WaJJmDXk=;\n b=yPqdf7q5PmlU33QYJtYikn8jorH7AJZtEo14wgYfgksfMFqyD5WaCWL1Mm4wdcVhdscio/\n wjiwnZjqUOEqR8Cg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1775132036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=FCz1glNtLrRdu84aSM8UzkCrKDifdb5nOL4WaJJmDXk=;\n b=W4SRvv9jR7DjcWsl2LtMEQYs8j/2kyiOOuiulW1i02rK+Oa0kk2ksL5mHKbHK4d6rBlTYF\n P6Bh/aLo06mVmEWufnEDzXk9L1AiVO8qXw+DIXBpPjKsurUc+5a15xSUT8M4Xh4vVcsAiO\n h3GwPspv37HYcRlCdfgxAE/oAmCJnO8=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1775132036;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=FCz1glNtLrRdu84aSM8UzkCrKDifdb5nOL4WaJJmDXk=;\n b=yPqdf7q5PmlU33QYJtYikn8jorH7AJZtEo14wgYfgksfMFqyD5WaCWL1Mm4wdcVhdscio/\n wjiwnZjqUOEqR8Cg=="
        ],
        "From": "Cyril Hrubis <chrubis@suse.cz>",
        "To": "ltp@lists.linux.it",
        "Date": "Thu,  2 Apr 2026 14:13:41 +0200",
        "Message-ID": "<20260402121356.31266-3-chrubis@suse.cz>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260402121356.31266-1-chrubis@suse.cz>",
        "References": "<20260402121356.31266-1-chrubis@suse.cz>",
        "MIME-Version": "1.0",
        "X-Spamd-Result": "default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[99.99%];\n MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];\n R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000];\n MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; ARC_NA(0.00)[];\n RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[];\n RCVD_TLS_ALL(0.00)[];\n PREVIOUSLY_DELIVERED(0.00)[ltp@lists.linux.it];\n FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[];\n MIME_TRACE(0.00)[0:+];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo, suse.cz:mid,\n suse.cz:email]",
        "X-Spam-Score": "-2.80",
        "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-4.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-4.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH 02/17] lib: shell: Remove needs_drivers from JSON\n parser",
        "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": "No shell tests were using it at the moment.\n\nSigned-off-by: Cyril Hrubis <chrubis@suse.cz>\n---\n testcases/lib/tst_run_shell.c | 5 -----\n 1 file changed, 5 deletions(-)",
    "diff": "diff --git a/testcases/lib/tst_run_shell.c b/testcases/lib/tst_run_shell.c\nindex c12361ef5..2778fb6d5 100644\n--- a/testcases/lib/tst_run_shell.c\n+++ b/testcases/lib/tst_run_shell.c\n@@ -68,7 +68,6 @@ enum test_attr_ids {\n \tNEEDS_CMDS,\n \tNEEDS_DEVFS,\n \tNEEDS_DEVICE,\n-\tNEEDS_DRIVERS,\n \tNEEDS_HUGETLBFS,\n \tNEEDS_KCONFIGS,\n \tNEEDS_ROFS,\n@@ -103,7 +102,6 @@ static ujson_obj_attr test_attrs[] = {\n \tUJSON_OBJ_ATTR_IDX(NEEDS_CMDS, \"needs_cmds\", UJSON_ARR),\n \tUJSON_OBJ_ATTR_IDX(NEEDS_DEVFS, \"needs_devfs\", UJSON_BOOL),\n \tUJSON_OBJ_ATTR_IDX(NEEDS_DEVICE, \"needs_device\", UJSON_BOOL),\n-\tUJSON_OBJ_ATTR_IDX(NEEDS_DRIVERS, \"needs_drivers\", UJSON_ARR),\n \tUJSON_OBJ_ATTR_IDX(NEEDS_HUGETLBFS, \"needs_hugetlbfs\", UJSON_BOOL),\n \tUJSON_OBJ_ATTR_IDX(NEEDS_KCONFIGS, \"needs_kconfigs\", UJSON_ARR),\n \tUJSON_OBJ_ATTR_IDX(NEEDS_ROFS, \"needs_rofs\", UJSON_BOOL),\n@@ -512,9 +510,6 @@ static void parse_metadata(void)\n \t\tcase NEEDS_DEVICE:\n \t\t\ttest.needs_device = val.val_bool;\n \t\tbreak;\n-\t\tcase NEEDS_DRIVERS:\n-\t\t\ttest.needs_drivers = parse_strarr(&reader, &val);\n-\t\tbreak;\n \t\tcase NEEDS_HUGETLBFS:\n \t\t\ttest.needs_hugetlbfs = val.val_bool;\n \t\tbreak;\n",
    "prefixes": [
        "02/17"
    ]
}