get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218076,
    "url": "http://patchwork.ozlabs.org/api/patches/2218076/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260331-fix-tartget-typo-v1-1-4f5ff0ea325a@bootlin.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260331-fix-tartget-typo-v1-1-4f5ff0ea325a@bootlin.com>",
    "list_archive_url": null,
    "date": "2026-03-31T11:05:41",
    "name": "system: fix typo in comment",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "2c7dbef406bf7a5f137ec6c85abad9c81bd77a6b",
    "submitter": {
        "id": 83908,
        "url": "http://patchwork.ozlabs.org/api/people/83908/?format=api",
        "name": "Luca Ceresoli",
        "email": "luca.ceresoli@bootlin.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260331-fix-tartget-typo-v1-1-4f5ff0ea325a@bootlin.com/mbox/",
    "series": [
        {
            "id": 498176,
            "url": "http://patchwork.ozlabs.org/api/series/498176/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=498176",
            "date": "2026-03-31T11:05:41",
            "name": "system: fix typo in comment",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498176/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218076/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218076/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=SSbN94SN;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\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 4flQKL1PkSz1yGH\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 31 Mar 2026 22:06:11 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id E742060F86;\n\tTue, 31 Mar 2026 11:06:08 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 8f9pWdI6O4zt; Tue, 31 Mar 2026 11:06:06 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 90F06607D1;\n\tTue, 31 Mar 2026 11:06:06 +0000 (UTC)",
            "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id 49212E4\n for <buildroot@buildroot.org>; Tue, 31 Mar 2026 11:06:04 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 3AC2040684\n for <buildroot@buildroot.org>; Tue, 31 Mar 2026 11:06:04 +0000 (UTC)",
            "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id IrW3OpQiwC-2 for <buildroot@buildroot.org>;\n Tue, 31 Mar 2026 11:06:03 +0000 (UTC)",
            "from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 438CB40593\n for <buildroot@buildroot.org>; Tue, 31 Mar 2026 11:06:02 +0000 (UTC)",
            "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-03.galae.net (Postfix) with ESMTPS id D6DC94E42885\n for <buildroot@buildroot.org>; Tue, 31 Mar 2026 11:05:59 +0000 (UTC)",
            "from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id 984816029D\n for <buildroot@buildroot.org>; Tue, 31 Mar 2026 11:05:59 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 543F0104505CA;\n Tue, 31 Mar 2026 13:05:57 +0200 (CEST)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 90F06607D1",
            "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 438CB40593"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774955166;\n\tbh=naYkLaknjlUwm+SdfRsYXdRtpvuhYmJ+AYLJMCqCMXY=;\n\th=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From:Reply-To:From;\n\tb=SSbN94SNvRhfd/jJ2FyI8xfHYaH+mNRRvtxq5jjTzmD3iOJEeHN1rKv3NDbkRhvT2\n\t XZncdba4EA0pi/23S+TK9/2mo/951Y3JRZPUos6EarPgt4+usySl/rLDsXbXlTS+B4\n\t oLxJneUTpKr1G8kjdFKTiDStiENewPKPlIrclntyrtY5mU9aGTSlD7a8pmSOvFoe7n\n\t yb8KJNJKt5E0DsKcPZVNBEa/vlGwamvCIPRts+HVdONTzSdt6f2M2G4rVaU3vnRLE3\n\t 9ebJwnQzynfFl4oaPpkFnz2Fl1rs3iQ83HTeKSGNYoRoGYdWNKwjQV+edAFXf2Bp9q\n\t OvCPFiZ6rsyxQ==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=185.246.85.4;\n helo=smtpout-03.galae.net; envelope-from=luca.ceresoli@bootlin.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org 438CB40593",
        "Date": "Tue, 31 Mar 2026 13:05:41 +0200",
        "MIME-Version": "1.0",
        "Message-Id": "<20260331-fix-tartget-typo-v1-1-4f5ff0ea325a@bootlin.com>",
        "X-B4-Tracking": "v=1; b=H4sIAIWqy2kC/yXMyw5AMBCF4VeRWZvEpSnxKmJBOxgLpB1CxLsrl\n l9yzn+BJ8fkoYoucLSz52UOSOMIzNjOAyHbYMiSTCd5nmLPB0rrZCBBOdcFS2NKpanQqrAQbqu\n jsPmSdfPbb91ERt4O3PcD3Jlnl3QAAAA=",
        "X-Change-ID": "20260331-fix-tartget-typo-8cc846e7647d",
        "To": "buildroot@buildroot.org",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n Luca Ceresoli <luca.ceresoli@bootlin.com>",
        "X-Mailer": "b4 0.15.1",
        "X-Last-TLS-Session-Version": "TLSv1.3",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=bootlin.com; s=dkim;\n t=1774955158; h=from:subject:date:message-id:to:cc:mime-version:content-type:\n content-transfer-encoding; bh=4e4JtSgp48nFY/B9d6wKf6tfguT6G7LvEDpF1+W5M1U=;\n b=K63f2E1ptP0wTO9YfJgnCRdTaGxY0eifXe6iB8lpkg/xyamkJr5/MaNes10rL709z09tQG\n vqPCOEwEI2Lrww3mWZaP9l3Dn9AnIl+JoM5qHGrgPbxa3ynVG964+kOko47xnjJZPZT7yy\n Foa3G2bE74iBIl5KSxag2NPFiOg95d7mpFGTHihLr6lgzRaSZoYZ0Q1E9tgykmz0//Vms3\n 89miDIvdkA+QgEWV4WC5fkC0+LXAb7FrLSAi9D5/Xn0050lazGcZg4P7+4aNTuNUF9nZW8\n rxT1T+M5kfV4jUaZwVltF3sfwoG2Vsoaw5k35SLKMIjUe9r5OVH6OXukxqSJ1A==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp2.osuosl.org;\n dmarc=pass (p=reject dis=none)\n header.from=bootlin.com",
            "smtp2.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=K63f2E1p"
        ],
        "Subject": "[Buildroot] [PATCH] system: fix typo in comment",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "From": "Luca Ceresoli via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Luca Ceresoli <luca.ceresoli@bootlin.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "Fix \"TARTGET_DIR\" -> \"TARGET_DIR\" typo.\n\nSigned-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>\n---\n system/system.mk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\n\n---\nbase-commit: 9018402c2c0bd92be0664df82d943e11fe782a6b\nchange-id: 20260331-fix-tartget-typo-8cc846e7647d\n\nBest regards,\n--  \nLuca Ceresoli <luca.ceresoli@bootlin.com>",
    "diff": "diff --git a/system/system.mk b/system/system.mk\nindex 52e810868a82..3da9d3b2ddd1 100644\n--- a/system/system.mk\n+++ b/system/system.mk\n@@ -60,7 +60,7 @@ endef\n endif\n \n # This function rsyncs the skeleton directory in $(1) to the destination\n-# in $(2), which should be either $(TARTGET_DIR) or $(STAGING_DIR)\n+# in $(2), which should be either $(TARGET_DIR) or $(STAGING_DIR)\n define SYSTEM_RSYNC\n \trsync -a --ignore-times $(RSYNC_VCS_EXCLUSIONS) \\\n \t\t--chmod=u=rwX,go=rX --exclude .empty --exclude '*~' \\\n",
    "prefixes": []
}