get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1235096,
    "url": "http://patchwork.ozlabs.org/api/patches/1235096/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20200207180829.165689-4-arnout@mind.be/",
    "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": "<20200207180829.165689-4-arnout@mind.be>",
    "list_archive_url": null,
    "date": "2020-02-07T18:08:22",
    "name": "[v3,03/10] package/cargo-bin: install if rust-bin selected",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "41ab3e21869a31084db783d52514e2b95d81b6f1",
    "submitter": {
        "id": 11809,
        "url": "http://patchwork.ozlabs.org/api/people/11809/?format=api",
        "name": "Arnout Vandecappelle",
        "email": "arnout@mind.be"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20200207180829.165689-4-arnout@mind.be/mbox/",
    "series": [
        {
            "id": 157387,
            "url": "http://patchwork.ozlabs.org/api/series/157387/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=157387",
            "date": "2020-02-07T18:08:19",
            "name": "Merge rust and cargo",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/157387/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1235096/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1235096/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=busybox.net (client-ip=140.211.166.138;\n\thelo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=mind.be",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=mind.be header.i=@mind.be header.a=rsa-sha256\n\theader.s=google header.b=VLW/JjLI; dkim-atps=neutral"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 48Djws2g02z9sPK\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n\tSat,  8 Feb 2020 05:09:01 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 6CE0B86E6E;\n\tFri,  7 Feb 2020 18:08:59 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id AL0wyEyED6vU; Fri,  7 Feb 2020 18:08:54 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E3C0586E49;\n\tFri,  7 Feb 2020 18:08:53 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 7BB591BF38E\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:08:52 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 7860987D57\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:08:52 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id rfPI3vaTdY5l for <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:08:49 +0000 (UTC)",
            "from mail-wr1-f65.google.com (mail-wr1-f65.google.com\n\t[209.85.221.65])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 70E6087D33\n\tfor <buildroot@buildroot.org>; Fri,  7 Feb 2020 18:08:49 +0000 (UTC)",
            "by mail-wr1-f65.google.com with SMTP id t3so3744529wru.7\n\tfor <buildroot@buildroot.org>; Fri, 07 Feb 2020 10:08:49 -0800 (PST)",
            "from localhost.localdomain (ip-188-118-3-185.reverse.destiny.be.\n\t[188.118.3.185]) by smtp.gmail.com with ESMTPSA id\n\tb18sm4312710wru.50.2020.02.07.10.08.46\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 07 Feb 2020 10:08:47 -0800 (PST)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=808FjeOvRnFsy/tOwgGNHhZwyggKtmx2UIC2/WSwr7A=;\n\tb=VLW/JjLI/qs3criGpvCZ5UtppS6BtVSG9OnjiXcDywPN6uWJIak1NwQVoq0Wu2ddpA\n\tevzZpNardBGn4OorkpzVqkBETL3NzKF6bce4NCMYx09x2a8tQ7C0My039mQkVBWBA+CW\n\tIZzDLFckyfNLEF2g6wYX3mlUzR7w69QtJq958sNY4v9kMzjq+s6MsDfFUzK6h3w68BkU\n\tNjzhJSZsvj6zH6PR3UDbf/RnmVkeh4N4zQVKXR8+Wdf2NIugzFpJEXlJR+fA6UPedU/J\n\tLtYeghUPPsqbCdov+wX+CRXRHUpobCPKymoDpp1OkT4Cp53oo7pM28UQhaM7z6E/ILXd\n\tQiuQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=808FjeOvRnFsy/tOwgGNHhZwyggKtmx2UIC2/WSwr7A=;\n\tb=KsJbTUj0bYu4b6ea9kTEOSl50DSA7/KkbpvrUOK6c+RYSMONBLogxza82XytSpvCyf\n\tn7RA+fSB1SwTBV4Kg+xiI5St9rZotvB235nZlqxIH23cG8tR27WQJsT361zYbbKzSzH3\n\t3YgjLeiizKaw24H+coHXI6mngNYfzRCTjwi20I/34BWMeMvstx0mPW8OTBV1kePqyPwH\n\tpIQx9OohI8LP/l4IzhvO2ORR7P104j2idZJXEeOij7evHWbIRMSpCfhHgNZ2YIZdkpOP\n\tRpn50BXP+xWkoJyuJ9UjTqfH+Tzq58+R++eHg911k8xwe4Ry1s3CmoCOBh4XJapjNPNg\n\tRqVA==",
        "X-Gm-Message-State": "APjAAAU1k93OwjWxHL1x7tK6IFRAg6/ak4NJCew2+R6ZkFLR3JKohDU9\n\tqTGlpfehUnVYEbHb16+1imYtpD2rZNs=",
        "X-Google-Smtp-Source": "APXvYqyYrf0MVRmabdn5Yj0/qQw4ebnkL187pPrCDu/4yPoMVa08sJamvmNtlk62NFFCuQiBp8Z5XQ==",
        "X-Received": "by 2002:a5d:6390:: with SMTP id p16mr282529wru.170.1581098927522;\n\tFri, 07 Feb 2020 10:08:47 -0800 (PST)",
        "From": "\"Arnout Vandecappelle (Essensium/Mind)\" <arnout@mind.be>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri,  7 Feb 2020 19:08:22 +0100",
        "Message-Id": "<20200207180829.165689-4-arnout@mind.be>",
        "X-Mailer": "git-send-email 2.24.1",
        "In-Reply-To": "<20200207180829.165689-1-arnout@mind.be>",
        "References": "<20200207180829.165689-1-arnout@mind.be>",
        "MIME-Version": "1.0",
        "Subject": "[Buildroot] [PATCH v3 03/10] package/cargo-bin: install if rust-bin\n\tselected",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "Cc": "Eric Le Bihan <eric.le.bihan.dev@free.fr>,\n\tPatrick Havelange <patrick.havelange@essensium.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "From: Eric Le Bihan <eric.le.bihan.dev@free.fr>\n\nIf host-rust-bin, the pre-built Rust compiler, is selected as a rustc\nprovider, then also install the pre-built cargo binary to be coherent.\n\nSigned-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>\nSigned-off-by: Patrick Havelange <patrick.havelange@essensium.com>\n[Arnout: don't install cargo config, alread moved]\nSigned-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>\n---\n package/cargo-bin/cargo-bin.mk | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/package/cargo-bin/cargo-bin.mk b/package/cargo-bin/cargo-bin.mk\nindex 3614f7a53d..3eaf417531 100644\n--- a/package/cargo-bin/cargo-bin.mk\n+++ b/package/cargo-bin/cargo-bin.mk\n@@ -10,4 +10,10 @@ CARGO_BIN_SOURCE = cargo-$(CARGO_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz\n CARGO_BIN_LICENSE = Apache-2.0 or MIT\n CARGO_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT\n \n+ifeq ($(BR2_PACKAGE_HOST_RUST_BIN),y)\n+define HOST_CARGO_BIN_INSTALL_CMDS\n+\t$(@D)/install.sh --prefix=$(HOST_DIR) --disable-ldconfig\n+endef\n+endif\n+\n $(eval $(host-generic-package))\n",
    "prefixes": [
        "v3",
        "03/10"
    ]
}