get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 624193,
    "url": "http://patchwork.ozlabs.org/api/patches/624193/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-22-git-send-email-sven.eckelmann@open-mesh.com/",
    "project": {
        "id": 45,
        "url": "http://patchwork.ozlabs.org/api/projects/45/?format=api",
        "name": "OpenWrt development",
        "link_name": "openwrt",
        "list_id": "openwrt-devel.lists.openwrt.org",
        "list_email": "openwrt-devel@lists.openwrt.org",
        "web_url": "http://openwrt.org/",
        "scm_url": "git://git.openwrt.org/openwrt.git",
        "webscm_url": "https://dev.openwrt.org/browser",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1463682077-19339-22-git-send-email-sven.eckelmann@open-mesh.com>",
    "list_archive_url": null,
    "date": "2016-05-19T18:21:05",
    "name": "[OpenWrt-Devel,CC,22/34] scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "73b0c3983d567f6c038ea9d67e70e31bad3d16bc",
    "submitter": {
        "id": 68437,
        "url": "http://patchwork.ozlabs.org/api/people/68437/?format=api",
        "name": "Sven Eckelmann",
        "email": "sven.eckelmann@open-mesh.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/1463682077-19339-22-git-send-email-sven.eckelmann@open-mesh.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/624193/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/624193/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<openwrt-devel-bounces@lists.openwrt.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Received": [
            "from arrakis.dune.hu (caladan.dune.hu [78.24.191.180])\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 3r9fj45LdJz9sdg\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 May 2016 04:28:56 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 3F4C2B920AD;\n\tThu, 19 May 2016 20:23:05 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tThu, 19 May 2016 20:23:05 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 22D86B91FEE\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:22:08 +0200 (CEST)",
            "from mail-wm0-f54.google.com (mail-wm0-f54.google.com\n\t[74.125.82.54]) by arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 20:22:07 +0200 (CEST)",
            "by mail-wm0-f54.google.com with SMTP id w143so440795wmw.0\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tThu, 19 May 2016 11:22:07 -0700 (PDT)",
            "from sven-desktop.home.narfation.org\n\t(p579E6DC9.dip0.t-ipconnect.de. [87.158.109.201])\n\tby smtp.gmail.com with ESMTPSA id\n\tx124sm468888wmg.24.2016.05.19.11.22.06\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 19 May 2016 11:22:07 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=open-mesh-com.20150623.gappssmtp.com\n\theader.i=@open-mesh-com.20150623.gappssmtp.com\n\theader.b=bx7G8GmR; dkim-atps=neutral",
        "X-Spam-Checker-Version": "SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.1",
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tCL_IP_EQ_HELO_IP=-2 (check from: .open-mesh. - helo:\n\t.mail-wm0-f54.google. -\n\thelo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=open-mesh-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=2QL0bPknMHRN4dZEcPawPgkD4I+IOveZFdVDbB7hNGQ=;\n\tb=bx7G8GmRTXJnqDRfPWr2ZNWlL8+d/9yiHd8loDz7Y+oAM2p0CFvopP8VDCDhmvyQKu\n\taI+kn0p/ImIaSg2J3QiIBIHPt88H53hj8uK5Kb0t69iBTawlO+agFstgm6zEi83+iVYN\n\tN5NwMM7R/ZsXsvIoWQRaEnwMFhmuuylOTNwII+0ymlEk/sEbkieFnbdloyL16OpTVGsk\n\tBV+AxAAclni5fxOhiJ5VRoNTamAyNUE9yaDzH3qk1x77PYpY2u6r7Bqrx97ht19qhn9+\n\tn/feWs61C+vUX7ps0FKrhswRZ7A45B6vvOKS+fVenlt6LBo7fvZSgqtqbJpYkJ7EfopW\n\tuxEg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=2QL0bPknMHRN4dZEcPawPgkD4I+IOveZFdVDbB7hNGQ=;\n\tb=C6AB9Su7t5Mvl2pbRB8pCpe0fsfcGsBn79qgo7if6pZlI7jm3h5dGR4eMxeSLN5LYt\n\tAi5IjMALtYSrLU7LENA+eVofyb4XifIw5NfnJdH6bSraLEZHCekOn5GmbIwTv9hdurk7\n\tWyoPZLmrFEJrGc9ioy676AsYE8gYnCbBqb3XrPgy2Vo6EqULIBz9TMlIvSgW9mJDO0Wv\n\t9z3g6HABhEmxek31dhkpb+7q93XSGnF1/8EYSAIOBg5O0Q+87gH99FzEpkCuBD4/bTMX\n\t9UENOySMeFHGaACVeSG/IyD+9zBLkkix2matrQ3K65DPOJUIcHpnDm9Cm8X9ShOX6kFX\n\tCDEA==",
        "X-Gm-Message-State": "AOPr4FU8KkJA/bhbCefKdRWqR/6E6ykjYFib2/0+Z9bBOzO9IzGVpc0vihjApGGrpxdwDZTx",
        "X-Received": "by 10.28.72.134 with SMTP id v128mr1790639wma.28.1463682127421; \n\tThu, 19 May 2016 11:22:07 -0700 (PDT)",
        "From": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "To": "openwrt-devel@lists.openwrt.org",
        "Date": "Thu, 19 May 2016 20:21:05 +0200",
        "Message-Id": "<1463682077-19339-22-git-send-email-sven.eckelmann@open-mesh.com>",
        "X-Mailer": "git-send-email 2.8.1",
        "In-Reply-To": "<1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "References": "<1463682077-19339-1-git-send-email-sven.eckelmann@open-mesh.com>",
        "Subject": "[OpenWrt-Devel] [PATCH CC 22/34] scripts/om-fwupgradecfg-gen.sh:\n\tadd support for the OM5P-AC",
        "X-BeenThere": "openwrt-devel@lists.openwrt.org",
        "X-Mailman-Version": "2.1.20",
        "Precedence": "list",
        "List-Id": "OpenWrt Development List <openwrt-devel.lists.openwrt.org>",
        "List-Unsubscribe": "<https://lists.openwrt.org/cgi-bin/mailman/options/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.openwrt.org/pipermail/openwrt-devel/>",
        "List-Post": "<mailto:openwrt-devel@lists.openwrt.org>",
        "List-Help": "<mailto:openwrt-devel-request@lists.openwrt.org?subject=help>",
        "List-Subscribe": "<https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel>,\n\t<mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe>",
        "Cc": "Sven Eckelmann <sven.eckelmann@open-mesh.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "openwrt-devel-bounces@lists.openwrt.org",
        "Sender": "\"openwrt-devel\" <openwrt-devel-bounces@lists.openwrt.org>"
    },
    "content": "Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>\n\nBackport of r49143\n---\n scripts/om-fwupgradecfg-gen.sh | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/scripts/om-fwupgradecfg-gen.sh b/scripts/om-fwupgradecfg-gen.sh\nindex e208e6d..6c3b74c 100644\n--- a/scripts/om-fwupgradecfg-gen.sh\n+++ b/scripts/om-fwupgradecfg-gen.sh\n@@ -7,7 +7,7 @@\n #\n \n usage() {\n-\techo \"Usage: $0 <OM2P|OM5P|MR600|MR900|MR1750> <out file path> <kernel path> <rootfs path>\"\n+\techo \"Usage: $0 <OM2P|OM5P|OM5PAC|MR600|MR900|MR1750> <out file path> <kernel path> <rootfs path>\"\n \trm -f $CFG_OUT\n \texit 1\n }\n@@ -26,7 +26,7 @@ case $CE_TYPE in\n \t\tFLASH_BS=262144\n \t\tMD5_SKIP_BLOCKS=1\n \t\t;;\n-\tOM5P|MR600|MR900|MR1750)\n+\tOM5P|OM5PAC|MR600|MR900|MR1750)\n \t\tMAX_PART_SIZE=7808\n \t\tKERNEL_FLASH_ADDR=0xb0000\n \t\tFLASH_BS=65536\n",
    "prefixes": [
        "OpenWrt-Devel",
        "CC",
        "22/34"
    ]
}