get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814523,
    "url": "http://patchwork.ozlabs.org/api/patches/814523/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170916162217.GA11237@amd/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170916162217.GA11237@amd>",
    "list_archive_url": null,
    "date": "2017-09-16T16:22:17",
    "name": "Documentation: fix ascii art in networking docs",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7fe6c6cadc4cb93d93f6c7a5bf4b6ef52f212f9e",
    "submitter": {
        "id": 2109,
        "url": "http://patchwork.ozlabs.org/api/people/2109/?format=api",
        "name": "Pavel Machek",
        "email": "pavel@ucw.cz"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170916162217.GA11237@amd/mbox/",
    "series": [
        {
            "id": 3454,
            "url": "http://patchwork.ozlabs.org/api/series/3454/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=3454",
            "date": "2017-09-16T16:22:17",
            "name": "Documentation: fix ascii art in networking docs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3454/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814523/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814523/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xvcxB2DbNz9t16\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun, 17 Sep 2017 02:22:22 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751288AbdIPQWU (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSat, 16 Sep 2017 12:22:20 -0400",
            "from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36501 \"EHLO\n\tatrey.karlin.mff.cuni.cz\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751223AbdIPQWT (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Sat, 16 Sep 2017 12:22:19 -0400",
            "by atrey.karlin.mff.cuni.cz (Postfix, from userid 512)\n\tid 1DCD1824CA; Sat, 16 Sep 2017 18:22:18 +0200 (CEST)"
        ],
        "Date": "Sat, 16 Sep 2017 18:22:17 +0200",
        "From": "Pavel Machek <pavel@ucw.cz>",
        "To": "\"David S. Miller\" <davem@davemloft.net>",
        "Cc": "Netdev list <netdev@vger.kernel.org>",
        "Subject": "[PATCH] Documentation: fix ascii art in networking docs",
        "Message-ID": "<20170916162217.GA11237@amd>",
        "MIME-Version": "1.0",
        "Content-Type": "multipart/signed; micalg=pgp-sha1;\n\tprotocol=\"application/pgp-signature\"; boundary=\"k1lZvvs/B4yU6o8G\"",
        "Content-Disposition": "inline",
        "User-Agent": "Mutt/1.5.23 (2014-03-12)",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "Fix ascii-art.\n\nSigned-off-by: Pavel Machek <pavel@ucw.cz>\n\n---\n\nResent, because I did not get DaveM's address right.",
    "diff": "diff --git a/Documentation/networking/switchdev.txt b/Documentation/networking/switchdev.txt\nindex 5e40e1f..6309e90 100644\n--- a/Documentation/networking/switchdev.txt\n+++ b/Documentation/networking/switchdev.txt\n@@ -29,7 +29,7 @@ with SR-IOV or soft switches, such as OVS, are possible.\n                       sw1p1  +  sw1p3  +  sw1p5  +          eth1\n                         +    |    +    |    +    |            +\n                         |    |    |    |    |    |            |\n-                     +--+----+----+----+-+--+----+---+  +-----+-----+\n+                     +--+----+----+----+----+----+---+  +-----+-----+\n                      |         Switch driver         |  |    mgmt   |\n                      |        (this document)        |  |   driver  |\n                      |                               |  |           |\n",
    "prefixes": []
}