get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 627226,
    "url": "http://patchwork.ozlabs.org/api/patches/627226/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/lede/patch/1464359207-2744-2-git-send-email-ash.benz@bk.ru/",
    "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": "<1464359207-2744-2-git-send-email-ash.benz@bk.ru>",
    "list_archive_url": null,
    "date": "2016-05-27T14:26:38",
    "name": "[LEDE-DEV,v3,01/10] include/image.mk: move build step tplink-safeloader to image.mk",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "dc8c392fa87594bf1c1381f700242034a4bb12fe",
    "submitter": {
        "id": 68948,
        "url": "http://patchwork.ozlabs.org/api/people/68948/?format=api",
        "name": "Ash Benz",
        "email": "ash.benz@bk.ru"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/lede/patch/1464359207-2744-2-git-send-email-ash.benz@bk.ru/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/627226/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/627226/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",
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2001:1868:205::9])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3rGSzG6dK8z9t44\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 28 May 2016 00:27:54 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))\n\tid 1b6IjM-0005YU-0n; Fri, 27 May 2016 14:27:16 +0000",
            "from smtp49.i.mail.ru ([94.100.177.109])\n\tby bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat\n\tLinux)) id 1b6IjH-0005Rl-TI\n\tfor lede-dev@lists.infradead.org; Fri, 27 May 2016 14:27:13 +0000",
            "from [115.132.97.57] (port=49566 helo=builder.lan)\n\tby smtp49.i.mail.ru with esmtpa (envelope-from <ash.benz@bk.ru>)\n\tid 1b6Iiw-00052k-3w; Fri, 27 May 2016 17:26:51 +0300"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=bk.ru header.i=@bk.ru header.b=szfzSeDD;\n\tdkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bk.ru;\n\ts=mail; \n\th=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From;\n\tbh=OKclp0oz0c6HzLmpohVb0Ur72MVXcge5vQLD2wtQIZE=; \n\tb=szfzSeDDJMvNe1WDtFWZUEZJogQvcksng0vR17VU27k2nrDtU1DF+6FEWZaeQfy1RU3VLtfsPjdoYxv9KNeL/woCEXLW2KGFZBtXlHq6qWQmlVlSpeWzXeGcdVwgs2nh3giIq2yKnDcPXHtIR+8HHbbL0CR3E60fWR4bRqWnSRg=;",
        "From": "Ash Benz <ash.benz@bk.ru>",
        "To": "lede-dev@lists.infradead.org",
        "Date": "Fri, 27 May 2016 22:26:38 +0800",
        "Message-Id": "<1464359207-2744-2-git-send-email-ash.benz@bk.ru>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1464359207-2744-1-git-send-email-ash.benz@bk.ru>",
        "References": "<1464359207-2744-1-git-send-email-ash.benz@bk.ru>",
        "X-Mras": "OK",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20160527_072712_489189_2FEFC1DF ",
        "X-CRM114-Status": "UNSURE (   4.85  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-2.7 (--)",
        "X-Spam-Report": "SpamAssassin version 3.4.0 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.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 [94.100.177.109 listed in list.dnswl.org]\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid",
        "Subject": "[LEDE-DEV] [PATCH v3 01/10] include/image.mk: move build step\n\ttplink-safeloader to image.mk",
        "X-BeenThere": "lede-dev@lists.infradead.org",
        "X-Mailman-Version": "2.1.20",
        "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>",
        "Cc": "Ash Benz <ash.benz@bk.ru>",
        "MIME-Version": "1.0",
        "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": "Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk\n\nSigned-off-by: Ash Benz <ash.benz@bk.ru>\n---\n include/image.mk                     | 12 ++++++++++++\n target/linux/ar71xx/image/tp-link.mk | 12 ------------\n 2 files changed, 12 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/include/image.mk b/include/image.mk\nindex fbb3a01..49315e5e 100644\n--- a/include/image.mk\n+++ b/include/image.mk\n@@ -323,6 +323,18 @@ define Build/netgear-dni\n \tmv $@.new $@\n endef\n \n+define Build/tplink-safeloader\n+       -$(STAGING_DIR_HOST)/bin/tplink-safeloader \\\n+\t\t-B $(TPLINK_BOARD_NAME) \\\n+\t\t-V $(REVISION) \\\n+\t\t-k $(word 1,$^) \\\n+\t\t-r $@ \\\n+\t\t-o $@.new \\\n+\t\t-j \\\n+\t\t$(wordlist 2,$(words $(1)),$(1)) \\\n+\t\t$(if $(findstring sysupgrade,$(word 1,$(1))),-S) && mv $@.new $@ || rm -f $@\n+endef\n+\n define Build/fit\n \t$(TOPDIR)/scripts/mkits.sh \\\n \t\t-D $(DEVICE_NAME) -o $@.its -k $@ \\\ndiff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk\nindex a3af519..145fa0f 100644\n--- a/target/linux/ar71xx/image/tp-link.mk\n+++ b/target/linux/ar71xx/image/tp-link.mk\n@@ -35,18 +35,6 @@ define Build/mktplinkfw-initramfs\n \t@mv $@.new $@\n endef\n \n-define Build/tplink-safeloader\n-       -$(STAGING_DIR_HOST)/bin/tplink-safeloader \\\n-\t\t-B $(TPLINK_BOARD_NAME) \\\n-\t\t-V $(REVISION) \\\n-\t\t-k $(word 1,$^) \\\n-\t\t-r $@ \\\n-\t\t-o $@.new \\\n-\t\t-j \\\n-\t\t$(wordlist 2,$(words $(1)),$(1)) \\\n-\t\t$(if $(findstring sysupgrade,$(word 1,$(1))),-S) && mv $@.new $@ || rm -f $@\n-endef\n-\n define Device/tplink\n   TPLINK_HWREV := 0x1\n   TPLINK_HEADER_VERSION := 1\n",
    "prefixes": [
        "LEDE-DEV",
        "v3",
        "01/10"
    ]
}