get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 617351,
    "url": "http://patchwork.ozlabs.org/api/patches/617351/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/openwrt/patch/owrt-patch-20160502-11@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-11@vittgam.net>",
    "list_archive_url": null,
    "date": "2016-05-02T03:50:35",
    "name": "[OpenWrt-Devel,2/2] ramips: Don't use a VLAN for the single ethernet port of the A5-V11.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0b99fbf8c1202c114d66531d1606d3507aa35c4f",
    "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-11@vittgam.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/617351/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/617351/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 3qyr1w5HF1z9t5c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  2 May 2016 13:51:00 +1000 (AEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id 9FAD2B912E5;\n\tMon,  2 May 2016 05:50:42 +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:50:42 +0200 (CEST)",
            "from arrakis.dune.hu (localhost [127.0.0.1])\n\tby arrakis.dune.hu (Postfix) with ESMTP id D4D42B912B7\n\tfor <openwrt-devel@lists.openwrt.org>;\n\tMon,  2 May 2016 05:50:35 +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:50:35 +0200 (CEST)",
            "from vl3 (vl3.r12.network.mietitrebbia.rocks [10.48.6.117])\n\tby mail.vittgam.net with SMTP id u423oYlb184929\n\tfor <openwrt-devel@lists.openwrt.org>; Mon, 2 May 2016 05:50:35 +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=gXv/6PhJ; 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 u423oYlb184929",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net;\n\ts=20150519; t=1462161035;\n\tbh=v0qYUBQouHysspNYhPn0x+DRV05TIUj0ftDONLl6Mx0=;\n\th=From:To:Subject:Content-Type:Message-ID:In-Reply-To:References;\n\tb=gXv/6PhJJ3x0tLplA3BMXKRS2Anj3CSC0AXE9rRALKF4qO+QD4qM93HDfLQukncpu\n\tHyNSYYaT+6nrzEj89TWKfs09N8S5A0Z4AkYFKMW4dxPVhRvFGsm3FChgi77gXxu3W7\n\tkSQtt5f8WhRG9xVgj4hXbnNcPGD/N8ACxoScs6yEVFvqA4fEBa794MyzbNkeQzVN3t\n\t7NlKGRITFnWYZtXApI+1UgJYyqBpfIDTp4wFgI4p3aPMT2BAKmMmXqFg4gbUeCg/Us\n\t6kS89kZ4O9skt9+ORCw9FRmU+dJxFBvvcBxt/9/TG7OnIES8YYXBSPTTPareq/ObmQ\n\tSaqwb0KXZnOLmCHoJ5c+fy0Nfif/TUAhBtnUoPFdW5YdVpvW/SRpSzuQRfHhSxcQOn\n\tmaiAm1W8nHoLZfu0xkYmQ+PCp1u1EPkYvUFPdx6wJVNt6cYbzynHaSVrZ+0n5CJ5CN\n\t5NYLt40zDEqb6faAT72Ss8jZVEKrJLCXnrAl4gx1B2IA6Bg4J+CUOGUgJUXpia+UXK\n\twP4S6zzftSKb655rCHAh4lM9D1sR4DYP2dj+VRG0wYlNoM7EmHEEXm5tSRw7aBMzP7\n\tdHV6MPRSeh59F9I9fuLHzVbZEUxB5KRXmYL6+EyIiYbJygvk4GEQDqpPYxk70SZVsN\n\tQzk6iXdSaHlJf2vNigkv9O0M=",
        "Date": "Mon, 2 May 2016 05:50:35 +0200",
        "From": "\"Vittorio Gambaletta (VittGam)\" <openwrt@vittgam.net>",
        "To": "<openwrt-devel@lists.openwrt.org>",
        "Message-ID": "<owrt-patch-20160502-11@vittgam.net>",
        "In-Reply-To": "<owrt-patch-20160502-10@vittgam.net>",
        "References": "<owrt-patch-20160502-10@vittgam.net>",
        "Subject": "[OpenWrt-Devel] [PATCH 2/2] ramips: Don't use a VLAN for the single\n\tethernet port of the 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": "This router 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\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@@ -35,6 +35,7 @@ ramips_setup_interfaces()\n \tcase $board in\n \t3g150b|\\\n \t3g300m|\\\n+\ta5-v11|\\\n \tall0256n|\\\n \tall5002|\\\n \tall5003|\\\n@@ -93,10 +94,6 @@ ramips_setup_interfaces()\n \t\tucidef_add_switch \"switch0\" \\\n \t\t\t\"0:lan\" \"1:lan\" \"2:lan\" \"3:lan\" \"4:wan\" \"6@eth0\"\n \t\t;;\n-\ta5-v11)\n-\t\tucidef_add_switch \"switch0\" \\\n-\t\t\t\"0:lan\" \"6t@eth0\"\n-\t\t;;\n \tar670w|\\\n \tar725w|\\\n \trt-n15|\\\n@@ -241,7 +238,6 @@ ramips_setup_macs()\n \tlocal wan_mac=\"\"\n \n \tcase $board in\n-\ta5-v11|\\\n \tbc2|\\\n \tbroadway|\\\n \td105|\\\n@@ -285,6 +281,7 @@ ramips_setup_macs()\n \t\t[ -n \"$lan_mac\" ] || lan_mac=$(cat /sys/class/net/eth0/address)\n \t\twan_mac=$(macaddr_add \"$lan_mac\" 1)\n \t\t;;\n+\ta5-v11|\\\n \tht-tm02)\n \t\tlan_mac=$(cat /sys/class/net/eth0/address)\n \t\t;;\n",
    "prefixes": [
        "OpenWrt-Devel",
        "2/2"
    ]
}