get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810177,
    "url": "http://patchwork.ozlabs.org/api/patches/810177/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170905140116.28181-3-kraxel@redhat.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170905140116.28181-3-kraxel@redhat.com>",
    "list_archive_url": null,
    "date": "2017-09-05T14:01:16",
    "name": "[v2,2/2] pixman: drop configure switches",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9f920572687c693371aeb0c793b3488bcf57ef2c",
    "submitter": {
        "id": 589,
        "url": "http://patchwork.ozlabs.org/api/people/589/?format=api",
        "name": "Gerd Hoffmann",
        "email": "kraxel@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170905140116.28181-3-kraxel@redhat.com/mbox/",
    "series": [
        {
            "id": 1587,
            "url": "http://patchwork.ozlabs.org/api/series/1587/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=1587",
            "date": "2017-09-05T14:01:16",
            "name": "drop pixman submodule",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1587/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810177/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810177/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ext-mx03.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com",
            "ext-mx03.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=kraxel@redhat.com"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmpLN2nJnz9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 00:02:04 +1000 (AEST)",
            "from localhost ([::1]:59090 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dpEQU-0008Ox-I5\n\tfor incoming@patchwork.ozlabs.org; Tue, 05 Sep 2017 10:02:02 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:35843)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <kraxel@redhat.com>) id 1dpEPt-0008Kr-Uc\n\tfor qemu-devel@nongnu.org; Tue, 05 Sep 2017 10:01:30 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <kraxel@redhat.com>) id 1dpEPp-00030y-An\n\tfor qemu-devel@nongnu.org; Tue, 05 Sep 2017 10:01:26 -0400",
            "from mx1.redhat.com ([209.132.183.28]:49396)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <kraxel@redhat.com>) id 1dpEPp-0002zu-5p\n\tfor qemu-devel@nongnu.org; Tue, 05 Sep 2017 10:01:21 -0400",
            "from smtp.corp.redhat.com\n\t(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 7799F76A1E;\n\tTue,  5 Sep 2017 14:01:19 +0000 (UTC)",
            "from sirius.home.kraxel.org (ovpn-117-175.ams2.redhat.com\n\t[10.36.117.175])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 4CFD98A70E;\n\tTue,  5 Sep 2017 14:01:17 +0000 (UTC)",
            "by sirius.home.kraxel.org (Postfix, from userid 1000)\n\tid 3082497D; Tue,  5 Sep 2017 16:01:16 +0200 (CEST)"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com 7799F76A1E",
        "From": "Gerd Hoffmann <kraxel@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Tue,  5 Sep 2017 16:01:16 +0200",
        "Message-Id": "<20170905140116.28181-3-kraxel@redhat.com>",
        "In-Reply-To": "<20170905140116.28181-1-kraxel@redhat.com>",
        "References": "<20170905140116.28181-1-kraxel@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.27]);\n\tTue, 05 Sep 2017 14:01:19 +0000 (UTC)",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]",
        "X-Received-From": "209.132.183.28",
        "Subject": "[Qemu-devel] [PATCH v2 2/2] pixman: drop configure switches",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "Peter Maydell <peter.maydell@linaro.org>,\n\tGerd Hoffmann <kraxel@redhat.com>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "Remove pixman switches from configure, should not be needed any more,\nconfigure can figure by itself whenever pixman is needed or not.\n\nSigned-off-by: Gerd Hoffmann <kraxel@redhat.com>\n---\n configure | 24 ++----------------------\n 1 file changed, 2 insertions(+), 22 deletions(-)",
    "diff": "diff --git a/configure b/configure\nindex 73760430b0..fdef7e138b 100755\n--- a/configure\n+++ b/configure\n@@ -282,7 +282,6 @@ curses=\"\"\n docs=\"\"\n fdt=\"\"\n netmap=\"no\"\n-pixman=\"\"\n sdl=\"\"\n sdlabi=\"\"\n virtfs=\"\"\n@@ -928,10 +927,6 @@ for opt do\n     # configure to be used by RPM and similar macros that set\n     # lots of directory switches by default.\n   ;;\n-  --with-system-pixman) pixman=\"system\"\n-  ;;\n-  --without-pixman) pixman=\"none\"\n-  ;;\n   --disable-sdl) sdl=\"no\"\n   ;;\n   --enable-sdl) sdl=\"yes\"\n@@ -3298,24 +3293,10 @@ fi\n ##########################################\n # pixman support probe\n \n-if test \"$pixman\" = \"\"; then\n-  if test \"$want_tools\" = \"no\" -a \"$softmmu\" = \"no\"; then\n-    pixman=\"none\"\n-  elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then\n-    pixman=\"system\"\n-  fi\n-fi\n-if test \"$pixman\" = \"none\"; then\n-  if test \"$want_tools\" != \"no\" -o \"$softmmu\" != \"no\"; then\n-    error_exit \"pixman disabled but system emulation or tools build\" \\\n-        \"enabled.  You can turn off pixman only if you also\" \\\n-        \"disable all system emulation targets and the tools\" \\\n-        \"build with '--disable-tools --disable-system'.\"\n-  fi\n+if test \"$want_tools\" = \"no\" -a \"$softmmu\" = \"no\"; then\n   pixman_cflags=\n   pixman_libs=\n-elif test \"$pixman\" = \"system\"; then\n-  # pixman version has been checked above\n+elif $pkg_config --atleast-version=0.21.8 pixman-1 > /dev/null 2>&1; then\n   pixman_cflags=$($pkg_config --cflags pixman-1)\n   pixman_libs=$($pkg_config --libs pixman-1)\n else\n@@ -5293,7 +5274,6 @@ echo \"static build      $static\"\n if test \"$darwin\" = \"yes\" ; then\n     echo \"Cocoa support     $cocoa\"\n fi\n-echo \"pixman            $pixman\"\n echo \"SDL support       $sdl $(echo_version $sdl $sdlversion)\"\n echo \"GTK support       $gtk $(echo_version $gtk $gtk_version)\"\n echo \"GTK GL support    $gtk_gl\"\n",
    "prefixes": [
        "v2",
        "2/2"
    ]
}