get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807310,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/807310/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/CAOyqgcUH5HfhSBnt5B+kf5qJDTaKyZCDKosAPGmzwDrGcDQ2iA@mail.gmail.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<CAOyqgcUH5HfhSBnt5B+kf5qJDTaKyZCDKosAPGmzwDrGcDQ2iA@mail.gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-29T21:00:20",
    "name": "libgo patch committed: fix Stat_t on AIX",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "94989fdf75ea25bd0b2c51cbc86c97a45a8e20ea",
    "submitter": {
        "id": 36501,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/36501/?format=api",
        "name": "Ian Lance Taylor",
        "email": "iant@golang.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/CAOyqgcUH5HfhSBnt5B+kf5qJDTaKyZCDKosAPGmzwDrGcDQ2iA@mail.gmail.com/mbox/",
    "series": [
        {
            "id": 477,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/477/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=477",
            "date": "2017-08-29T21:00:20",
            "name": "libgo patch committed: fix Stat_t on AIX",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/477/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807310/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807310/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-return-461122-incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "mailing list gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461122-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"gW6sIy6e\"; 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 3xhgz13BnZz9sN7\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 07:01:01 +1000 (AEST)",
            "(qmail 20551 invoked by alias); 29 Aug 2017 21:00:47 -0000",
            "(qmail 125476 invoked by uid 89); 29 Aug 2017 21:00:26 -0000",
            "from mail-pf0-f176.google.com (HELO mail-pf0-f176.google.com)\n\t(209.85.192.176) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tTue, 29 Aug 2017 21:00:23 +0000",
            "by mail-pf0-f176.google.com with SMTP id r62so13522773pfj.0 for\n\t<gcc-patches@gcc.gnu.org>; Tue, 29 Aug 2017 14:00:22 -0700 (PDT)",
            "by 10.100.149.12 with HTTP; Tue, 29 Aug 2017 14:00:20 -0700 (PDT)"
        ],
        "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:mime-version:from:date:message-id:subject:to:content-type; q=\n\tdns; s=default; b=MH1ly4euWfmIogzjUUzoY1k1TP39j/v8gcrk+RSSaCpVas\n\tBxmHpNb1jZJpZSEGgVRdD1SlSuc8im9PdLqU+yU5rHaAnpnP8a7FKMTpoCDptYxV\n\t3irBqzL0SVRhmRpWpM8Aiq4JJa/ukfjPaVFW3CsxrTU/RE7yQpN9O8VNWPbs4=",
        "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:mime-version:from:date:message-id:subject:to:content-type; s=\n\tdefault; bh=5nplXazae/guah1tskHpAE6Eu7Q=; b=gW6sIy6es1Kd3vwHAl2A\n\t7vSC/l0SAvUsftA3B9c+RUo9TQXku5nNGQjG4TBNgio0f5CspO+2EAxJoPAnVTgL\n\tw9rgLFUVveGD+0akp+ZKdhmsr2S2VQ77ahWbZjByZ3vNuLh5G2m8hWus5aH2Hnld\n\tK+Vn7BFDtHkwd5TQQVl/z6g=",
        "Mailing-List": "contact gcc-patches-help@gcc.gnu.org; run by ezmlm",
        "Precedence": "bulk",
        "List-Id": "<gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "List-Archive": "<http://gcc.gnu.org/ml/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-help@gcc.gnu.org>",
        "Sender": "gcc-patches-owner@gcc.gnu.org",
        "X-Virus-Found": "No",
        "X-Spam-SWARE-Status": "No, score=-11.1 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS,\n\tRCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=",
        "X-HELO": "mail-pf0-f176.google.com",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:mime-version:from:date:message-id:subject:to;\n\tbh=3VSc6nf7he8Ku/+lwFUo0TLvMpUY37gizXfWvi+R4Ww=;\n\tb=R2AUCYVEPAvVqV/CTYnkqqt1jCxrOwi08Y2cUvzlqPOZEWrva6RDZRxSOS/ggfco2b\n\tatt/Y4TzfIJqUet6qbCazzFV3/lrlWRbShK3JfS9agA1QuksBxNJ35kaV2Iu1/lw7Gsc\n\tTjJvp76E/7uK9+BxULIZqG0d7jaoQADCSUsKhnugoSaVecqB1VhuB0pyj2eMKAfENDeG\n\t1Yxpx8ekcGXbu+XWSQUoAmXimqZqdNGVwfWxpFMWAM7hEhKByG5wQmHqCMwBNmFDOB/z\n\td2t5ARt19/wC7t/tdaZ5wxEkKsqODXMpNIDzzkvNrSFyiqPVgp+tQoQjaXn+1hfIRdEI\n\t59Jg==",
        "X-Gm-Message-State": "AHYfb5i/97085X0QPAEve8eOZmh/OKai+P/DPvQdxxnU9A9tR3vABOCg\tLGHh+GGHMVeqlmDzfnRU8wwSpBITb5oM",
        "X-Received": "by 10.99.111.206 with SMTP id k197mr1540927pgc.29.1504040420668;\n\tTue, 29 Aug 2017 14:00:20 -0700 (PDT)",
        "MIME-Version": "1.0",
        "From": "Ian Lance Taylor <iant@golang.org>",
        "Date": "Tue, 29 Aug 2017 14:00:20 -0700",
        "Message-ID": "<CAOyqgcUH5HfhSBnt5B+kf5qJDTaKyZCDKosAPGmzwDrGcDQ2iA@mail.gmail.com>",
        "Subject": "libgo patch committed: fix Stat_t on AIX",
        "To": "gcc-patches <gcc-patches@gcc.gnu.org>,\n\t\"gofrontend-dev@googlegroups.com\" <gofrontend-dev@googlegroups.com>",
        "Content-Type": "multipart/mixed; boundary=\"94eb2c193e1a00c9bd0557eab38b\""
    },
    "content": "This patch to libgo's mksysinfo.sh script handles the timespec field\nfound in the stat struct on AIX.  Bootstrapped on x86_64-pc-linux-gnu.\nCommitted to mainline.\n\nIan",
    "diff": "Index: gcc/go/gofrontend/MERGE\n===================================================================\n--- gcc/go/gofrontend/MERGE\t(revision 251435)\n+++ gcc/go/gofrontend/MERGE\t(working copy)\n@@ -1,4 +1,4 @@\n-a28f1d8aa306bdb5166af1f087e5f5027ce51d6d\n+03a2c6be0c6e2b8ef62a5a424c5518bfb7cce0b9\n \n The first line of this file holds the git revision number of the last\n merge done from the gofrontend repository.\nIndex: libgo/mksysinfo.sh\n===================================================================\n--- libgo/mksysinfo.sh\t(revision 250873)\n+++ libgo/mksysinfo.sh\t(working copy)\n@@ -462,6 +462,7 @@ fi | sed -e 's/type _stat64/type Stat_t/\n          -e 's/st_ctim/Ctim/' \\\n          -e 's/\\([^a-zA-Z0-9_]\\)_timeval\\([^a-zA-Z0-9_]\\)/\\1Timeval\\2/g' \\\n          -e 's/\\([^a-zA-Z0-9_]\\)_timespec_t\\([^a-zA-Z0-9_]\\)/\\1Timespec\\2/g' \\\n+         -e 's/\\([^a-zA-Z0-9_]\\)_st_timespec_t\\([^a-zA-Z0-9_]\\)/\\1Timespec\\2/g' \\\n          -e 's/\\([^a-zA-Z0-9_]\\)_timespec\\([^a-zA-Z0-9_]\\)/\\1Timespec\\2/g' \\\n          -e 's/\\([^a-zA-Z0-9_]\\)_timestruc_t\\([^a-zA-Z0-9_]\\)/\\1Timestruc\\2/g' \\\n          -e 's/Godump_[0-9] struct { \\([^;]*;\\) };/\\1/g' \\\n",
    "prefixes": []
}