get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 908910,
    "url": "http://patchwork.ozlabs.org/api/patches/908910/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/lede/patch/8757b53f485a6a434c5123e1c1fab75d3f8c93b7.1525453826.git.sandeepsheriker.mallikarjun@microchip.com/",
    "project": {
        "id": 54,
        "url": "http://patchwork.ozlabs.org/api/projects/54/?format=api",
        "name": "LEDE development",
        "link_name": "lede",
        "list_id": "lede-dev.lists.infradead.org",
        "list_email": "lede-dev@lists.infradead.org",
        "web_url": "http://lede-project.org/",
        "scm_url": "",
        "webscm_url": "http://git.lede-project.org/",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<8757b53f485a6a434c5123e1c1fab75d3f8c93b7.1525453826.git.sandeepsheriker.mallikarjun@microchip.com>",
    "list_archive_url": null,
    "date": "2018-05-04T17:27:48",
    "name": "[LEDE-DEV,v2,06/10] at91: sdcard image with ext4 rootfs",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c07442211e28f9be774d067b362256a5c3192791",
    "submitter": {
        "id": 72359,
        "url": "http://patchwork.ozlabs.org/api/people/72359/?format=api",
        "name": "Sandeep Sheriker",
        "email": "sandeepsheriker.mallikarjun@microchip.com"
    },
    "delegate": {
        "id": 54613,
        "url": "http://patchwork.ozlabs.org/api/users/54613/?format=api",
        "username": "blogic",
        "first_name": "John",
        "last_name": "Crispin",
        "email": "blogic@openwrt.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/lede/patch/8757b53f485a6a434c5123e1c1fab75d3f8c93b7.1525453826.git.sandeepsheriker.mallikarjun@microchip.com/mbox/",
    "series": [
        {
            "id": 42656,
            "url": "http://patchwork.ozlabs.org/api/series/42656/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/lede/list/?series=42656",
            "date": "2018-05-04T17:27:42",
            "name": "at91 patch series",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/42656/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/908910/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/908910/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org\n\t(client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=microchip.com",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"lvhKT/jT\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2607:7c80:54:e::133])\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 40czZ30FgSz9s35\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  5 May 2018 03:30:51 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))\n\tid 1fEeXf-0007Fw-8a; Fri, 04 May 2018 17:30:47 +0000",
            "from esa2.microchip.iphmx.com ([68.232.149.84])\n\tby bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat\n\tLinux)) id 1fEeVd-00052E-3R\n\tfor lede-dev@lists.infradead.org; Fri, 04 May 2018 17:28:43 +0000",
            "from smtpout.microchip.com (HELO email.microchip.com)\n\t([198.175.253.82])\n\tby esa2.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA;\n\t04 May 2018 10:28:26 -0700",
            "from sandeep-office.microchip.com (10.10.76.4) by\n\tchn-sv-exch02.mchp-main.com (10.10.76.38) with Microsoft SMTP Server\n\tid 14.3.352.0; Fri, 4 May 2018 10:28:26 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References:\n\tIn-Reply-To:Message-ID:Date:To:From:Reply-To:Cc:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n\t:Resent-Message-ID:List-Owner;\n\tbh=1ej+tiN0qrIVoeMwV1hfr456W443aoGfMOuNCq8GUg8=;\n\tb=lvhKT/jTPt1Fkypa5iUis9pPNj\n\tNMNV/VG/z+W+UeggLgIuL3wwWRd2TTvwGjQfu+9mQvVsLXmKKg964nLIG+7u0Fv+2vTQGsGYTwfGR\n\tAMiwyJ97izIn40K6P8wsZ2ClGSncoUuEt+C0LQgVlP83HNNUkNrUo2DMx+BDPIMjowrjoGO04vU1r\n\ttmpTG7x3MX+e49UouWYA/2JF6kUos7HorKuoemmAoqZW815E0wx7ElJXhghcAA+ycQ1Jaub2uWYgH\n\tvLmMh2yNw4ehM5PSsV9SVTQBeacYfsqOywJeMG14Z2roQ61dw6lIgqEYaQKjHKVNeW54Gv/25k7sR\n\tcZxoJNCA==;",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,363,1520924400\"; d=\"scan'208\";a=\"13809131\"",
        "From": "Sandeep Sheriker Mallikarjun\n\t<sandeepsheriker.mallikarjun@microchip.com>",
        "To": "<lede-dev@lists.infradead.org>",
        "Date": "Fri, 4 May 2018 10:27:48 -0700",
        "Message-ID": "<8757b53f485a6a434c5123e1c1fab75d3f8c93b7.1525453826.git.sandeepsheriker.mallikarjun@microchip.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<cover.1525453825.git.sandeepsheriker.mallikarjun@microchip.com>",
        "References": "<cover.1525453825.git.sandeepsheriker.mallikarjun@microchip.com>",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20180504_102841_223064_F6EBE8B9 ",
        "X-CRM114-Status": "UNSURE (   7.67  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-0.7 (/)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-0.7 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [68.232.149.84 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record",
        "Subject": "[LEDE-DEV] [PATCH v2 06/10] at91: sdcard image with ext4 rootfs",
        "X-BeenThere": "lede-dev@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<lede-dev.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>",
        "List-Post": "<mailto:lede-dev@lists.infradead.org>",
        "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>",
        "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "creating sdcard image with ext4 rootfs only and ignoring creating\nother filesystem in sdcard image.\n\nSigned-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>\n---\n target/linux/at91/image/Makefile | 2 +-\n target/linux/at91/image/sama5.mk | 3 ++-\n 2 files changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile\nindex ccaeebe..93180dd 100644\n--- a/target/linux/at91/image/Makefile\n+++ b/target/linux/at91/image/Makefile\n@@ -23,7 +23,7 @@ endif\n define Device/Default\n   $(Device/default-nand)\n   PROFILES := Default\n-  FILESYSTEMS := squashfs ubifs\n+  FILESYSTEMS := squashfs ubifs ext4\n   DEVICE_DTS := $(1)\n   KERNEL_NAME := zImage\n   KERNEL_SIZE := 4096k\ndiff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk\nindex 5960f40..fd7a534 100644\n--- a/target/linux/at91/image/sama5.mk\n+++ b/target/linux/at91/image/sama5.mk\n@@ -4,6 +4,7 @@ FAT32_BLOCKS:=$(shell echo \\\n   $$(($(AT91_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE))))\n \n define Build/at91-sdcard\n+  $(if $(findstring ext4,$@), \\\n   rm -f $@.boot\n   mkfs.fat -C $@.boot $(FAT32_BLOCKS)\n \n@@ -30,7 +31,7 @@ define Build/at91-sdcard\n \n   gzip -nc9 $@.img > $@\n \n-  rm -f $@.img $@.boot\n+  rm -f $@.img $@.boot )\n endef\n \n define Device/evaluation-sdimage\n",
    "prefixes": [
        "LEDE-DEV",
        "v2",
        "06/10"
    ]
}