get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 203518,
    "url": "http://patchwork.ozlabs.org/api/patches/203518/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1354581799-775-4-git-send-email-dianders@chromium.org/",
    "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": "<1354581799-775-4-git-send-email-dianders@chromium.org>",
    "list_archive_url": null,
    "date": "2012-12-04T00:43:19",
    "name": "[U-Boot,v2,4/4] patman: Add settings to the list of modules to doctest",
    "commit_ref": "656cffeb49394f1cc935001f90337028e01472c5",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8fba64279dc028346de5c40972411df7c19d1616",
    "submitter": {
        "id": 9763,
        "url": "http://patchwork.ozlabs.org/api/people/9763/?format=api",
        "name": "Douglas Anderson",
        "email": "dianders@chromium.org"
    },
    "delegate": {
        "id": 3184,
        "url": "http://patchwork.ozlabs.org/api/users/3184/?format=api",
        "username": "sjg",
        "first_name": "Simon",
        "last_name": "Glass",
        "email": "sjg@chromium.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1354581799-775-4-git-send-email-dianders@chromium.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/203518/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/203518/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",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 60D622C008F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  4 Dec 2012 11:43:45 +1100 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 5AF634A188;\n\tTue,  4 Dec 2012 01:43:42 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id gK0KC0Hs4WDV; Tue,  4 Dec 2012 01:43:41 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id AF5404A16B;\n\tTue,  4 Dec 2012 01:43:31 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id EA8EF4A152\n\tfor <u-boot@lists.denx.de>; Tue,  4 Dec 2012 01:43:28 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id vPfcvRxIY3-j for <u-boot@lists.denx.de>;\n\tTue,  4 Dec 2012 01:43:27 +0100 (CET)",
            "from mail-vc0-f202.google.com (mail-vc0-f202.google.com\n\t[209.85.220.202])\n\tby theia.denx.de (Postfix) with ESMTPS id 02A9A4A12D\n\tfor <u-boot@lists.denx.de>; Tue,  4 Dec 2012 01:43:25 +0100 (CET)",
            "by mail-vc0-f202.google.com with SMTP id m8so392885vcd.3\n\tfor <u-boot@lists.denx.de>; Mon, 03 Dec 2012 16:43:24 -0800 (PST)",
            "by 10.236.126.144 with SMTP id b16mr7569802yhi.39.1354581804591;\n\tMon, 03 Dec 2012 16:43:24 -0800 (PST)",
            "from wpzn4.hot.corp.google.com (216-239-44-65.google.com\n\t[216.239.44.65]) by gmr-mx.google.com with ESMTPS id\n\tr6si964678yhc.7.2012.12.03.16.43.24\n\t(version=TLSv1/SSLv3 cipher=AES128-SHA);\n\tMon, 03 Dec 2012 16:43:24 -0800 (PST)",
            "from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com\n\t[172.22.73.80])\n\tby wpzn4.hot.corp.google.com (Postfix) with ESMTP id 7C76D82004A;\n\tMon,  3 Dec 2012 16:43:24 -0800 (PST)",
            "by tictac.mtv.corp.google.com (Postfix, from userid 121310)\n\tid 2D9B681A85; Mon,  3 Dec 2012 16:43:24 -0800 (PST)"
        ],
        "X-Virus-Scanned": [
            "Debian amavisd-new at theia.denx.de",
            "Debian amavisd-new at theia.denx.de"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=google.com; s=20120113;\n\th=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\n\t:x-gm-message-state;\n\tbh=3NyeriYLt64/9uBOo/b031vXcSixXc1WbNkmSgQKOx4=;\n\tb=WlDfqr3h9PxMZQ4EVWU5D+YZbzi7KQP9w0nha0oKyw451K5r8qGZt0b7LCfG/tfvrK\n\thVePu7aKqSWiR8fBfC2GOfLOpwUDUc1KZlu1nzUhyZQjbG34a4XBkBTGCARYVjoDtYyk\n\ttxOGgIfkJ4rgeH3bMlo83jqg3EuW+N3XuzbIUKFw/oOh2FiXzs/oGUk/dEJEg9yzAYZc\n\tPBJl/0zK/AGXdogwZb1gMLq9xcxEpD7MH5BD1YK/mfYIARlPSdXQK8HNGPc4NvvoxQ88\n\tQiW45LxaQFhRD21Ud2em90LsEWVw6rD5LSZ2heJJedsD5PVkcAkIPjo+d250FD384dmr\n\tfvRA==",
        "From": "Doug Anderson <dianders@chromium.org>",
        "To": "Simon Glass <sjg@chromium.org>",
        "Date": "Mon,  3 Dec 2012 16:43:19 -0800",
        "Message-Id": "<1354581799-775-4-git-send-email-dianders@chromium.org>",
        "X-Mailer": "git-send-email 1.7.7.3",
        "In-Reply-To": "<1354581799-775-1-git-send-email-dianders@chromium.org>",
        "References": "<1354321745-1359-1-git-send-email-dianders@chromium.org>\n\t<1354581799-775-1-git-send-email-dianders@chromium.org>",
        "X-Gm-Message-State": "ALoCoQkvSnWtUSELKh/JoHKlurA/fcQe2uRL3bxX7dj/ohcTHTNpJq2ousXZUC5tI12zkAbgotd8IryvR5SbaBU90+1sntgPO5ZLP2zC4NgKZfvcMEIlMN0MWnYLpZAxWaLiGtmwwKJ97YOa5fNDKDt36xMu3TBVYHAszBxDvDv+CIkkII6W1TZOO4PnctVKP3LTfiQAernX",
        "Cc": "u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH v2 4/4] patman: Add settings to the list of modules\n\tto doctest",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "u-boot-bounces@lists.denx.de",
        "Errors-To": "u-boot-bounces@lists.denx.de"
    },
    "content": "The settings modules now has doctests, so run them.\n\nSigned-off-by: Doug Anderson <dianders@chromium.org>\n---\nChanges in v2: None\n\n tools/patman/patman.py |    5 +++--\n 1 files changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tools/patman/patman.py b/tools/patman/patman.py\nindex 2e9e5dc..e56dd01 100755\n--- a/tools/patman/patman.py\n+++ b/tools/patman/patman.py\n@@ -85,8 +85,9 @@ if options.test:\n     result = unittest.TestResult()\n     suite.run(result)\n \n-    suite = doctest.DocTestSuite('gitutil')\n-    suite.run(result)\n+    for module in ['gitutil', 'settings']:\n+        suite = doctest.DocTestSuite(module)\n+        suite.run(result)\n \n     # TODO: Surely we can just 'print' result?\n     print result\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "4/4"
    ]
}