get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817534,
    "url": "http://patchwork.ozlabs.org/api/patches/817534/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922140237.10869-6-carenas@gmail.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": "<20170922140237.10869-6-carenas@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-22T14:02:36",
    "name": "[RFC,5/6] linux-user: fix 64bit versions of sparc and mips",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "685ca2dfb7df6877edcf20970b423eed138297d1",
    "submitter": {
        "id": 72390,
        "url": "http://patchwork.ozlabs.org/api/people/72390/?format=api",
        "name": "Carlo Arenas",
        "email": "carenas@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922140237.10869-6-carenas@gmail.com/mbox/",
    "series": [
        {
            "id": 4635,
            "url": "http://patchwork.ozlabs.org/api/series/4635/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4635",
            "date": "2017-09-22T14:02:31",
            "name": "linux-user: refactor socket.h into architecture specific sockbits",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4635/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817534/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817534/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>)",
            "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=\"iyo9BJNT\"; dkim-atps=neutral"
        ],
        "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 3xzFgk57hzz9t3h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 00:08:18 +1000 (AEST)",
            "from localhost ([::1]:59099 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 1dvOcq-0001fb-Mz\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 10:08:16 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:53821)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <carenas@gmail.com>) id 1dvOXz-0006wH-IH\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:19 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <carenas@gmail.com>) id 1dvOXt-0001PH-Nc\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:15 -0400",
            "from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:36994)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <carenas@gmail.com>) id 1dvOXt-0001Oi-Ig\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:09 -0400",
            "by mail-pf0-x243.google.com with SMTP id e69so499384pfg.4\n\tfor <qemu-devel@nongnu.org>; Fri, 22 Sep 2017 07:03:09 -0700 (PDT)",
            "from localhost.localdomain (c-73-189-82-67.hsd1.ca.comcast.net.\n\t[73.189.82.67]) by smtp.gmail.com with ESMTPSA id\n\td124sm6428901pfc.42.2017.09.22.07.03.06\n\t(version=TLS1 cipher=AES128-SHA bits=128/128);\n\tFri, 22 Sep 2017 07:03:07 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=GUsWnpLgE34ENDTqipyUlZE4urQAH3WBMJDBfWADGF0=;\n\tb=iyo9BJNTaxgGEaXf9EsMaxFPdGoHacMRCn5OoJYHYymavhO6PU9InMy8WaXZ9kLffD\n\tqU3u4Z3iAAv1TI7c3yoko/VBmc6bC6ZQSZM2F4WH+OYYu5+q63eKRpC4TlcK7Vy7yJhC\n\tIOyIdsVa5yPl/pFS6lbr5WbV/fiEB/laqc7QocpKM/dOztqFZjxlBX9coyYRqLJP8XAE\n\tTBSKHfrioIcZI8tLPYhWe7wBQ+8IYPIymCLRHs5bNsbzyKlygO9IB0OMOxLazn7ix87m\n\twgQTwI3g9gyoBQLWNRmvMGtBk9Mhy+Ti12IxZStUmUaOAJ9+62AszCdI4hLZN9BXWGBK\n\tsuwQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=GUsWnpLgE34ENDTqipyUlZE4urQAH3WBMJDBfWADGF0=;\n\tb=gSSFwHXzmC1CqrqmOiyTyJexKOCbT9ygf7kqJPn7scSpDh+w/6wxwPS+Eu41FrbrDu\n\tJoTmHUra0peDis/OqhRXbDVEn6L3QRcaqO2zE2EiIRvee9YHZKC8ufuX0E8S6guZ8A+z\n\t1x2Wsd8i2MmOMq54aHtPJ7EvOr3qtlnKvxZpvShSV/OdeWCmrUbJJvL6cvDkhlikqkas\n\tGBG5D8IyZZQhI72vNAF0Wo/ZCv+gsn4n2TXx7XbriIjxqbrKj7DbfjsgVZuMfpE1GCff\n\t8u2BcKKMpQ1emh8DJsuhDZVYOSb24lETIBLbY6ZMeYo4jieMTQLFFauKQQ6L4K9Hb4ZU\n\t2I/g==",
        "X-Gm-Message-State": "AHPjjUjyj04fSCvn0zOVHzDXz/DlOmDZk6DucqCpyZX/ORKN8Q4+FLor\n\tF7WooGiwmomt/nvtL7CLznsuPtZe",
        "X-Google-Smtp-Source": "AOwi7QAQiDyqhfCnC8X63E+IizpGH+qBPt31vbKAlUnSakilxA+KQC0jqGgy/Zrz5QZJ6V7yI/YrqA==",
        "X-Received": "by 10.98.89.91 with SMTP id n88mr9475314pfb.280.1506088988407;\n\tFri, 22 Sep 2017 07:03:08 -0700 (PDT)",
        "From": "=?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= <carenas@gmail.com>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Fri, 22 Sep 2017 07:02:36 -0700",
        "Message-Id": "<20170922140237.10869-6-carenas@gmail.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170922140237.10869-1-carenas@gmail.com>",
        "References": "<20170922140237.10869-1-carenas@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.",
        "X-Received-From": "2607:f8b0:400e:c00::243",
        "Subject": "[Qemu-devel] [RFC 5/6] linux-user: fix 64bit versions of sparc and\n\tmips",
        "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": "=?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= <carenas@gmail.com>,\n\triku.voipio@iki.fi, laurent@vivier.eu, rth@twiddle.net",
        "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": "Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>\n---\n linux-user/mips64/sockbits.h  | 1 +\n linux-user/socket.h           | 4 ++--\n linux-user/sparc64/sockbits.h | 1 +\n 3 files changed, 4 insertions(+), 2 deletions(-)\n create mode 100644 linux-user/mips64/sockbits.h\n create mode 100644 linux-user/sparc64/sockbits.h",
    "diff": "diff --git a/linux-user/mips64/sockbits.h b/linux-user/mips64/sockbits.h\nnew file mode 100644\nindex 0000000000..e6b6d31ac9\n--- /dev/null\n+++ b/linux-user/mips64/sockbits.h\n@@ -0,0 +1 @@\n+#include \"../mips/sockbits.h\"\ndiff --git a/linux-user/socket.h b/linux-user/socket.h\nindex dfa692286b..6fd486c6b1 100644\n--- a/linux-user/socket.h\n+++ b/linux-user/socket.h\n@@ -1,10 +1,10 @@\n-#if defined(TARGET_MIPS)\n+#if defined(TARGET_MIPS) || defined(TARGET_MIPS64)\n #include \"mips/sockbits.h\"\n #elif defined(TARGET_ALPHA)\n #include \"alpha/sockbits.h\"\n #elif defined(TARGET_HPPA)\n #include \"hppa/sockbits.h\"\n-#elif defined(TARGET_SPARC)\n+#elif defined(TARGET_SPARC) || defined(TARGET_SPARC64)\n #include \"sparc/sockbits.h\"\n #else\n \ndiff --git a/linux-user/sparc64/sockbits.h b/linux-user/sparc64/sockbits.h\nnew file mode 100644\nindex 0000000000..658899e4d3\n--- /dev/null\n+++ b/linux-user/sparc64/sockbits.h\n@@ -0,0 +1 @@\n+#include \"../sparc/sockbits.h\"\n",
    "prefixes": [
        "RFC",
        "5/6"
    ]
}