get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 811195,
    "url": "http://patchwork.ozlabs.org/api/patches/811195/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170907224219.12483-2-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-2-albert.aribaud@3adev.fr>",
    "list_archive_url": null,
    "date": "2017-09-07T22:41:28",
    "name": "[RFC,01/52] Y2038: add type __time64_t",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fd3e7bc807337fe8c5227e4942bbc96a1230bee1",
    "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-2-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/811195/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/811195/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84319-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-84319-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=\"YoQRZYT9\"; 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 3xpFpH71rsz9sMN\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 08:42:47 +1000 (AEST)",
            "(qmail 56353 invoked by alias); 7 Sep 2017 22:42:34 -0000",
            "(qmail 56212 invoked by uid 89); 7 Sep 2017 22:42:34 -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=YPKy+33osJR3w/z8OtypMT9To4SDmFs\n\tovxX2xLt8itZDbeUetWdDLsAGxytN1XsudwSBw4rftI7FbKZSi3f3zVEZxbd5Xbt\n\tj2z/RwQx6xMNL/l8+hxs6RTQrdc8m3TzmKWc3bi67GsPAPjcv/AoJlFzWhn1I3Vb\n\ty0lbYbxHNWbc=",
        "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=IfE8ePn4WLHKy0187LnjOBZnp5w=; b=YoQRZ\n\tYT9SNLdTe9tI3Xu1M+oFcE+UTh4FRGAwxetDyWSddP4j7CDYioZTjMvymTGsaLiv\n\tQHsVIMkpTwhOp3aVKUpsLFLFtvvcboYEUzexiX+kA3PWkUCQ+DGcAAgKPnu7514k\n\twxpjdE953A32kQyuQAuA6QRPgfGxxJpeHlbogg=",
        "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=HCc:D*fr,\n\tHx-languages-length:1461",
        "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 01/52] Y2038: add type __time64_t",
        "Date": "Fri,  8 Sep 2017 00:41:28 +0200",
        "Message-Id": "<20170907224219.12483-2-albert.aribaud@3adev.fr>",
        "In-Reply-To": "<20170907224219.12483-1-albert.aribaud@3adev.fr>",
        "References": "<20170907224219.12483-1-albert.aribaud@3adev.fr>"
    },
    "content": "Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>\n---\n bits/typesizes.h   | 1 +\n posix/bits/types.h | 3 ++-\n 2 files changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/bits/typesizes.h b/bits/typesizes.h\nindex d407bf4067..a916cc1d0d 100644\n--- a/bits/typesizes.h\n+++ b/bits/typesizes.h\n@@ -48,6 +48,7 @@\n #define\t__ID_T_TYPE\t\t__U32_TYPE\n #define __CLOCK_T_TYPE\t\t__SLONGWORD_TYPE\n #define __TIME_T_TYPE\t\t__SLONGWORD_TYPE\n+#define __TIME64_T_TYPE\t\t__SQUAD_TYPE\n #define __USECONDS_T_TYPE\t__U32_TYPE\n #define __SUSECONDS_T_TYPE\t__SLONGWORD_TYPE\n #define __DADDR_T_TYPE\t\t__S32_TYPE\ndiff --git a/posix/bits/types.h b/posix/bits/types.h\nindex e2f73a89e4..26f1e4542f 100644\n--- a/posix/bits/types.h\n+++ b/posix/bits/types.h\n@@ -145,7 +145,8 @@ __STD_TYPE __CLOCK_T_TYPE __clock_t;\t/* Type of CPU usage counts.  */\n __STD_TYPE __RLIM_T_TYPE __rlim_t;\t/* Type for resource measurement.  */\n __STD_TYPE __RLIM64_T_TYPE __rlim64_t;\t/* Type for resource measurement (LFS).  */\n __STD_TYPE __ID_T_TYPE __id_t;\t\t/* General type for IDs.  */\n-__STD_TYPE __TIME_T_TYPE __time_t;\t/* Seconds since the Epoch.  */\n+__STD_TYPE __TIME_T_TYPE __time_t;\t/* Seconds since the Epoch, Y2038-unsafe.  */\n+__STD_TYPE __TIME64_T_TYPE __time64_t;\t/* Seconds since the Epoch, Y2038-safe.  */\n __STD_TYPE __USECONDS_T_TYPE __useconds_t; /* Count of microseconds.  */\n __STD_TYPE __SUSECONDS_T_TYPE __suseconds_t; /* Signed count of microseconds.  */\n \n",
    "prefixes": [
        "RFC",
        "01/52"
    ]
}