get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1235098,
    "url": "http://patchwork.ozlabs.org/api/patches/1235098/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20200207180829.165689-7-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-7-arnout@mind.be>",
    "list_archive_url": null,
    "date": "2020-02-07T18:08:25",
    "name": "[v3,06/10] package/ripgrep: depends on host-rustc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "90161e3f0199be0db0b06c0cda4f6b4e46eacada",
    "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-7-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/1235098/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1235098/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=cRJoCCzO; 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 48DjyJ2WLsz9sPK\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n\tSat,  8 Feb 2020 05:10:16 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 8195586911;\n\tFri,  7 Feb 2020 18:10:14 +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 jtQ7_igBh8ke; Fri,  7 Feb 2020 18:10:11 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id B171E860C0;\n\tFri,  7 Feb 2020 18:10:11 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id A87E01BF38E\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:09:13 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A054C810FC\n\tfor <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:09:13 +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 SyKTUyjhCfHZ for <buildroot@lists.busybox.net>;\n\tFri,  7 Feb 2020 18:09:08 +0000 (UTC)",
            "from mail-wr1-f67.google.com (mail-wr1-f67.google.com\n\t[209.85.221.67])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id E5A0886E1D\n\tfor <buildroot@buildroot.org>; Fri,  7 Feb 2020 18:09:06 +0000 (UTC)",
            "by mail-wr1-f67.google.com with SMTP id c9so3745616wrw.8\n\tfor <buildroot@buildroot.org>; Fri, 07 Feb 2020 10:09:06 -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\tt9sm4162594wmj.28.2020.02.07.10.09.03\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 07 Feb 2020 10:09:04 -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=XHFkzji9Vgy5NvtCSbiFWiyQURt7VIhDEKZiorviKr4=;\n\tb=cRJoCCzOn8bI7TWK3oe04U94Oq+rhQ/FkZnd9GMYbKwBtKT/3euJ//5AsJOiyqGlXO\n\tA8RXHVdMgXRuI+CTMG4rvU7hZ9A/r4aXsCJMet+9qcHi/bM87zY85VEtks1UhZxiVb0f\n\t3Vmid/TBKA8yuAP24O+LePVtuxdHCqw/LIPtUe0WcjYHkX6OQcd2T1hYmh94iWfgLkNZ\n\t+NlySH36fdUGU/bqzaostX1ohPP4XER34ENqFMo/c4/onhRN65b+/6aZNnqe2x0TpZT8\n\tLAFonA1V0G+wnB4ooWuVTrZSDvMjmWancPhVkWG128cqbovDmMNRw2CG8HVZWLh1Mbtd\n\tAdcg==",
        "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=XHFkzji9Vgy5NvtCSbiFWiyQURt7VIhDEKZiorviKr4=;\n\tb=e46FNUDFOZSDuC+UmzwzSq6HWJJw9RVt6vBARZ5R86zKqYQEIcuF08TjyV0Z0ugT9d\n\tP6YLw6MSlHiUN9C4QbIG+TdBqRXBDbBFqwTCCIhOMmm35IWnpUa7LoJi7e5DkCpHeGPP\n\tIuVP9g46ZpVeJhGpt+jSSufLpGHCfs9W11vyGJuj/owTRMnrjDj6k14QhJt36UoXktUv\n\tvs+6iR5BdwZj3mVB5HzHjQjSUZ+8U7/2QgX892aswWs106+7/WoyUaDGov8AquscHLum\n\tgQ69j3BJmYpbUnwBZccG3AODdS98VzRydeEtfvR+SIdmjzTQ18sSIQ32/QxDfcFwSFX7\n\tGAjw==",
        "X-Gm-Message-State": "APjAAAUrUOY54SUepL1K5DYWMw9tq8LJEx5s680W9xAlHBPVUnDq2Cvw\n\tDvnwNifTwA6Qz8wW1Mo03F+MbEZeUoM=",
        "X-Google-Smtp-Source": "APXvYqzgk4Sd3ZWGCTFpNYfxeqLAHBKC0JftlBGVnt/wO/rnKQOMTtmC3FeUL9oDyT5pQ/SokOFEFA==",
        "X-Received": "by 2002:a05:6000:12c7:: with SMTP id\n\tl7mr257498wrx.136.1581098944949; \n\tFri, 07 Feb 2020 10:09:04 -0800 (PST)",
        "From": "\"Arnout Vandecappelle (Essensium/Mind)\" <arnout@mind.be>",
        "To": "buildroot@buildroot.org",
        "Date": "Fri,  7 Feb 2020 19:08:25 +0100",
        "Message-Id": "<20200207180829.165689-7-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 06/10] package/ripgrep: depends on host-rustc",
        "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\nAs all providers of rustc also install cargo, there is no need to depend\non the standalone cargo package anymore. Instead add host-rustc to the\ndependency list.\n\nSigned-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>\nSigned-off-by: Patrick Havelange <patrick.havelange@essensium.com>\nSigned-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>\n---\n package/ripgrep/Config.in  | 2 +-\n package/ripgrep/ripgrep.mk | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/package/ripgrep/Config.in b/package/ripgrep/Config.in\nindex 5446ad046c..0ea2902b34 100644\n--- a/package/ripgrep/Config.in\n+++ b/package/ripgrep/Config.in\n@@ -1,7 +1,7 @@\n config BR2_PACKAGE_RIPGREP\n \tbool \"ripgrep\"\n \tdepends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS\n-\tselect BR2_PACKAGE_HOST_CARGO\n+\tselect BR2_PACKAGE_HOST_RUSTC\n \thelp\n \t  ripgrep is a line-oriented search tool that\n \t  recursively searches your current directory\ndiff --git a/package/ripgrep/ripgrep.mk b/package/ripgrep/ripgrep.mk\nindex 0bb7017a96..832c076f26 100644\n--- a/package/ripgrep/ripgrep.mk\n+++ b/package/ripgrep/ripgrep.mk\n@@ -9,7 +9,7 @@ RIPGREP_SITE = $(call github,burntsushi,ripgrep,$(RIPGREP_VERSION))\n RIPGREP_LICENSE = MIT\n RIPGREP_LICENSE_FILES = LICENSE-MIT\n \n-RIPGREP_DEPENDENCIES = host-cargo\n+RIPGREP_DEPENDENCIES = host-rustc\n RIPGREP_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo\n RIPGREP_CARGO_MODE = $(if $(BR2_ENABLE_DEBUG),debug,release)\n \n",
    "prefixes": [
        "v3",
        "06/10"
    ]
}