get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814416,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/814416/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/lede/patch/20170915230919.7466-1-rosenp@gmail.com/",
    "project": {
        "id": 54,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170915230919.7466-1-rosenp@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-15T23:09:19",
    "name": "[LEDE-DEV] brcm47xx: Fix sysupgrade with E1200v1",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "3f76c7a6e8a65e61c223d330e724ff9cbd14421e",
    "submitter": {
        "id": 70304,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/70304/?format=api",
        "name": "Rosen Penev",
        "email": "rosenp@gmail.com"
    },
    "delegate": {
        "id": 55421,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/55421/?format=api",
        "username": "Hauke",
        "first_name": "Hauke",
        "last_name": "Mehrtens",
        "email": "hauke@hauke-m.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/lede/patch/20170915230919.7466-1-rosenp@gmail.com/mbox/",
    "series": [
        {
            "id": 3396,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/3396/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/lede/list/?series=3396",
            "date": "2017-09-15T23:09:19",
            "name": "[LEDE-DEV] brcm47xx: Fix sysupgrade with E1200v1",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3396/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814416/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814416/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 (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"LqcFlukw\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"YEJ978fW\"; dkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.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 3xvB2F5qlHz9sNr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 09:10:13 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dszk8-0005e7-7O; Fri, 15 Sep 2017 23:09:52 +0000",
            "from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dszk2-0005VF-Fn\n\tfor lede-dev@lists.infradead.org; Fri, 15 Sep 2017 23:09:49 +0000",
            "by mail-pf0-x241.google.com with SMTP id g65so1841415pfe.1\n\tfor <lede-dev@lists.infradead.org>;\n\tFri, 15 Sep 2017 16:09:25 -0700 (PDT)",
            "from mangix.lan ([2001:470:1f05:c3e::8ce])\n\tby smtp.gmail.com with ESMTPSA id\n\te20sm3396528pgn.68.2017.09.15.16.09.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tFri, 15 Sep 2017 16:09:24 -0700 (PDT)"
        ],
        "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:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:\n\tDate:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=zNHi52s7mmRk2l+nhTBHwZixcBeaNsZF8y3X/9DVK0Y=;\n\tb=LqcFlukw8HYH4E\n\tirN+/fBD88yoWeqgxa9tp1mzw801IafS8ifM437vfZ0/T88IY/PzMPpLwvTNdGv0IDOP2LmFk4e6Q\n\toHYEHEQ1x/0yxX+cMC4KiX9k4M39+aHYi/Htl9eOLBTJUYTPGQMGwoAeYUYkkg+5a4JKow9RHPh0v\n\tlCP7vLM2Sa4ZlDKbOC5FfZMMCNVrk/qNd2PDTeMbC0Creq4OftrCYpSBK19FxKO03UBQi2Nnzb4zR\n\tHiWQN8tMkYVDx0A7KcgJNorCasaIZwMpfK3fIcA74QCbDbxCBYpaztZN1dr0IbRrAf3VJoLJfN1tZ\n\t0E3k0XeEw01oJ913y6Gw==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=l8/CTFtTgfMmDNinNJV+eFoBJ2Kg7rnzxCQ5Mavizlo=;\n\tb=YEJ978fWHZcjwjFs82+kFRESbwrK8Znt9WaoOoNae861brgs2WQtVfUlkwK9ETLbH5\n\tlD6OjDefqEhyo5S7m5V/B1lBGg7dE0JZKJW9piYLviUukATdjtGTELOmR0JDELNqdjo+\n\t9JOdUXoym+lBEtnEU0AG2phabvtkA9+mYizGMYTVe8nedKOl3cQlKwGG3y8g7mT7arcq\n\t7fSnZ/mF348Af3aF/05v/rwOv6dJ5V4bg54d+pYIxbp02MsES4JyIhp9Qi2AUinZOSgI\n\tLHg3YNy8CQbiWJ9SsqoKGgR9WCCvSjO5OZoOcGYv3fFQbY7P+q2Kblmo+DyBwELndcUF\n\t5qtA=="
        ],
        "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;\n\tbh=l8/CTFtTgfMmDNinNJV+eFoBJ2Kg7rnzxCQ5Mavizlo=;\n\tb=HhMsgEvlml1iieGBZFK6qcFTwbf57oyD4kK2WJrnMQfM3kP9qZMyFI69lThSuJr9li\n\taZaIYndGnd2UC9Ujr6Db6L8pa3kr3p6bM9g9+GNQb9ZatvKn8eKP7+gCujmSY7zKiGYV\n\tydk2qi/RrUcxif9+PmZwGwOVuex43U+OhQKjbGFGOOkwZ5eQYhXvfI55OD2cjptWiE/2\n\t1IXKEhtGii8OStZQGAAvLhLE4cnvvTLSwf/dL9qBvvzSL22b2c7reQFO/GwjKKSzk9xI\n\tjXToJCGRK4bG2hnRbqdlP71cw3YYhptXBrBCV/zPTeoXCUF1jmDuLsmDU8PaMetJK2V7\n\tUYow==",
        "X-Gm-Message-State": "AHPjjUhcYxTS7ElDOvrUsWaZsSoWIK3kxzfe+B3mNETDKyMectaK0vWb\n\ty1VsVRDTXxg5sz9AzT0=",
        "X-Google-Smtp-Source": "ADKCNb5sojdgMBgLzi9S8AXb81VEo3l98b7va1/1/cNfPvDiMhZ9w01qWiPSX+Vdn62U2Fnjbl+KgA==",
        "X-Received": "by 10.98.236.81 with SMTP id k78mr26767094pfh.336.1505516964880; \n\tFri, 15 Sep 2017 16:09:24 -0700 (PDT)",
        "From": "Rosen Penev <rosenp@gmail.com>",
        "To": "lede-dev@lists.infradead.org",
        "Date": "Fri, 15 Sep 2017 16:09:19 -0700",
        "Message-Id": "<20170915230919.7466-1-rosenp@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170915_160946_617047_388F0C89 ",
        "X-CRM114-Status": "UNSURE (   6.84  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-2.0 (--)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.0 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:400e:c00:0:0:0:241 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (rosenp[at]gmail.com)\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\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain",
        "Subject": "[LEDE-DEV] [PATCH] brcm47xx: Fix sysupgrade with E1200v1",
        "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>",
        "Cc": "Rosen Penev <rosenp@gmail.com>",
        "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": "Entry was missing for some reason.\n\nSigned-off-by: Rosen Penev <rosenp@gmail.com>\n---\n target/linux/brcm47xx/base-files/lib/upgrade/platform.sh | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh b/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh\nindex dfd4e97ed2..f64e19b213 100644\n--- a/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh\n+++ b/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh\n@@ -34,6 +34,7 @@ platform_expected_image() {\n \t\t\"Linksys E1000 V1\")\techo \"cybertan E100\"; return;;\n \t\t\"Linksys E1000 V2\")\techo \"cybertan E100\"; return;;\n \t\t\"Linksys E1000 V2.1\")\techo \"cybertan E100\"; return;;\n+\t\t\"Linksys E1200 V1\")\techo \"cybetran E120\"; return;;\n \t\t\"Linksys E1200 V2\")\techo \"cybertan E122\"; return;;\n \t\t\"Linksys E2000 V1\")\techo \"cybertan 32XN\"; return;;\n \t\t\"Linksys E3000 V1\")\techo \"cybertan 61XN\"; return;;\n",
    "prefixes": [
        "LEDE-DEV"
    ]
}