get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 815818,
    "url": "http://patchwork.ozlabs.org/api/patches/815818/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170919201808.11433-7-tuomas.tynkkynen@iki.fi/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170919201808.11433-7-tuomas.tynkkynen@iki.fi>",
    "list_archive_url": null,
    "date": "2017-09-19T20:18:08",
    "name": "[U-Boot,v2,6/6] travis.yml: Add job for running test.py in qemu_arm",
    "commit_ref": "7b09dffc3b07ae08b0b1006ab799c2d1a0364504",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c55bfe0a6522a0994dcaa0a53d23509797164cfa",
    "submitter": {
        "id": 32296,
        "url": "http://patchwork.ozlabs.org/api/people/32296/?format=api",
        "name": "Tuomas Tynkkynen",
        "email": "tuomas.tynkkynen@iki.fi"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170919201808.11433-7-tuomas.tynkkynen@iki.fi/mbox/",
    "series": [
        {
            "id": 3961,
            "url": "http://patchwork.ozlabs.org/api/series/3961/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=3961",
            "date": "2017-09-19T20:18:02",
            "name": "Board for QEMU's '-machine virt' on ARM",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/3961/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/815818/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/815818/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"LE9rwZZ8\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xxZ6J5y5xz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 06:22:00 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 8452AC21D72; Tue, 19 Sep 2017 20:20:19 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 6EDA0C21DCA;\n\tTue, 19 Sep 2017 20:19:19 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 52A76C21D76; Tue, 19 Sep 2017 20:18:35 +0000 (UTC)",
            "from mail-lf0-f68.google.com (mail-lf0-f68.google.com\n\t[209.85.215.68])\n\tby lists.denx.de (Postfix) with ESMTPS id E1176C21D5F\n\tfor <u-boot@lists.denx.de>; Tue, 19 Sep 2017 20:18:31 +0000 (UTC)",
            "by mail-lf0-f68.google.com with SMTP id h80so362833lfe.1\n\tfor <u-boot@lists.denx.de>; Tue, 19 Sep 2017 13:18:31 -0700 (PDT)",
            "from localhost.localdomain (85-76-68-181-nat.elisa-mobile.fi.\n\t[85.76.68.181]) by smtp.gmail.com with ESMTPSA id\n\ta197sm21154lfe.95.2017.09.19.13.18.29\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 19 Sep 2017 13:18:30 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=wRcdTP2XXWzWsTVNyKS3uVqccSPW0ayuvM/gTjTz3Fc=;\n\tb=LE9rwZZ8/9kAqd/jjrv7tMpKBrtmXC3+SvGQ44J4crmrxSa9gTGK4QMrfLSwFOUEjI\n\t6daBYzhgGTm5e10pnoD8XHsZ7exqG44OHbJjsEUAFGXr27kmlLpHQVRY30kj+l8fVQkA\n\tN4PAGsMw/6c3d1oLwNc6v2N8nzaVAWfNMjsNNraE+/eVt8G0/RymxkQTNPRVLt3Nz1tR\n\tOYcrJZTsI7AaWxt4BXb+jVfZWOcmJjuZ6a58LB75GKL3CUszu6SnIzRN1p7R8hjk3qyr\n\tcmAL9F6CIoRnV7hdOmoGKTszpMngW/58irKDcKYmZ8443vcRQN2Sds5XPyuywf/3bI7/\n\tHuEQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=wRcdTP2XXWzWsTVNyKS3uVqccSPW0ayuvM/gTjTz3Fc=;\n\tb=HxCEaMjFGu/awW4UWd7QmQQbtRFaP710qQ1aD8RKbcNXb/vKPPXxdQ6ANkbEgliT4P\n\tTgrRb4QwxI6DAR9PR0t/+JaT5+IZWKfuEpoUnPewmuEwmtSCsbVFkSDBjJ1qs8kNYY1w\n\tgrypbDOMiTwfJORD2G+MzPMThPkVZh62GpoJ6Dqz1eKSOs6KDprRetMPA/M5KZtshaaY\n\thZpSuzbSyLouRdw0s24c7vB9G2WSKYWBbhxvhMe+HE/crOu5rtoDfBCVG3CKFhgeBIGp\n\touFlEBFqGzl/CleU071RxBIaA6p1otxrSavlFV9W7BfU0F/VUwAzkO+HnxEDaA7x3VQ0\n\t0rbw==",
        "X-Gm-Message-State": "AHPjjUgFAMbp6R/Jb8flrlKu4OKDmZFZhoIPDVhK7+o3sJ0VilcYqCp4\n\tJGAedlKsboviW7JN76pvalZV4g==",
        "X-Google-Smtp-Source": "AOwi7QATuLvOTaBtVO4Hcz9y/IxUnIU7wqecp25qnXubNTaApdoZlot1x31hA00VitIjFZ7vZH6ecA==",
        "X-Received": "by 10.25.212.209 with SMTP id l200mr913937lfg.13.1505852311073; \n\tTue, 19 Sep 2017 13:18:31 -0700 (PDT)",
        "From": "Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>",
        "To": "u-boot@lists.denx.de",
        "Date": "Tue, 19 Sep 2017 23:18:08 +0300",
        "Message-Id": "<20170919201808.11433-7-tuomas.tynkkynen@iki.fi>",
        "X-Mailer": "git-send-email 2.13.0",
        "In-Reply-To": "<20170919201808.11433-1-tuomas.tynkkynen@iki.fi>",
        "References": "<20170919201808.11433-1-tuomas.tynkkynen@iki.fi>",
        "Cc": "Tom Rini <trini@konsulko.com>",
        "Subject": "[U-Boot] [PATCH v2 6/6] travis.yml: Add job for running test.py in\n\tqemu_arm",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "Note that this commit requires\nhttps://github.com/swarren/uboot-test-hooks/pull/14 to go in first.\n\nSigned-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>\n---\n .travis.yml | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/.travis.yml b/.travis.yml\nindex 1d29eb35c1..b8f69f0a0c 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -289,6 +289,11 @@ matrix:\n           QEMU_TARGET=\"arm-softmmu\"\n           BUILDMAN=\"^integratorcp_cm926ejs$\"\n     - env:\n+        - TEST_PY_BD=\"qemu_arm\"\n+          TEST_PY_TEST_SPEC=\"not sleep\"\n+          QEMU_TARGET=\"arm-softmmu\"\n+          BUILDMAN=\"^qemu_arm$\"\n+    - env:\n         - TEST_PY_BD=\"qemu_mips\"\n           TEST_PY_TEST_SPEC=\"not sleep\"\n           QEMU_TARGET=\"mips-softmmu\"\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "6/6"
    ]
}