get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809182,
    "url": "http://patchwork.ozlabs.org/api/patches/809182/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170903004945.9234-1-samuel.thibault@ens-lyon.org/",
    "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": "<20170903004945.9234-1-samuel.thibault@ens-lyon.org>",
    "list_archive_url": null,
    "date": "2017-09-03T00:49:45",
    "name": "[hurd,commited] hurd: Fix p{read,write}{,v64}v2.c build",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2ceafb07da37ee139ea3e71e597bd80ec9071386",
    "submitter": {
        "id": 418,
        "url": "http://patchwork.ozlabs.org/api/people/418/?format=api",
        "name": "Samuel Thibault",
        "email": "samuel.thibault@ens-lyon.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170903004945.9234-1-samuel.thibault@ens-lyon.org/mbox/",
    "series": [
        {
            "id": 1188,
            "url": "http://patchwork.ozlabs.org/api/series/1188/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=1188",
            "date": "2017-09-03T00:49:45",
            "name": "[hurd,commited] hurd: Fix p{read,write}{,v64}v2.c build",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1188/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809182/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809182/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84130-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-84130-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=\"tKSoGTK7\"; 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 3xlDsP5fqgz9sNr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 10:50:01 +1000 (AEST)",
            "(qmail 29061 invoked by alias); 3 Sep 2017 00:49:55 -0000",
            "(qmail 29040 invoked by uid 89); 3 Sep 2017 00:49:54 -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; q=dns; s=\n\tdefault; b=ld6vyKatayLHgx0bqa0JBNfvE12FarQGK6YGbCRtBdntZEGDbjPdQ\n\tXjhxWBRXnYUq4M6OFuDo840QQ1bA2L8TG52zl6j64MEw6IaMQiUKUEToe4M4Taw8\n\tHXY5WFWnhXWC2WODaHZWc5aw5E5mOE0iZnZmIUgTZwDMoZ4g81U38c=",
        "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; s=default;\n\tbh=QBeUWG8X9eg+BPLEplUZf7+Wj7U=; b=tKSoGTK7lDoRTzYpRvtQ+BixAwGt\n\tXVTBjVirERkEpN7lZMwWnkLkpB98gSGnrrncq0sjddcEZ8Hpgx5VY4jXF4UAiy0D\n\tT2OkkbhC24U+4COiLJpvUnllF32aUtO6FybjXAGzhSWXPQHzNDbFlxSV+RplUodV\n\tKRThKs/fwag+3Go=",
        "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.1 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS,\n\tSPF_NEUTRAL, URIBL_RED autolearn=ham version=3.3.2 spammy=",
        "X-HELO": "hera.aquilenet.fr",
        "From": "Samuel Thibault <samuel.thibault@ens-lyon.org>",
        "To": "libc-alpha@sourceware.org",
        "Cc": "Samuel Thibault <samuel.thibault@ens-lyon.org>",
        "Subject": "[hurd,commited] hurd: Fix p{read,write}{,v64}v2.c build",
        "Date": "Sun,  3 Sep 2017 02:49:45 +0200",
        "Message-Id": "<20170903004945.9234-1-samuel.thibault@ens-lyon.org>"
    },
    "content": "* sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.\n\t* sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T.\n\t* sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.\n\t* sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T.\n---\n ChangeLog                   | 4 ++++\n sysdeps/posix/preadv2.c     | 2 +-\n sysdeps/posix/preadv64v2.c  | 2 +-\n sysdeps/posix/pwritev2.c    | 2 +-\n sysdeps/posix/pwritev64v2.c | 2 +-\n 5 files changed, 8 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/ChangeLog b/ChangeLog\nindex cf6866cd11..a4634b7fdb 100644\n--- a/ChangeLog\n+++ b/ChangeLog\n@@ -5,6 +5,10 @@\n \tparameter.\n \t* sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of\n \tjust <bits/types.h>.\n+\t* sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.\n+\t* sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T.\n+\t* sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.\n+\t* sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T.\n \n 2017-09-01  Joseph Myers  <joseph@codesourcery.com>\n \ndiff --git a/sysdeps/posix/preadv2.c b/sysdeps/posix/preadv2.c\nindex d27f7028ed..b79b7b1bc3 100644\n--- a/sysdeps/posix/preadv2.c\n+++ b/sysdeps/posix/preadv2.c\n@@ -23,7 +23,7 @@\n \n /* Since we define no flags for preadv2 just route to preadv.  */\n ssize_t\n-preadv2 (int fd, const struct iovec *vector, int count, OFF_T offset,\n+preadv2 (int fd, const struct iovec *vector, int count, off_t offset,\n \t int flags)\n {\n   if (flags != 0)\ndiff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c\nindex ce7cb40bf2..ab71f027d4 100644\n--- a/sysdeps/posix/preadv64v2.c\n+++ b/sysdeps/posix/preadv64v2.c\n@@ -20,7 +20,7 @@\n #include <sys/uio.h>\n \n ssize_t\n-preadv64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,\n+preadv64v2 (int fd, const struct iovec *vector, int count, off_t offset,\n \t    int flags)\n {\n   if (flags != 0)\ndiff --git a/sysdeps/posix/pwritev2.c b/sysdeps/posix/pwritev2.c\nindex 7ec8cbc407..d746059d42 100644\n--- a/sysdeps/posix/pwritev2.c\n+++ b/sysdeps/posix/pwritev2.c\n@@ -23,7 +23,7 @@\n \n /* Since we define no flags for pwritev2 just route to pwritev.  */\n ssize_t\n-pwritev2 (int fd, const struct iovec *vector, int count, OFF_T offset,\n+pwritev2 (int fd, const struct iovec *vector, int count, off_t offset,\n \t  int flags)\n {\n   if (flags != 0)\ndiff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c\nindex be98aeed9d..bf62d74190 100644\n--- a/sysdeps/posix/pwritev64v2.c\n+++ b/sysdeps/posix/pwritev64v2.c\n@@ -21,7 +21,7 @@\n \n /* Since we define no flags for pwritev2 just route to pwritev.  */\n ssize_t\n-pwritev64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,\n+pwritev64v2 (int fd, const struct iovec *vector, int count, off_t offset,\n \t     int flags)\n {\n   if (flags != 0)\n",
    "prefixes": [
        "hurd",
        "commited"
    ]
}