get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808315,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/808315/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170831165743.1686E43994318@oldenburg.str.redhat.com/",
    "project": {
        "id": 41,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170831165743.1686E43994318@oldenburg.str.redhat.com>",
    "list_archive_url": null,
    "date": "2017-08-31T16:57:43",
    "name": "[COMMITTED] libc-symbols.h: Remove definition of internal_function",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8e7086c63905aa71ec280cfaa34282b08756233d",
    "submitter": {
        "id": 14312,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/14312/?format=api",
        "name": "Florian Weimer",
        "email": "fweimer@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170831165743.1686E43994318@oldenburg.str.redhat.com/mbox/",
    "series": [
        {
            "id": 880,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/880/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=880",
            "date": "2017-08-31T16:57:43",
            "name": "[COMMITTED] libc-symbols.h: Remove definition of internal_function",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/880/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808315/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808315/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-83960-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-83960-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=\"ByUk44fO\"; dkim-atps=neutral",
            "sourceware.org; auth=none",
            "ext-mx07.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com",
            "ext-mx07.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=fweimer@redhat.com"
        ],
        "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 3xjpTj0dTTz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 02:58:00 +1000 (AEST)",
            "(qmail 43662 invoked by alias); 31 Aug 2017 16:57:55 -0000",
            "(qmail 43651 invoked by uid 89); 31 Aug 2017 16:57:55 -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:date:to:subject:mime-version:content-type\n\t:content-transfer-encoding:message-id:from; q=dns; s=default; b=\n\tyskPaNFpC4x0B2GFNkhmiG7WpHzlVQYsL5e23CcDsN+zZ/FYKRMwVrsIk9s1gdqI\n\t4mYtFhkjZp2iBVW3sMwhljO2DqEDY2lhvyG61GLrGt16/ENf+RJz64SDGWVW9cR+\n\tXkVXNd2C26TMFWxVI5rayAR9sujbvLbQLXqKM0/QbtE=",
        "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:date:to:subject:mime-version:content-type\n\t:content-transfer-encoding:message-id:from; s=default; bh=bFdQJF\n\tgpuqiHdUPRVL/tIaNr5w0=; b=ByUk44fOdy0V3W1rp/8ac8cWs31GVjn1kX7mym\n\t4sPULc7VfziCQrJXPes43j0LEyG1nQHui5P6gz5WWAf4w38xyjR47QhMbz4ghwY4\n\tGzrMkRmJAeHrQEqhTyZUlucuWxBCLK2C+gQQHOvmWmY4cv8e7J9abuIHrzGXWMnu\n\tPB0Lo=",
        "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.9 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD,\n\tSPF_HELO_PASS autolearn=ham version=3.3.2 spammy=",
        "X-HELO": "mx1.redhat.com",
        "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com DFDC0C047B8C",
        "Date": "Thu, 31 Aug 2017 18:57:43 +0200",
        "To": "libc-alpha@sourceware.org",
        "Subject": "[PATCH COMMITTED] libc-symbols.h: Remove definition of\n\tinternal_function",
        "User-Agent": "Heirloom mailx 12.5 7/5/10",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20170831165743.1686E43994318@oldenburg.str.redhat.com>",
        "From": "fweimer@redhat.com (Florian Weimer)"
    },
    "content": "2017-08-31  Florian Weimer  <fweimer@redhat.com>\n\n\t* include/libc-symbols.h (internal_function): Remove.",
    "diff": "diff --git a/include/libc-symbols.h b/include/libc-symbols.h\nindex 3617baa8c6..10fd2063b0 100644\n--- a/include/libc-symbols.h\n+++ b/include/libc-symbols.h\n@@ -195,13 +195,6 @@\n \n #endif /* __ASSEMBLER__ */\n \n-/* On some platforms we can make internal function calls (i.e., calls of\n-   functions not exported) a bit faster by using a different calling\n-   convention.  */\n-#ifndef internal_function\n-# define internal_function\t/* empty */\n-#endif\n-\n /* Determine the return address.  */\n #define RETURN_ADDRESS(nr) \\\n   __builtin_extract_return_addr (__builtin_return_address (nr))\n",
    "prefixes": [
        "COMMITTED"
    ]
}