get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 617353,
    "url": "http://patchwork.ozlabs.org/api/patches/617353/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-13@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-13@vittgam.net>",
    "list_archive_url": null,
    "date": "2016-05-02T04:32:58",
    "name": "[OpenWrt-Devel,CC] ramips: Backport changes to 02_network.",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "105a3345c50d4f50e0556e3beacaa1e676bdabc3",
    "submitter": {
        "id": 65409,
        "url": "http://patchwork.ozlabs.org/api/people/65409/?format=api",
        "name": "Vittorio Gambaletta",
        "email": "openwrt@vittgam.net"
    },
    "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/openwrt/patch/owrt-patch-20160502-13@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/617353/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/617353/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 3qyryY1dWGz9t5c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  2 May 2016 14:33:09 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id ACBCAB91DA4;\n\tMon,  2 May 2016 06:33:01 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP;\n\tMon,  2 May 2016 06:33:01 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 7184DB91D9C\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon,  2 May 2016 06:32:59 +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 06:32:59 +0200 (CEST)",
            "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u424WwmN186408\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 06:32:58 +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=KykxWGEy; 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 u424WwmN186408",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462163578;\n\tbh=ieTTSd9oLlwey3/auj++kQmdRdBmmBCx+fWTHPrP3ZM=;\n\th=From:To:Subject:Content-Type:Message-ID;\n\tb=KykxWGEyM2yiKchBk2LCZMQS/ZbSqNSbxxdbqIJzbH3VVWZmhu9lo0TR08JAgiFtC\n\teknD+AJana45dZRyJcunX75U75sqwTwVgf2B1mPdTg3KKfeuR5B5bgu1q1G5GjuOaA\n\tP9as89vocL6qvuxQAQ6UCUyLtU/m4NTgDLcaj1/qXR22fB5u7tv0X/NgP6FI7Xc/DB\n\tPD8hFCHysJGJgphdtfTgEDWRESohU0jd7URRQK25geWV2S3uNd1vMAcWQ7eTcZDZjr\n\tIfW8D0IxM6DC63UtEZy/AurMa106dwAl26yGm8Dqd55r8iZDGQPzJp4NojWl/bHX34\n\tpKv4G0YUHSxjtWrFqsMe9Z5uudiuoPV4edA++s4UYVSt4jSdCzn0lkrgg5x1k7VaSu\n\tTBUJ8SeMlQB6uWgPcj013MsuOgH+7JnSgqpGWGXt5kMwsngpNTCU6Q5Jft3AwQGENd\n\twkcA8L6aQyOOFAmGKhgrqU4QrPjvkT3IQprDEulWf7EcTfAKS8KyEW5+ApcGqJjNiY\n\toi1cSWsoJxaHCdxTOPTHBJkFcDeeGmeHcBpvgGwgd1Bogu76tBz8gTh0cvH3I3Rfpf\n\tMGmN88TUQsnFSmj51mjbJJAORR6PNXkKnxuJSGGiCMmNtx5TqyoHRHi43Txp5FZ+sY\n\tqmOc070MeRyMHaYZKoCWkKZQ=",
        "Date": "Mon, 2 May 2016 06:32:58 +0200",
        "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Message-ID": "<owrt-patch-20160502-13@vittgam.net>",
        "Subject": "[OpenWrt-Devel] [PATCH] [CC] ramips: Backport changes to 02_network.",
        "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": "The A5-V11 only has one ethernet port, so a VLAN is useless here, now that the\nrt3050 TCP bug that happened without VLANs has been fixed for a very long time.\n\nAdd this router to the VLAN-less config that is used by other single-port routers.\n\nAlso fix MAC address detection code since this router has no WAN port.\n\nAlso merge duplicate configuration for the \"m2m\".\n\nSigned-off-by: Vittorio Gambaletta <openwrt@vittgam.net>\n---",
    "diff": "--- a/target/linux/ramips/base-files/etc/board.d/02_network\n+++ b/target/linux/ramips/base-files/etc/board.d/02_network\n@@ -37,14 +37,9 @@ ramips_setup_interfaces()\n \tucidef_set_interface_loopback\n \n \tcase $board in\n-\ta5-v11)\n-\t\tucidef_set_interface_lan \"eth0.1\"\n-\t\tucidef_add_switch \"switch0\" \"1\" \"1\"\n-\t\tucidef_add_switch_vlan \"switch0\" \"1\" \"0 6t\"\n-\t\t;;\n-\n \t3g150b | \\\n \t3g300m | \\\n+\ta5-v11 | \\\n \tlinkits7688 | \\\n \tlinkits7688d | \\\n \tmicrowrt | \\\n@@ -57,6 +52,7 @@ ramips_setup_interfaces()\n \tdcs-930| \\\n \tdcs-930l-b1| \\\n \tht-tm02| \\\n+\tm2m| \\\n \tncs601w | \\\n \twnce2001)\n \t\tucidef_add_switch \"switch0\" \"1\" \"0\"\n@@ -72,11 +68,6 @@ ramips_setup_interfaces()\n \t\tucidef_set_interface_lan \"eth0.1\"\n \t\t;;\n \n-\tm2m)\n-\t\tucidef_add_switch \"switch0\" \"4\"\n-\t\tucidef_set_interface_lan \"eth0\"\n-\t\t;;\n-\n \twizard8800 | \\\n \twl-330n | \\\n \twmr300)\n@@ -315,7 +306,6 @@ ramips_setup_macs()\n \t\tlan_mac=$(macaddr_add \"$lan_mac\" -2)\n \t\t;;\n \n-\ta5-v11 |\\\n \tbc2 |\\\n \tbroadway |\\\n \td105 |\\\n@@ -336,6 +326,7 @@ ramips_setup_macs()\n \t\twan_mac=$(macaddr_add \"$lan_mac\" 1)\n \t\t;;\n \n+\ta5-v11|\\\n \tht-tm02)\n \t\tlan_mac=$(cat /sys/class/net/eth0/address)\n \t\t;;\n",
    "prefixes": [
        "OpenWrt-Devel",
        "CC"
    ]
}