get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 617348,
    "url": "http://patchwork.ozlabs.org/api/patches/617348/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-9@vittgam.net/",
    "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": "<owrt-patch-20160502-9@vittgam.net>",
    "list_archive_url": null,
    "date": "2016-05-02T03:34:54",
    "name": "[OpenWrt-Devel,6/6] ramips: Disable all ethernet ports except port 0 on A5-V11.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "46b2c02e3218227bc492c6bd80d13e50081bb3f5",
    "submitter": {
        "id": 65409,
        "url": "http://patchwork.ozlabs.org/api/people/65409/?format=api",
        "name": "Vittorio Gambaletta",
        "email": "openwrt@vittgam.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-9@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/617348/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/617348/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",
            "<openwrt-devel@lists.openwrt.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 3qyqhv1p1Vz9t70\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  2 May 2016 13:36:15 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id EB2C6B91E32;\n\tMon,  2 May 2016 05:35:12 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tMon,  2 May 2016 05:35:12 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 34E29B91E05\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon,  2 May 2016 05:34:55 +0200 (CEST)",
            "from mail.vittgam.net (server1.vittgam.net [213.239.197.142])\n\tby arrakis.dune.hu (Postfix) with ESMTPS\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon,  2 May 2016 05:34:55 +0200 (CEST)",
            "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u423Yqok184500\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 05:34:54 +0200"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n\tunprotected) header.d=vittgam.net header.i=@vittgam.net\n\theader.b=JtwmO+Sk; 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": "using cached result; rate:hard: -6.1",
        "X-DKIM": "OpenDKIM Filter v2.4.2 mail.vittgam.net u423Yqok184500",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462160094;\n\tbh=LJlE37bqBs6blXYVKpyl9kZ4bnorHy4cXtfB9KeKWPw=;\n\th=From:To:Subject:Content-Type:Message-ID:In-Reply-To:References;\n\tb=JtwmO+SkIuD5fWOHcwQfETLzLd/PiW8dL31uArUegwyTFVmZFSXZVbeCv/48kKeK6\n\tG/3in2jQd9Eb7RTd1t77AWXwE0jq8XrrRquwpBueTkQsrwhvmQzC4pqBcQ+yiiDoFm\n\tJIzpDrPXY1oJ46c137NvzUHvkHj9DJpUWF/JOUND5KB20yWwr48Y8UPqkEG7mnuXNQ\n\t9VSy9QQiUhgOXZ364p5Gcf0DRiK5NrLuXThN3WTzWQjQ5sl4HTAP4jq6X3JEDWuNrA\n\tnaiOSxvdupO2Y17bxbY57CKFxq6/AbCEcMUo1f36zrcuBomaNRN50CjTVKNzBWFt3A\n\tumV0rbsw1R+cB8c4B93OJQzJ3nYXXWZjMg8bPyF9Y+u2q6G2uaeHZavlhMbs4vN5ts\n\ttH1WgEzfLFqxzz/IoMh+YF2Zs24DonKHKm3qcJh3Tu/Ii9z8xd1eZ2pSiqi+XVL7oX\n\tLR+bf3wH8V59VvxJqNBMpY6LL4Eqy/ewqF8sXNBiDcOtG+JSdBqq7w0XIXpt/dMKfy\n\t529CgY2/7qQmgAW66FguQoVYCaUymXIop4vjPzeSkmhomUobP/0HZBAmqwHAj/VNEx\n\tWs4ci6tGZ7SrC82xDVsUClVUF5bVaxxwCXme+Snl+lge0j37brpeBnkJXsmtHBz5M1\n\tKrD/+vS/yjmMr2/fN599m/eE=",
        "Date": "Mon, 2 May 2016 05:34:54 +0200",
        "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Message-ID": "<owrt-patch-20160502-9@vittgam.net>",
        "In-Reply-To": "<owrt-patch-20160502-4@vittgam.net>",
        "References": "<owrt-patch-20160502-4@vittgam.net>",
        "Subject": "[OpenWrt-Devel] [PATCH 6/6] ramips: Disable all ethernet ports\n\texcept port 0 on A5-V11.",
        "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>",
        "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": "Port 0 is the only ethernet port on this router, so disable all other PHYs\nin order to save power.\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---",
    "diff": "--- a/target/linux/ramips/dts/A5-V11.dts\n+++ b/target/linux/ramips/dts/A5-V11.dts\n@@ -62,7 +62,8 @@\n \t};\n \n \tesw@10110000 {\n-\t\tmediatek,portmap = <0x2f>;\n+\t\tmediatek,portmap = <0x1>;\n+\t\tmediatek,portdisable = <0x3e>;\n \t};\n \n \twmac@10180000 {\n",
    "prefixes": [
        "OpenWrt-Devel",
        "6/6"
    ]
}