get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809195,
    "url": "http://patchwork.ozlabs.org/api/patches/809195/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170903030009.10106-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": "<20170903030009.10106-1-samuel.thibault@ens-lyon.org>",
    "list_archive_url": null,
    "date": "2017-09-03T03:00:09",
    "name": "[hurd,commited] hurd: Fix libc link",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "32d1f3b8aa2b96cf416925274742f0f95cb98a59",
    "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/20170903030009.10106-1-samuel.thibault@ens-lyon.org/mbox/",
    "series": [
        {
            "id": 1195,
            "url": "http://patchwork.ozlabs.org/api/series/1195/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=1195",
            "date": "2017-09-03T03:00:09",
            "name": "[hurd,commited] hurd: Fix libc link",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1195/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809195/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809195/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84136-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-84136-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=\"KTOUacHh\"; 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 3xlHmh43Pnz9t24\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 13:01:08 +1000 (AEST)",
            "(qmail 69019 invoked by alias); 3 Sep 2017 03:00:56 -0000",
            "(qmail 18877 invoked by uid 89); 3 Sep 2017 03:00:28 -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=D7fWs434sJ7YxIY7cbTnGslgCNh4Nyqnoruyqf1zgwmAY4Chjw3if\n\t4/knS+gzsAM6ftbiUDj/M7Onn9wxlVD3SCU8mADZX6U3L3m2O1dN3dA18RgJ6Wxp\n\tkNnHrYna9JUcctK8++FYPdK4b7C54ZD1S8sZ+RXDJ0PPXtj14r+HiA=",
        "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=BLJeTaQanO+8b/B0K9ILsdJru3A=; b=KTOUacHhKzPrUs76i2iVFBZw6A7b\n\tBhkqyCpnrRlUJfU3EkfCJ2lbuEPEnF8IC1PZtRccG2/ymcX20gFkUYvMcLZSwVln\n\tCw0+KhAZgu98+ueqPfzjVakTBfFA8sMV+1AODiwmis2HIhIRhMpiJuytvcukEjH4\n\tW59xH+FXuECRXnU=",
        "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 libc link",
        "Date": "Sun,  3 Sep 2017 05:00:09 +0200",
        "Message-Id": "<20170903030009.10106-1-samuel.thibault@ens-lyon.org>"
    },
    "content": "This follows db3d848 ('Build divdi3 only for architecture that required\nit').\n\n\t* sysdeps/mach/hurd/i386/Makefile\n\t[$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.\n\t[$(subdir) = csu] (sysdep-only-routines): Likewise.\n\t[$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.\n---\n ChangeLog                       | 4 ++++\n sysdeps/mach/hurd/i386/Makefile | 8 ++++++++\n 2 files changed, 12 insertions(+)",
    "diff": "diff --git a/ChangeLog b/ChangeLog\nindex 858848c9ee..b278dbd881 100644\n--- a/ChangeLog\n+++ b/ChangeLog\n@@ -22,6 +22,10 @@\n \tfunctions.\n \t* sysdeps/posix/pause.c: Include <sigsetops.h>.\n \t* sysdeps/posix/system.c: Include <sigsetops.h>.\n+\t* sysdeps/mach/hurd/i386/Makefile\n+\t[$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.\n+\t[$(subdir) = csu] (sysdep-only-routines): Likewise.\n+\t[$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.\n \n 2017-09-01  Joseph Myers  <joseph@codesourcery.com>\n \ndiff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile\nindex 5f988097c2..938d3b046d 100644\n--- a/sysdeps/mach/hurd/i386/Makefile\n+++ b/sysdeps/mach/hurd/i386/Makefile\n@@ -6,3 +6,11 @@ endif\n ifeq ($(subdir),debug)\n gen-as-const-headers += signal-defines.sym\n endif\n+\n+ifeq ($(subdir),csu)\n+ifeq (yes,$(build-shared))\n+sysdep_routines += divdi3\n+shared-only-routines += divdi3\n+CPPFLAGS-divdi3.c = -Din_divdi3_c\n+endif\n+endif\n",
    "prefixes": [
        "hurd",
        "commited"
    ]
}