get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808637,
    "url": "http://patchwork.ozlabs.org/api/patches/808637/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/3a20e4dd-c540-d25f-b9b8-121e74b083bf@suse.cz/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/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": "<3a20e4dd-c540-d25f-b9b8-121e74b083bf@suse.cz>",
    "list_archive_url": null,
    "date": "2017-09-01T11:22:05",
    "name": "[OBVIOUS] Fix warning for simple-object-elf.c.",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "70a744ce0e690017c37319a91aa3f044316855f4",
    "submitter": {
        "id": 62010,
        "url": "http://patchwork.ozlabs.org/api/people/62010/?format=api",
        "name": "Martin Liška",
        "email": "mliska@suse.cz"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/3a20e4dd-c540-d25f-b9b8-121e74b083bf@suse.cz/mbox/",
    "series": [
        {
            "id": 1004,
            "url": "http://patchwork.ozlabs.org/api/series/1004/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=1004",
            "date": "2017-09-01T11:22:05",
            "name": "[OBVIOUS] Fix warning for simple-object-elf.c.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1004/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808637/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808637/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-return-461264-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-461264-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=\"h1WmTnE0\"; 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 3xkGzy2WStz9s72\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 21:22:21 +1000 (AEST)",
            "(qmail 66318 invoked by alias); 1 Sep 2017 11:22:14 -0000",
            "(qmail 66304 invoked by uid 89); 1 Sep 2017 11:22:14 -0000",
            "from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by\n\tsourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tFri, 01 Sep 2017 11:22:09 +0000",
            "from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254])\tby\n\tmx1.suse.de (Postfix) with ESMTP id 6B596ACD7;\n\tFri,  1 Sep 2017 11:22:06 +0000 (UTC)"
        ],
        "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:to:cc\n\t:from:subject:message-id:date:mime-version:content-type; q=dns;\n\ts=default; b=tLgA5vXAb29IieVnyeWLU9riofoDObGegYMTkExPyiaYT5aFkF\n\tpdM/N3hV9FvhVnYzK15MX/8a4zPWXMH25ThjVUMqoRYdxOIxwfZIEJvQrSpAnbDn\n\tuFW6v3UDQGA0gT6c5jShQ7ptXY1r0zZqzTThmK0Kb0Uj4Dsz4w0t563pQ=",
        "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:to:cc\n\t:from:subject:message-id:date:mime-version:content-type; s=\n\tdefault; bh=teIBl/KP49Kz1yYoRtzVTZx1u0I=; b=h1WmTnE0siWTRcRefP/W\n\tDQt0rzRKaYPQcsHZnBCzG6T3Tw9IZHqWdjfwql+61PrMDSY/BHk8MGkypezYTrzC\n\tFTXXzJPbpRiyp+IwqOkdW3kQzTWr5pMbzmNA5ysE9uuR0pK6/9B6H1PHIrT07O56\n\tNj5HDV4oYm4lSkrK0iSJTRg=",
        "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=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:b9b8,\n\tH*M:b9b8",
        "X-HELO": "mx1.suse.de",
        "To": "GCC Patches <gcc-patches@gcc.gnu.org>",
        "Cc": "Richard Biener <richard.guenther@gmail.com>",
        "From": "=?utf-8?q?Martin_Li=C5=A1ka?= <mliska@suse.cz>",
        "Subject": "[OBVIOUS][PATCH] Fix warning for simple-object-elf.c.",
        "Message-ID": "<3a20e4dd-c540-d25f-b9b8-121e74b083bf@suse.cz>",
        "Date": "Fri, 1 Sep 2017 13:22:05 +0200",
        "User-Agent": "Mozilla/5.0 (X11; Linux x86_64;\n\trv:52.0) Gecko/20100101 Thunderbird/52.2.1",
        "MIME-Version": "1.0",
        "Content-Type": "multipart/mixed;\n\tboundary=\"------------C1B48F50B1602D146C4A6A53\"",
        "X-IsSubscribed": "yes"
    },
    "content": "Installed after discussion with Richi.\n\nMartin",
    "diff": "From ec7cf772d8083f5c25558a9d2d1316f610ea28dd Mon Sep 17 00:00:00 2001\nFrom: marxin <mliska@suse.cz>\nDate: Fri, 1 Sep 2017 12:53:46 +0200\nSubject: [PATCH] Fix warning for simple-object-elf.c.\n\nlibiberty/ChangeLog:\n\n2017-09-01  Martin Liska  <mliska@suse.cz>\n\n\t* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):\n\tRemove duplicite declaration.\n---\n libiberty/simple-object-elf.c | 1 -\n 1 file changed, 1 deletion(-)\n\ndiff --git a/libiberty/simple-object-elf.c b/libiberty/simple-object-elf.c\nindex 646208a85b9..6774eb273c9 100644\n--- a/libiberty/simple-object-elf.c\n+++ b/libiberty/simple-object-elf.c\n@@ -1232,7 +1232,6 @@ simple_object_elf_copy_lto_debug_sections (simple_object_read *sobj,\n       off_t offset;\n       off_t length;\n       int ret;\n-      const char *errmsg;\n       simple_object_write_section *dest;\n       off_t flags;\n       unsigned char *buf;\n-- \n2.14.1\n\n",
    "prefixes": [
        "OBVIOUS"
    ]
}