get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 933977,
    "url": "http://patchwork.ozlabs.org/api/patches/933977/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/patchwork/patch/20180624195557.19909-10-stephen@that.guru/",
    "project": {
        "id": 16,
        "url": "http://patchwork.ozlabs.org/api/projects/16/?format=api",
        "name": "Patchwork",
        "link_name": "patchwork",
        "list_id": "patchwork.lists.ozlabs.org",
        "list_email": "patchwork@lists.ozlabs.org",
        "web_url": "http://jk.ozlabs.org/projects/patchwork/",
        "scm_url": "git://github.com/getpatchwork/patchwork",
        "webscm_url": "https://github.com/getpatchwork/patchwork",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20180624195557.19909-10-stephen@that.guru>",
    "list_archive_url": null,
    "date": "2018-06-24T19:55:56",
    "name": "[10/11] tox: Rework warning infrastructure",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "73499a7aab32787648c894e9d4a67fa33b1df55a",
    "submitter": {
        "id": 69991,
        "url": "http://patchwork.ozlabs.org/api/people/69991/?format=api",
        "name": "Stephen Finucane",
        "email": "stephen@that.guru"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/patchwork/patch/20180624195557.19909-10-stephen@that.guru/mbox/",
    "series": [
        {
            "id": 51752,
            "url": "http://patchwork.ozlabs.org/api/series/51752/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/patchwork/list/?series=51752",
            "date": "2018-06-24T19:55:49",
            "name": "[01/11] REST: Check.user is not read-only",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/51752/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/933977/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/933977/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "patchwork@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "patchwork@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 41DNRK47Tzz9ry1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Jun 2018 05:58:53 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 41DNRK2cBxzF14g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Jun 2018 05:58:53 +1000 (AEST)",
            "from coral.maple.relay.mailchannels.net\n\t(coral.maple.relay.mailchannels.net [23.83.214.39])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 41DNNJ6mMGzF16W\n\tfor <patchwork@lists.ozlabs.org>;\n\tMon, 25 Jun 2018 05:56:16 +1000 (AEST)",
            "from relay.mailchannels.net (localhost [127.0.0.1])\n\tby relay.mailchannels.net (Postfix) with ESMTP id 1286D12235B\n\tfor <patchwork@lists.ozlabs.org>;\n\tSun, 24 Jun 2018 19:56:14 +0000 (UTC)",
            "from one.mxroute.com (unknown [100.96.18.110])\n\t(Authenticated sender: 5xi41l16bi)\n\tby relay.mailchannels.net (Postfix) with ESMTPA id 8F8421222AF\n\tfor <patchwork@lists.ozlabs.org>;\n\tSun, 24 Jun 2018 19:56:13 +0000 (UTC)",
            "from one.mxroute.com (one-outgoing.mxroute.com [172.18.58.245])\n\t(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)\n\tby 0.0.0.0:2500 (trex/5.15.2); Sun, 24 Jun 2018 19:56:14 +0000"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=that.guru",
            "ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tunprotected) header.d=that.guru header.i=@that.guru\n\theader.b=\"NGCR1UgG\"; dkim-atps=neutral",
            "lists.ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=that.guru",
            "lists.ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tunprotected) header.d=that.guru header.i=@that.guru\n\theader.b=\"NGCR1UgG\"; dkim-atps=neutral",
            "lists.ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=that.guru\n\t(client-ip=23.83.214.39; helo=coral.maple.relay.mailchannels.net;\n\tenvelope-from=stephen@that.guru; receiver=<UNKNOWN>)",
            "lists.ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=that.guru",
            "lists.ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tunprotected) header.d=that.guru header.i=@that.guru\n\theader.b=\"NGCR1UgG\"; dkim-atps=neutral"
        ],
        "X-Sender-Id": [
            "5xi41l16bi|x-authuser|stephen@that.guru",
            "5xi41l16bi|x-authuser|stephen@that.guru"
        ],
        "X-MC-Relay": "Neutral",
        "X-MailChannels-SenderId": "5xi41l16bi|x-authuser|stephen@that.guru",
        "X-MailChannels-Auth-Id": "5xi41l16bi",
        "X-Hysterical-Oafish": "7715b92a04a22f1d_1529870173781_2060119369",
        "X-MC-Loop-Signature": "1529870173781:1986730986",
        "X-MC-Ingress-Time": "1529870173781",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=that.guru;\n\ts=default;\n\th=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:\n\tSender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:\n\tContent-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:\n\tResent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:\n\tList-Subscribe:List-Post:List-Owner:List-Archive;\n\tbh=TQRqB5+VBayitqmdBCzxq8vEpQdZTuG/XTjTIuLhfmo=;\n\tb=NGCR1UgG4wtWYcib8o1du+NdVb\n\tQG4orPJ8CZj18Xuddt1QRJ0AxGYdGFM6HDAcby/+UsEypY895/W+VVHAtu4sE3wKF5air8t77ImeC\n\tt+K12dqkJaDmpwICeLcIyU1CtWCjmAIhLX8k8pehZ+oWo+gGqrlD1cANP/EJlK50cQ/ED3/WzQSPZ\n\tZsjghzr32fsx0Nzs5/94vyFrdddGvQN3LQ2XXBXp5PJOYWB+TrH3R7HtQKQlz2lw1TeNbxaXv8ipO\n\t/ptMaeRBvOYkzabuPxzRpeKCwLqdHg8hsviMl2rogN9WCvVXH1lvoQmrUdEQEgp/v9wUbeMms6bpa\n\tRk+TMWMw==;",
        "From": "Stephen Finucane <stephen@that.guru>",
        "To": "patchwork@lists.ozlabs.org",
        "Subject": "[PATCH 10/11] tox: Rework warning infrastructure",
        "Date": "Sun, 24 Jun 2018 20:55:56 +0100",
        "Message-Id": "<20180624195557.19909-10-stephen@that.guru>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20180624195557.19909-1-stephen@that.guru>",
        "References": "<20180624195557.19909-1-stephen@that.guru>",
        "X-AuthUser": "stephen@that.guru",
        "X-BeenThere": "patchwork@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.26",
        "Precedence": "list",
        "List-Id": "Patchwork development <patchwork.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/patchwork>,\n\t<mailto:patchwork-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/patchwork/>",
        "List-Post": "<mailto:patchwork@lists.ozlabs.org>",
        "List-Help": "<mailto:patchwork-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/patchwork>,\n\t<mailto:patchwork-request@lists.ozlabs.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Patchwork\"\n\t<patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>"
    },
    "content": "Python 3.5 and 3.5 introduce raise some warnings for libraries included\nin stdlib. Silence these to keep the output clean.\n\nSigned-off-by: Stephen Finucane <stephen@that.guru>\n---\n tox.ini | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tox.ini b/tox.ini\nindex 4eef4c44..a190fa6f 100644\n--- a/tox.ini\n+++ b/tox.ini\n@@ -16,12 +16,14 @@ setenv =\n     DJANGO_SETTINGS_MODULE = patchwork.settings.dev\n     PYTHONDONTWRITEBYTECODE = 1\n     DJANGO_LIVE_TEST_SERVER_ADDRESS = localhost:9000-9200\n+    py27: PYTHONWARNINGS = once,ignore::DeprecationWarning:distutils,ignore::PendingDeprecationWarning:distutils,ignore::ImportWarning:backports\n+    py{34,35,36}:PYTHONWARNINGS = once,ignore::ResourceWarning:unittest.suite,ignore::DeprecationWarning:distutils,ignore::PendingDeprecationWarning:distutils,ignore::ImportWarning:backports\n passenv =\n     http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY\n     PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS PW_TEST_DB_HOST\n     PW_TEST_DB_PORT\n commands =\n-    python -Wonce {toxinidir}/manage.py test --noinput '{posargs:patchwork}'\n+    python {toxinidir}/manage.py test --noinput '{posargs:patchwork}'\n \n [testenv:bashate]\n deps = bashate>=0.5,<0.6\n",
    "prefixes": [
        "10/11"
    ]
}