get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 811221,
    "url": "http://patchwork.ozlabs.org/api/patches/811221/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170907224219.12483-24-albert.aribaud@3adev.fr/",
    "project": {
        "id": 41,
        "url": "http://patchwork.ozlabs.org/api/projects/41/?format=api",
        "name": "GNU C Library",
        "link_name": "glibc",
        "list_id": "libc-alpha.sourceware.org",
        "list_email": "libc-alpha@sourceware.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170907224219.12483-24-albert.aribaud@3adev.fr>",
    "list_archive_url": null,
    "date": "2017-09-07T22:41:50",
    "name": "[RFC,23/52] Y2038: add struct __stat64_t64",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2915bf49f7b3494f18ebf292a5bfb811369cfc8a",
    "submitter": {
        "id": 65557,
        "url": "http://patchwork.ozlabs.org/api/people/65557/?format=api",
        "name": "Albert ARIBAUD (3ADEV)",
        "email": "albert.aribaud@3adev.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170907224219.12483-24-albert.aribaud@3adev.fr/mbox/",
    "series": [
        {
            "id": 2074,
            "url": "http://patchwork.ozlabs.org/api/series/2074/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=2074",
            "date": "2017-09-07T22:41:27",
            "name": "Make GLIBC Y2038-proof",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2074/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/811221/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/811221/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84341-incoming=patchwork.ozlabs.org@sourceware.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "mailing list libc-alpha@sourceware.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84341-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"LKD131QN\"; dkim-atps=neutral",
            "sourceware.org; auth=none"
        ],
        "Received": [
            "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xpFv21VfSz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 08:46:54 +1000 (AEST)",
            "(qmail 81582 invoked by alias); 7 Sep 2017 22:44:06 -0000",
            "(qmail 81391 invoked by uid 89); 7 Sep 2017 22:44:05 -0000"
        ],
        "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:date:message-id:in-reply-to\n\t:references; q=dns; s=default; b=PHbfA2dabehyJ7ZDLE8aACBeC3IZBpG\n\tBQdT+II6wesPftPweDEmU73Aie8sK7KXZrPCGKG/SXQo3mlBPaj1hSwRkAMZQsW5\n\tVRblTgZ4j/8vcs73zrLT5AUcomhl20uUN/6UpD98iNw/ywaopfsbk43F103UP/h1\n\t2UsziGklYWWQ=",
        "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:date:message-id:in-reply-to\n\t:references; s=default; bh=SV8Hdg20dW+4EzBlQo7GMyrEK/w=; b=LKD13\n\t1QNP6KSEhsXy7csdDYgjyOpCjm+e0M2Ni4LQjXile2yoNMIRbT4OmCChL+2pReye\n\tH3/cJKnMnqaRzxKVtsTMQy8vWspwV3uHUt2+TMZXmsL+VsVPn+nIMLh/yqyM39Av\n\tfwPqA8BmLBaTCArm9qkth/ZGeA38yPirZgd4g0=",
        "Mailing-List": "contact libc-alpha-help@sourceware.org; run by ezmlm",
        "Precedence": "bulk",
        "List-Id": "<libc-alpha.sourceware.org>",
        "List-Unsubscribe": "<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>",
        "List-Subscribe": "<mailto:libc-alpha-subscribe@sourceware.org>",
        "List-Archive": "<http://sourceware.org/ml/libc-alpha/>",
        "List-Post": "<mailto:libc-alpha@sourceware.org>",
        "List-Help": "<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>",
        "Sender": "libc-alpha-owner@sourceware.org",
        "X-Virus-Found": "No",
        "X-Spam-SWARE-Status": "No, score=-26.6 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=",
        "X-HELO": "smtp6-g21.free.fr",
        "From": "\"Albert ARIBAUD (3ADEV)\" <albert.aribaud@3adev.fr>",
        "To": "libc-alpha@sourceware.org",
        "Cc": "\"Albert ARIBAUD (3ADEV)\" <albert.aribaud@3adev.fr>",
        "Subject": "[RFC PATCH 23/52] Y2038: add struct __stat64_t64",
        "Date": "Fri,  8 Sep 2017 00:41:50 +0200",
        "Message-Id": "<20170907224219.12483-24-albert.aribaud@3adev.fr>",
        "In-Reply-To": "<20170907224219.12483-23-albert.aribaud@3adev.fr>",
        "References": "<20170907224219.12483-1-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-2-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-3-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-4-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-5-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-6-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-7-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-8-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-9-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-10-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-11-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-12-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-13-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-14-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-15-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-16-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-17-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-18-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-19-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-20-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-21-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-22-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-23-albert.aribaud@3adev.fr>"
    },
    "content": "Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>\n---\n include/sys/stat.h | 25 +++++++++++++++++++++++++\n 1 file changed, 25 insertions(+)",
    "diff": "diff --git a/include/sys/stat.h b/include/sys/stat.h\nindex 4f31c00eca..300cf8bbc4 100644\n--- a/include/sys/stat.h\n+++ b/include/sys/stat.h\n@@ -1,7 +1,32 @@\n #ifndef _SYS_STAT_H\n #include <io/sys/stat.h>\n+#include <include/time.h>\n \n #ifndef _ISOMAC\n+\n+/* Used for 64-bit time implementations */\n+struct __stat64_t64\n+  {\n+    __dev_t st_dev;\t\t\t/* Device.  */\n+    unsigned int __pad1;\n+\n+    __ino_t __st_ino;\t\t\t/* 32bit file serial number.\t*/\n+    __mode_t st_mode;\t\t\t/* File mode.  */\n+    __nlink_t st_nlink;\t\t\t/* Link count.  */\n+    __uid_t st_uid;\t\t\t/* User ID of the file's owner.\t*/\n+    __gid_t st_gid;\t\t\t/* Group ID of the file's group.*/\n+    __dev_t st_rdev;\t\t\t/* Device number, if device.  */\n+    unsigned int __pad2;\n+    __off64_t st_size;\t\t\t/* Size of file, in bytes.  */\n+    __blksize_t st_blksize;\t\t/* Optimal block size for I/O.  */\n+\n+    __blkcnt64_t st_blocks;\t\t/* Number 512-byte blocks allocated. */\n+    struct __timespec64 st_atim;\t\t/* Time of last access.  */\n+    struct __timespec64 st_mtim;\t\t/* Time of last modification.  */\n+    struct __timespec64 st_ctim;\t\t/* Time of last status change.  */\n+    __ino64_t st_ino;\t\t\t/* File serial number.\t\t*/\n+  };\n+\n /* Now define the internal interfaces. */\n extern int __stat (const char *__file, struct stat *__buf);\n extern int __fstat (int __fd, struct stat *__buf);\n",
    "prefixes": [
        "RFC",
        "23/52"
    ]
}