get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809061,
    "url": "http://patchwork.ozlabs.org/api/patches/809061/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902131905.23134-1-thomas.petazzoni@free-electrons.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": "<20170902131905.23134-1-thomas.petazzoni@free-electrons.com>",
    "list_archive_url": null,
    "date": "2017-09-02T13:19:05",
    "name": "mtd: be explicit about config options for the host",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "42e3993bccdd9ef8b748fd98da2dd9d1269ef758",
    "submitter": {
        "id": 2230,
        "url": "http://patchwork.ozlabs.org/api/people/2230/?format=api",
        "name": "Thomas Petazzoni",
        "email": "thomas.petazzoni@free-electrons.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170902131905.23134-1-thomas.petazzoni@free-electrons.com/mbox/",
    "series": [
        {
            "id": 1149,
            "url": "http://patchwork.ozlabs.org/api/series/1149/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1149",
            "date": "2017-09-02T13:19:05",
            "name": "mtd: be explicit about config options for the host",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1149/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809061/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809061/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkxZ774Mdz9t0F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 23:20:47 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8562088B5D;\n\tSat,  2 Sep 2017 13:20:45 +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 KSK1LE-BheGo; Sat,  2 Sep 2017 13:20:43 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 30B6B88BB4;\n\tSat,  2 Sep 2017 13:20:43 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id C26AC1C0906\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 13:19:18 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B33D587610\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 13:19:18 +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 MRho4MQRN8Ma for <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 13:19:17 +0000 (UTC)",
            "from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9301B86396\n\tfor <buildroot@buildroot.org>; Sat,  2 Sep 2017 13:19:17 +0000 (UTC)",
            "by mail.free-electrons.com (Postfix, from userid 110)\n\tid 0ECCF20829; Sat,  2 Sep 2017 15:19:15 +0200 (CEST)",
            "from localhost (LFbn-1-15133-129.w86-206.abo.wanadoo.fr\n\t[86.206.239.129])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id DA299207EC;\n\tSat,  2 Sep 2017 15:19:04 +0200 (CEST)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Sat,  2 Sep 2017 15:19:05 +0200",
        "Message-Id": "<20170902131905.23134-1-thomas.petazzoni@free-electrons.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>",
        "Subject": "[Buildroot] [PATCH] mtd: be explicit about config options for the\n\thost",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "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>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Instead of letting auto-detection do its job, be explicit about the\nfact that we want the JFFS2 and UBIFS utilities when building the host\nvariant of mtd.\n\nSigned-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n---\n package/mtd/mtd.mk | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk\nindex e666bf077c..824003c691 100644\n--- a/package/mtd/mtd.mk\n+++ b/package/mtd/mtd.mk\n@@ -45,7 +45,10 @@ MTD_CONF_OPTS += --without-xattr\n endif\n \n HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-util-linux\n-HOST_MTD_CONF_OPTS = --disable-tests\n+HOST_MTD_CONF_OPTS = \\\n+\t--with-jffs \\\n+\t--with-ubifs \\\n+\t--disable-tests\n \n MKFS_JFFS2 = $(HOST_DIR)/sbin/mkfs.jffs2\n SUMTOOL = $(HOST_DIR)/sbin/sumtool\n",
    "prefixes": []
}