get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808888,
    "url": "http://patchwork.ozlabs.org/api/patches/808888/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170901180029.9527-27-hjl.tools@gmail.com/",
    "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": "<20170901180029.9527-27-hjl.tools@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-01T17:59:57",
    "name": "[26/58] Mark internal intl functions with attribute_hidden [BZ #18822]",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "240a8e0f25b977fab29b5e78aefa34744726c6ee",
    "submitter": {
        "id": 4387,
        "url": "http://patchwork.ozlabs.org/api/people/4387/?format=api",
        "name": "H.J. Lu",
        "email": "hjl.tools@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170901180029.9527-27-hjl.tools@gmail.com/mbox/",
    "series": [
        {
            "id": 1088,
            "url": "http://patchwork.ozlabs.org/api/series/1088/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=1088",
            "date": "2017-09-01T18:00:21",
            "name": "Hide internal functions in libc.so",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1088/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808888/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808888/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84079-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-84079-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=\"azu0S5ky\"; 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 3xkRyj4y1tz9s3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 04:06:53 +1000 (AEST)",
            "(qmail 87985 invoked by alias); 1 Sep 2017 18:01:05 -0000",
            "(qmail 87884 invoked by uid 89); 1 Sep 2017 18:01:04 -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:subject:date:message-id:in-reply-to\n\t:references; q=dns; s=default; b=B7ekZJm4W5M22p4NXEqwnAM8n8mrIKu\n\tZ1bg6FHT9NNQXMwepg9WhvdRfFJQiF/L4YQRTOf9iviRVaZrypssDZAEQZgT99v/\n\tXLPVe1VfScUkGx24KS3nEuo9mcjOPi7OTlxBEvg6EONgg01lYOVgc3n8J1FgdOMG\n\tmqu/wAhAE9No=",
        "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:subject:date:message-id:in-reply-to\n\t:references; s=default; bh=OFWx7pqFu08KKp7Qd7UJl+DVB30=; b=azu0S\n\t5kyEsjn1AwOfrjtMJzfEV4Tq9Nm1t3qiAlSBuqmeG72OmXoi8/xqz+0p/9OclRVQ\n\tDrljG4rKvN/iWBhAqjETNk0qgGQsbnPSJTmkgROlPsEx1LWmZ9pjWNjyKump1kUg\n\tk/4Sherx2o3KAoIGdqQ6P1WCN21lCREDy/g6DA=",
        "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.2 required=5.0 tests=BAYES_00,\n\tFREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2,\n\tGIT_PATCH_3,\n\tSPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=H*m:gmail",
        "X-HELO": "mga02.intel.com",
        "X-ExtLoop1": "1",
        "From": "\"H.J. Lu\" <hjl.tools@gmail.com>",
        "To": "libc-alpha@sourceware.org",
        "Subject": "[PATCH 26/58] Mark internal intl functions with attribute_hidden\n\t[BZ #18822]",
        "Date": "Fri,  1 Sep 2017 10:59:57 -0700",
        "Message-Id": "<20170901180029.9527-27-hjl.tools@gmail.com>",
        "In-Reply-To": "<20170901180029.9527-1-hjl.tools@gmail.com>",
        "References": "<20170901180029.9527-1-hjl.tools@gmail.com>"
    },
    "content": "Mark internal intl functions with attribute_hidden to allow direct\naccess within libc.so and libc.a without using GOT nor PLT.\n\n\t[BZ #18822]\n\t* intl/gettextP.h (__dcngettext): Add attribute_hidden.\n\t(__dcigettext): Likewise.\n---\n intl/gettextP.h | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/intl/gettextP.h b/intl/gettextP.h\nindex 75b203ab52..d0af470b25 100644\n--- a/intl/gettextP.h\n+++ b/intl/gettextP.h\n@@ -49,11 +49,12 @@ extern char *__dngettext (const char *__domainname,\n \t\t\t  unsigned long int n);\n extern char *__dcngettext (const char *__domainname,\n \t\t\t   const char *__msgid1, const char *__msgid2,\n-\t\t\t   unsigned long int __n, int __category);\n+\t\t\t   unsigned long int __n, int __category)\n+     attribute_hidden;\n extern char *__dcigettext (const char *__domainname,\n \t\t\t   const char *__msgid1, const char *__msgid2,\n \t\t\t   int __plural, unsigned long int __n,\n-\t\t\t   int __category);\n+\t\t\t   int __category) attribute_hidden;\n extern char *__textdomain (const char *__domainname);\n extern char *__bindtextdomain (const char *__domainname,\n \t\t\t       const char *__dirname);\n",
    "prefixes": [
        "26/58"
    ]
}