get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809233,
    "url": "http://patchwork.ozlabs.org/api/patches/809233/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1504426760-14252-1-git-send-email-angelo.compagnucci@gmail.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504426760-14252-1-git-send-email-angelo.compagnucci@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-03T08:19:20",
    "name": "[v2] package/sysdig: fix missing curlbuild include",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "754f7cf8d4319134b3d77eb82723baaab3cc7d4d",
    "submitter": {
        "id": 64104,
        "url": "http://patchwork.ozlabs.org/api/people/64104/?format=api",
        "name": "Angelo Compagnucci",
        "email": "angelo.compagnucci@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1504426760-14252-1-git-send-email-angelo.compagnucci@gmail.com/mbox/",
    "series": [
        {
            "id": 1204,
            "url": "http://patchwork.ozlabs.org/api/series/1204/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=1204",
            "date": "2017-09-03T08:19:20",
            "name": "[v2] package/sysdig: fix missing curlbuild include",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1204/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809233/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809233/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"idOFel4v\"; dkim-atps=neutral"
        ],
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlQtV4w4Sz9s7f\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 18:21:37 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 580262D392;\n\tSun,  3 Sep 2017 08:21:33 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id YU6aSpz9s5Fo; Sun,  3 Sep 2017 08:21:32 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id E412626143;\n\tSun,  3 Sep 2017 08:21:31 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id A4F931C0964\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 08:21:30 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 9CFE126143\n\tfor <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 08:21:30 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id NI-X1yVGy34M for <buildroot@lists.busybox.net>;\n\tSun,  3 Sep 2017 08:21:29 +0000 (UTC)",
            "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 918DB25D7D\n\tfor <buildroot@buildroot.org>; Sun,  3 Sep 2017 08:21:29 +0000 (UTC)",
            "by mail-wm0-f67.google.com with SMTP id x189so3756567wmg.4\n\tfor <buildroot@buildroot.org>; Sun, 03 Sep 2017 01:21:29 -0700 (PDT)",
            "from localhost.localdomain ([151.57.142.171])\n\tby smtp.gmail.com with ESMTPSA id\n\tp12sm3730290wrd.54.2017.09.03.01.21.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 03 Sep 2017 01:21:26 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=0DpnQ1U+Ls1iByx9TTDNTWHy38X6EcHpBgzFKgH0N0s=;\n\tb=idOFel4vYmgya3d1pkyRxz4uf4s4v9zYVpncafPsFi8leY22Hz3C0gIX34FJveOdZb\n\tL4S97d8JO6CwaUqFfBUDTOh2zz31wpv9xjsQLgukInGb64LxYenevbz1kEskaVzs5lGg\n\tp2J2L9CgPxQobfkZaBZx8KKBjBeLYFGFuxsoWXBQGk/7gsjJ5Ask5fzbI3PIuzEk9Inl\n\tBhMz+pyzlRpENkQhtzTEiLbVXyWw0XQV7ukx9Dv8ksrJfGI3mSwDtTO6nGJOrt2S6rU6\n\t6xnnI24haOS6ZCj+pBXfBscBh9jBtAzUKMMw5qWw3JSaoWxcL4mBq4+MI0jSTJAW/ZFs\n\tQOnw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=0DpnQ1U+Ls1iByx9TTDNTWHy38X6EcHpBgzFKgH0N0s=;\n\tb=tZMLI7p4+JiNvCeZNpEDrSTeU5+263iD+KgICQOfI9WKSZbFLnBbh6C11zZEnJNmSN\n\tTF8xc3W0e9OEDM0GfqDEqGuvamzTINy7Pl57DS2E4J3Eb3kMhrCsXOLL70JaHEdb4/35\n\tJF1p9v0iGJh+Zl15gpiHzdgQcEe7tkHdDApeH7WSVSnbw8OX8x05NyuBEu9yXeOihMze\n\t4m7hDxaLAFByJ2YCiunWw4uuG1wXfYSm/BL8S6r3xviqmCzyAmRqFEBLgE1vmg3RW2wi\n\tXJhNSWgm0EbJJPAwF75SqES6YfB/8gT0YnJ3LRbRmFDH6cLQgAi0CAr4iTYqVI4NkR/t\n\tbKCw==",
        "X-Gm-Message-State": "AHPjjUi0VWTwilUN7b031XLDHL5WudK/DH0bXB1Nhq/qT9wacaqK0krF\n\tlIohaR+h/HR0SpmEfO4=",
        "X-Google-Smtp-Source": "ADKCNb6OpSm1yd8XiVK/szYwKzLZ8hVYMchrM/ec7IiNjdZx0yDUvve1ZfbTpgukejn9E7o6sPhE2A==",
        "X-Received": "by 10.28.147.193 with SMTP id v184mr1733269wmd.190.1504426887421;\n\tSun, 03 Sep 2017 01:21:27 -0700 (PDT)",
        "From": "Angelo Compagnucci <angelo.compagnucci@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  3 Sep 2017 10:19:20 +0200",
        "Message-Id": "<1504426760-14252-1-git-send-email-angelo.compagnucci@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[Buildroot] [PATCH v2] package/sysdig: fix missing curlbuild include",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "curlbuild.h was removed in recent versinos of curl, backporting a\npatch from mainline to fix it until a newer version of sysdig is\nreleased.\n\nSigned-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>\n---\n .../sysdig/0001-Don-t-include-curlbuild.h.patch    | 58 ++++++++++++++++++++++\n 1 file changed, 58 insertions(+)\n create mode 100644 package/sysdig/0001-Don-t-include-curlbuild.h.patch",
    "diff": "diff --git a/package/sysdig/0001-Don-t-include-curlbuild.h.patch b/package/sysdig/0001-Don-t-include-curlbuild.h.patch\nnew file mode 100644\nindex 0000000..5b53bb1\n--- /dev/null\n+++ b/package/sysdig/0001-Don-t-include-curlbuild.h.patch\n@@ -0,0 +1,58 @@\n+From 8a6670ea4b57c0e2bf8588d4534b22d1ea860989 Mon Sep 17 00:00:00 2001\n+From: Mark Stemm <mark.stemm@gmail.com>\n+Date: Tue, 15 Aug 2017 17:49:53 -0700\n+Subject: [PATCH] Don't include curlbuild.h\n+\n+It's not required to build and it's not present with some newer versions\n+of libcurl, so removing it.\n+\n+Thanks to https://github.com/hhoffstaette for the tip.\n+\n+This fixes https://github.com/draios/sysdig/issues/895.\n+\n+Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>\n+---\n+ userspace/libsinsp/marathon_http.cpp | 1 -\n+ userspace/libsinsp/mesos_http.cpp    | 1 -\n+ userspace/sysdig.project             | 1 -\n+ 3 files changed, 3 deletions(-)\n+\n+diff --git a/userspace/libsinsp/marathon_http.cpp b/userspace/libsinsp/marathon_http.cpp\n+index f7937b6..2e4449a 100644\n+--- a/userspace/libsinsp/marathon_http.cpp\n++++ b/userspace/libsinsp/marathon_http.cpp\n+@@ -7,7 +7,6 @@\n+ #include \"marathon_http.h\"\n+ #include \"curl/curl.h\"\n+ #include \"curl/easy.h\"\n+-#include \"curl/curlbuild.h\"\n+ #define BUFFERSIZE 512 // b64 needs this macro\n+ #include \"b64/encode.h\"\n+ #include \"sinsp.h\"\n+diff --git a/userspace/libsinsp/mesos_http.cpp b/userspace/libsinsp/mesos_http.cpp\n+index 18ac9f5..c6bfb58 100644\n+--- a/userspace/libsinsp/mesos_http.cpp\n++++ b/userspace/libsinsp/mesos_http.cpp\n+@@ -7,7 +7,6 @@\n+ #include \"mesos_http.h\"\n+ #include \"curl/curl.h\"\n+ #include \"curl/easy.h\"\n+-#include \"curl/curlbuild.h\"\n+ #include \"sinsp.h\"\n+ #include \"sinsp_int.h\"\n+ #include \"sinsp_curl.h\"\n+diff --git a/userspace/sysdig.project b/userspace/sysdig.project\n+index 5d00f18..76a18f0 100644\n+--- a/userspace/sysdig.project\n++++ b/userspace/sysdig.project\n+@@ -752,7 +752,6 @@\n+             </VirtualDirectory>\n+             <VirtualDirectory Name=\"include\">\n+               <VirtualDirectory Name=\"curl\">\n+-                <File Name=\"../build/release/curl-prefix/src/curl/include/curl/curlbuild.h\"/>\n+                 <File Name=\"../build/release/curl-prefix/src/curl/include/curl/easy.h\"/>\n+                 <File Name=\"../build/release/curl-prefix/src/curl/include/curl/stdcheaders.h\"/>\n+                 <File Name=\"../build/release/curl-prefix/src/curl/include/curl/curlrules.h\"/>\n+-- \n+2.7.4\n+\n",
    "prefixes": [
        "v2"
    ]
}