get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1235094,
    "url": "http://patchwork.ozlabs.org/api/patches/1235094/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20200207180829.165689-3-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-3-arnout@mind.be>",
    "list_archive_url": null,
    "date": "2020-02-07T18:08:21",
    "name": "[v3,02/10] package/rust: build and install cargo",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b79bce06e865d46dc23c81f592329ccec984386a",
    "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-3-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/1235094/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1235094/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.137;\n\thelo=fraxinus.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=E28tmrHi; dkim-atps=neutral"
        ],
        "Received": [
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 48Djwh0ygTz9sSG\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n\tSat,  8 Feb 2020 05:08:51 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id BCA11868D9;\n\tFri,  7 Feb 2020 18:08:48 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 5vRFh_Rx3Kt4; Fri,  7 Feb 2020 18:08:46 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id DD4E3868EF;\n\tFri,  7 Feb 2020 18:08:46 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id BD0C81BF38E\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:08:45 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id B58DC20492\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:08:45 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id rF7UnxHrB+Bs for <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:08:44 +0000 (UTC)",
            "from mail-wm1-f67.google.com (mail-wm1-f67.google.com\n\t[209.85.128.67])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 50A8F20131\n\tfor <buildroot@buildroot.org>; Fri,  7 Feb 2020 18:08:44 +0000 (UTC)",
            "by mail-wm1-f67.google.com with SMTP id s10so3471816wmh.3\n\tfor <buildroot@buildroot.org>; Fri, 07 Feb 2020 10:08:44 -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\tz3sm4231557wrs.32.2020.02.07.10.08.41\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 07 Feb 2020 10:08:41 -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=uN6jShHr7N3lRaKGh3yzDxqSUk0Lyje9GlAgFagT6kI=;\n\tb=E28tmrHiaKvr0AYe4Muhg0mVI1JzWncRraA0VnlOv7b3ZhubeEKHGsZdj6Z1PsosYP\n\t/9M2vEjppdOSOgDvZ+geVJRfjZjxCv4ike9V8BGpbo/fP1XTK1oHybAWbPYep2M8AdDs\n\tCYL0cWz2XzmxLZFByQBxqHtpAOtE2So4HthfX5UzBPbOTs2KxxS3W4geORkPlZuXkjWq\n\tYqW5RnEqZXeNYP6WD7X6dvQAF2io9Kj9o7+ABgjwJhL3NqWGjF1DW47EMi3gq1HixXgI\n\tUSoTBAOld1sR4qo7mDYsNXhYcNiAnkZ4Ac6yyo5nLCUvcb4uK095Zs22/x5mSYQ5WUWD\n\tJwkw==",
        "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=uN6jShHr7N3lRaKGh3yzDxqSUk0Lyje9GlAgFagT6kI=;\n\tb=tiKoqUzfqYhwAWXhmM1+a1wW7Qoq82jY+YQ0a2ftNPGnSyCgLKUiB3wU0/PWsV9ujS\n\tSSQbM1mF4N1H+1LAAEsd37iyp1gRMT6/9JL61gQqKSUmPhfU+qMtOvX6ZFbhegMhPcqJ\n\tuMabS7BKuReUaKgPuyTkyGQDmeAcILthjPev+REHNhnvtFEIlj3X48iHnXnX32MVIUgF\n\tLVaJZ2LS5ZqOGTYedvf7IkjsPHrRwEes0tgmmDYNiyRngngMFiPeUBUix7ABSAaK7Fno\n\tBzjgKWpUYmcx4rbCda2I+sGAuSWbxLN6tsNE9BPf15RPEghkMVqVnf05vYfIFn+skA/l\n\tTK1A==",
        "X-Gm-Message-State": "APjAAAVlaspfg0Wd/WVLE+meA8f20sMVnTind9ojSp6lPIQmtmVsBckd\n\tSiY66LNmO2rCaiFjs2iPkFh3C6eQ2Gw=",
        "X-Google-Smtp-Source": "APXvYqxmPUg79AxjS9fCi9LTz8JkTh6L+7CfcaWwBgYAGOfs2WhSHTLZkQ1lgeNxCFtDkKxTjJaRUA==",
        "X-Received": "by 2002:a7b:ce84:: with SMTP id q4mr5382538wmj.57.1581098922150; \n\tFri, 07 Feb 2020 10:08:42 -0800 (PST)",
        "From": "\"Arnout Vandecappelle (Essensium/Mind)\" <arnout@mind.be>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri,  7 Feb 2020 19:08:21 +0100",
        "Message-Id": "<20200207180829.165689-3-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 02/10] package/rust: build and install cargo",
        "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>,\n\tSam Voss <sam.voss@rockwellcollins.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\nCargo source code is not provided anymore as a separate tarball but is\nnow built along with the Rust compiler.\n\nSo update rust host variant to build Cargo and install the\ncross-compilation configuration file.\n\nAll this will be overwritten again by the host-cargo package, but\nthat will be removed in later commits.\n\nSigned-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>\nSigned-off-by: Patrick Havelange <patrick.havelange@essensium.com>\nTested-by: Sam Voss <sam.voss@rockwellcollins.com>\n[Arnout: merge all install commands in HOST_RUST_INSTALL_CMDS]\nSigned-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>\n---\n package/rust/rust.mk | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/package/rust/rust.mk b/package/rust/rust.mk\nindex 5d14fc6682..9bbed15082 100644\n--- a/package/rust/rust.mk\n+++ b/package/rust/rust.mk\n@@ -47,11 +47,14 @@ define HOST_RUST_CONFIGURE_CMDS\n \t\techo 'python = \"$(HOST_DIR)/bin/python2\"'; \\\n \t\techo 'submodules = false'; \\\n \t\techo 'vendor = true'; \\\n+\t\techo 'extended = true'; \\\n+\t\techo 'tools = [\"cargo\"]'; \\\n \t\techo 'compiler-docs = false'; \\\n \t\techo 'docs = false'; \\\n \t\techo 'verbose = $(HOST_RUST_VERBOSITY)'; \\\n \t\techo '[install]'; \\\n \t\techo 'prefix = \"$(HOST_DIR)\"'; \\\n+\t\techo 'sysconfdir = \"$(HOST_DIR)/etc\"'; \\\n \t\techo '[rust]'; \\\n \t\techo 'channel = \"stable\"'; \\\n \t\techo '[target.$(RUSTC_TARGET_NAME)]'; \\\n",
    "prefixes": [
        "v3",
        "02/10"
    ]
}