get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809339,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/809339/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170903174536.32417-1-samuel.thibault@ens-lyon.org/",
    "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": "<20170903174536.32417-1-samuel.thibault@ens-lyon.org>",
    "list_archive_url": null,
    "date": "2017-09-03T17:45:36",
    "name": "[hurd,commited] hurd: fix resolv/tst-resolv-res_init-skeleton.c build",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2dc52054cf5ed74323cadc130ace12322728ee26",
    "submitter": {
        "id": 418,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/418/?format=api",
        "name": "Samuel Thibault",
        "email": "samuel.thibault@ens-lyon.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170903174536.32417-1-samuel.thibault@ens-lyon.org/mbox/",
    "series": [
        {
            "id": 1265,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1265/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=1265",
            "date": "2017-09-03T17:45:36",
            "name": "[hurd,commited] hurd: fix resolv/tst-resolv-res_init-skeleton.c build",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1265/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809339/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809339/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84149-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-84149-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=\"qpMCglIp\"; 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 3xlgPY6SKDz9t3f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 03:45:53 +1000 (AEST)",
            "(qmail 104470 invoked by alias); 3 Sep 2017 17:45:48 -0000",
            "(qmail 104459 invoked by uid 89); 3 Sep 2017 17:45:48 -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=krsJT/se873LOLT5ZjPyYi5+E6Gy91S9eEr9OOGsYCVr3Pus/03HT\n\tQuz2y6m1rxfsIukdKJGRq8bkaar03kdBm2N3qdx3SOL0uR7xzWKhkg/LPrxIN5BY\n\t2LJ7V9CdfiJ17Olpx9pqfbhpBAAB7APKNid+pzqPZYusTFEb0h67Mo=",
        "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=KT7DFZtSsiLZhnYj8wGznmBl9g0=; b=qpMCglIpCYlnjyWqebm2yBg8UIXi\n\tLa55X3ZwP/RbRoI7s2gccRqUm4wUruzYs7udQ9TMmBlqTlKBht/CLwCBj7JSFWtm\n\tWtwk2DMCR4jzu932pPhTxeGcVGfP4L0Pcgd5Bg5OgZB+3x4iCE/ixBbUlruTF7vl\n\trJwwWiv1ttcpjaY=",
        "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,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:1462",
        "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,\n\tcommited] hurd: fix resolv/tst-resolv-res_init-skeleton.c build",
        "Date": "Sun,  3 Sep 2017 19:45:36 +0200",
        "Message-Id": "<20170903174536.32417-1-samuel.thibault@ens-lyon.org>"
    },
    "content": "* resolv/tst-resolv-res_init-skeleton.c (run_res_init)\n\t[!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.\n---\n ChangeLog                             | 2 ++\n resolv/tst-resolv-res_init-skeleton.c | 4 ++++\n 2 files changed, 6 insertions(+)",
    "diff": "diff --git a/ChangeLog b/ChangeLog\nindex 824f19a272..f2e61b7ffd 100644\n--- a/ChangeLog\n+++ b/ChangeLog\n@@ -35,6 +35,8 @@\n \tRWF_NOWAIT): Define to 0 if undefined already.\n \t(do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED\n \tboils down to 0.\n+\t* resolv/tst-resolv-res_init-skeleton.c (run_res_init)\n+\t[!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.\n \n 2017-09-01  Joseph Myers  <joseph@codesourcery.com>\n \ndiff --git a/resolv/tst-resolv-res_init-skeleton.c b/resolv/tst-resolv-res_init-skeleton.c\nindex 3b7b4129e3..a1bf110910 100644\n--- a/resolv/tst-resolv-res_init-skeleton.c\n+++ b/resolv/tst-resolv-res_init-skeleton.c\n@@ -341,11 +341,15 @@ run_res_init (void *closure)\n     setenv (\"RES_OPTIONS\", ctx->t->res_options, 1);\n   if (ctx->t->hostname != NULL)\n     {\n+#ifdef CLONE_NEWUTS\n       /* This test needs its own namespace, to avoid changing the host\n          name for the parent, too.  */\n       TEST_VERIFY_EXIT (unshare (CLONE_NEWUTS) == 0);\n       if (sethostname (ctx->t->hostname, strlen (ctx->t->hostname)) != 0)\n         FAIL_EXIT1 (\"sethostname (\\\"%s\\\"): %m\", ctx->t->hostname);\n+#else\n+      FAIL_UNSUPPORTED (\"clone (CLONE_NEWUTS) not supported\");\n+#endif\n     }\n \n   switch (ctx->init)\n",
    "prefixes": [
        "hurd",
        "commited"
    ]
}