get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1241517,
    "url": "http://patchwork.ozlabs.org/api/patches/1241517/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20200220160119.3407-5-patrick.havelange@essensium.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": "<20200220160119.3407-5-patrick.havelange@essensium.com>",
    "list_archive_url": null,
    "date": "2020-02-20T16:01:14",
    "name": "[v3,05/10] docs/manual/adding-packages-generic: update for new FOO_PKGMGR value",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "154aa8c867796f22d3e8fa2d090fa1e62529279a",
    "submitter": {
        "id": 75424,
        "url": "http://patchwork.ozlabs.org/api/people/75424/?format=api",
        "name": "Patrick Havelange",
        "email": "patrick.havelange@essensium.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20200220160119.3407-5-patrick.havelange@essensium.com/mbox/",
    "series": [
        {
            "id": 159771,
            "url": "http://patchwork.ozlabs.org/api/series/159771/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=159771",
            "date": "2020-02-20T16:01:10",
            "name": "[v3,01/10] package/pkg-cargo.mk: Introduce the cargo package infrastructure.",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/159771/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1241517/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1241517/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=busybox.net (client-ip=140.211.166.133;\n\thelo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dmarc=fail (p=none dis=none)\n\theader.from=essensium.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=essensium.com header.i=@essensium.com\n\theader.a=rsa-sha256 header.s=google header.b=ZUYmjUrZ; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 48NfV75M68z9sR4\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n\tFri, 21 Feb 2020 03:01:51 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 3C8D487D1D;\n\tThu, 20 Feb 2020 16:01:50 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id pshLruCc5F1x; Thu, 20 Feb 2020 16:01:49 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 941CE87D56;\n\tThu, 20 Feb 2020 16:01:49 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id E93CF1BF9B3\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 20 Feb 2020 16:01:43 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id E5C28203BA\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 20 Feb 2020 16:01:43 +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 ZFpulnISu2vd for <buildroot@lists.busybox.net>;\n\tThu, 20 Feb 2020 16:01:42 +0000 (UTC)",
            "from mail-wm1-f65.google.com (mail-wm1-f65.google.com\n\t[209.85.128.65])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 65CAF2034A\n\tfor <buildroot@buildroot.org>; Thu, 20 Feb 2020 16:01:42 +0000 (UTC)",
            "by mail-wm1-f65.google.com with SMTP id b17so2653044wmb.0\n\tfor <buildroot@buildroot.org>; Thu, 20 Feb 2020 08:01:42 -0800 (PST)",
            "from ph-ThinkPad-E560.local.ess-mail.com\n\t(ip-188-118-3-185.reverse.destiny.be. [188.118.3.185])\n\tby smtp.gmail.com with ESMTPSA id\n\th5sm5483691wmf.8.2020.02.20.08.01.39\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 20 Feb 2020 08:01:40 -0800 (PST)"
        ],
        "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;\n\td=essensium.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=rWUHU+YNOR9Ok3VOFjYzypQ+ykW1UoJyR15vDuYZzv0=;\n\tb=ZUYmjUrZuGrnq0Qf15ihx2WdDIPEoUsCbMQAWrn5a7balu9hrSBKk/CRxdLoiKVkvS\n\ta6uvQCIGg9xRn8/WU0m+Q9u3/csAslRe8csww2QHn7pktj3z9Ee3rdgpVN0Nm60oEjtS\n\tPAspjW13xOtenuG+pM5Dh7cZy47DXmQNip6ja4Hy0axz1y7rCA/bjKOCedqAlOC52U3s\n\tlYDCnAazTYOI7QuXY3NDDUeJ0pSWwNTLptkV3C+Pm8xNwpaLUqPV/XA9ul7MCXRSWmTC\n\tLetZrBrDzCNM6FwVTkp36kbavQvC5kgSVfpBNcB4fHUF9ZogLS1ZPcc8aalYTvhOnGkJ\n\t2jcA==",
        "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:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=rWUHU+YNOR9Ok3VOFjYzypQ+ykW1UoJyR15vDuYZzv0=;\n\tb=DuvTjRuHhDAaHo1lD89lUfM3UmJMoTGJNXt5kkaTTaABFnTZAAPTj0rXNddLVhsaDA\n\tyVynfn8T/Vfvb5ZtYhrdZ4pKfgDf6di8nm9LCYNmr4tRok72rUoAbrM3eXl9v6Rk4qht\n\tC+QcBr4d+ZumQvdNjMsHqwUm3csWVAYZBmAPxO8X+V5V6BrEUfJsBteuFybv6OrnU9iV\n\t8QnzKDSLvTxzGVUYG5/Am4gMh3ZRH2i+KxHZ8b4ct+IHPK0dbL52G35cbwRR0xEMm9+c\n\t4R3rnYPVqQkAxk1DKXSlhEngjWcByON1vMeIvw9pqQWUohxK0oO7qdOn7B23Ru/HjRmJ\n\tmm9A==",
        "X-Gm-Message-State": "APjAAAUhf6sDkMqI1OpE7Y+MgNEuESVPCaCBwCiVNTo88dMN0Y1UPFV6\n\tpMt+ftcH+W/BkEFQz2tfe1pkhjeDjJ8nwg==",
        "X-Google-Smtp-Source": "APXvYqzvr1jxJEcj9tQGSXgonsojCpv1fy3Wa+dTjWDH+RfDgx8jzAv/kR/XLcVHzMGlEMoAWG8TSg==",
        "X-Received": "by 2002:a1c:2089:: with SMTP id\n\tg131mr4953587wmg.63.1582214500584; \n\tThu, 20 Feb 2020 08:01:40 -0800 (PST)",
        "From": "Patrick Havelange <patrick.havelange@essensium.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Thu, 20 Feb 2020 17:01:14 +0100",
        "Message-Id": "<20200220160119.3407-5-patrick.havelange@essensium.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20200220160119.3407-1-patrick.havelange@essensium.com>",
        "References": "<20200220160119.3407-1-patrick.havelange@essensium.com>",
        "MIME-Version": "1.0",
        "Subject": "[Buildroot] [PATCH v3 05/10] docs/manual/adding-packages-generic:\n\tupdate for new FOO_PKGMGR value",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.29",
        "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>",
        "Cc": "Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,\n\tPatrick Havelange <patrick.havelange@essensium.com>,\n\tSam Voss <sam.voss@gmail.com>,\n\t\"Yann E . MORIN\" <yann.morin.1998@free.fr>, \n\tThomas Petazzoni <thomas.petazzoni@bootlin.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>\n---\n docs/manual/adding-packages-generic.txt | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt\nindex baa052e31c..7fd58ed9a7 100644\n--- a/docs/manual/adding-packages-generic.txt\n+++ b/docs/manual/adding-packages-generic.txt\n@@ -265,6 +265,13 @@ not and can not work as people would expect it should:\n     +LIBFOO_SITE=/opt/software/libfoo.tar.gz+ +\n     +LIBFOO_SITE=$(TOPDIR)/../src/libfoo+\n \n+* +LIBFOO_PKGMGR+ may contain the name of the second backend used\n+  to complete the sources tarball. This second backend is called after\n+  the first archive has been generated (e.g. git) or simply downloaded\n+  (wget). It can be useful in the case where some other files are\n+  needed for the build and require to be downloaded by a specific tool.\n+  The value of this variable must end with a '|' (serves as a separator).\n+\n * +LIBFOO_DL_OPTS+ is a space-separated list of additional options to\n   pass to the downloader. Useful for retrieving documents with\n   server-side checking for user logins and passwords, or to use a proxy.\n",
    "prefixes": [
        "v3",
        "05/10"
    ]
}