get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1844517,
    "url": "http://patchwork.ozlabs.org/api/patches/1844517/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20231006140511.3840643-2-enki@fsck.pl/",
    "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": "<20231006140511.3840643-2-enki@fsck.pl>",
    "list_archive_url": null,
    "date": "2023-10-06T14:05:09",
    "name": "[v3,1/3] package/iniparser: new package",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "5eaf7092b19e50ffb9f81f10c9f0093262e83d7f",
    "submitter": {
        "id": 87303,
        "url": "http://patchwork.ozlabs.org/api/people/87303/?format=api",
        "name": "enki",
        "email": "enki@fsck.pl"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20231006140511.3840643-2-enki@fsck.pl/mbox/",
    "series": [
        {
            "id": 376464,
            "url": "http://patchwork.ozlabs.org/api/series/376464/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=376464",
            "date": "2023-10-06T14:05:08",
            "name": "Support for D-Link DNS-320L",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/376464/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1844517/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1844517/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@osuosl.org",
            "enki@fsck.pl"
        ],
        "Authentication-Results": "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)",
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4S29FH0F2kz1yqD\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat,  7 Oct 2023 01:05:55 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id CCB2B818AC;\n\tFri,  6 Oct 2023 14:05:52 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n\tby localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 9ZbqUyJ0hUbT; Fri,  6 Oct 2023 14:05:51 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id E1AA381985;\n\tFri,  6 Oct 2023 14:05:50 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by ash.osuosl.org (Postfix) with ESMTP id 4EDA71BF34F\n for <buildroot@lists.busybox.net>; Fri,  6 Oct 2023 14:05:41 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 341E2417BA\n for <buildroot@lists.busybox.net>; Fri,  6 Oct 2023 14:05:41 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id Zz91SI3oAlv1 for <buildroot@lists.busybox.net>;\n Fri,  6 Oct 2023 14:05:40 +0000 (UTC)",
            "from sender4-of-o50.zoho.com (sender4-of-o50.zoho.com\n [136.143.188.50])\n by smtp4.osuosl.org (Postfix) with ESMTPS id DEEFC4179E\n for <buildroot@buildroot.org>; Fri,  6 Oct 2023 14:05:39 +0000 (UTC)",
            "from newton.shill.gq (193.93.205.86 [193.93.205.86]) by\n mx.zohomail.com with SMTPS id 1696601130570187.59006420788273;\n Fri, 6 Oct 2023 07:05:30 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org CCB2B818AC",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org E1AA381985",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 341E2417BA",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org DEEFC4179E"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; t=1696601132; cv=none;\n d=zohomail.com; s=zohoarc;\n b=WwzUawY8Ooxz5FFtalhi89mmBcH/4AgyKqnQ5nX5Hrv6SyQ1+OrI5ol60HgJLMLsAbm8wy+uA4S9QocKpLe1H3vJEk41x/vrCeTLMy7oWNn9/euxU5OQNFWMT7FkqELmKbAQfVjBrrv7VfnYJoHqxTaXfy6aitBvxdvsrQemUc0=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;\n s=zohoarc; t=1696601132;\n h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To;\n bh=BgGUOBdunBYYSicKf/VU+TtrT5dBHeXhYUm/NxlWKvo=;\n b=iGt4tD3I4uG1a4qqOF9ZwxlZ1nIr4fKyqmHdQj0b9UZ550tAWJpzGDAoVZ8ptR8xY+k2qir98AnkUzHArgrFK1NbPqVo9cBLhC01FNAf+vbdZQovf94jSBCUxyPnMXPL3bDI1RmzSM4tt6AW3KCc89FdpMFXDxObTe73M1JWCPc=",
        "ARC-Authentication-Results": "i=1; mx.zohomail.com; dkim=pass  header.i=fsck.pl;\n spf=pass  smtp.mailfrom=enki@fsck.pl;\n dmarc=pass header.from=<enki@fsck.pl>",
        "From": "Maciej Grela <enki@fsck.pl>",
        "To": "buildroot@buildroot.org",
        "Message-ID": "<20231006140511.3840643-2-enki@fsck.pl>",
        "Date": "Fri,  6 Oct 2023 16:05:09 +0200",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20231004131256.2113233-2-enki@fsck.pl>",
        "References": "<20231004131256.2113233-2-enki@fsck.pl>",
        "MIME-Version": "1.0",
        "X-ZohoMailClient": "External",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt;\n c=relaxed/relaxed; t=1696601132;\n s=zoho; d=fsck.pl; i=enki@fsck.pl;\n h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To;\n bh=BgGUOBdunBYYSicKf/VU+TtrT5dBHeXhYUm/NxlWKvo=;\n b=avFGmkuUY6TSgHyeoUf0/24uUqrrRbo5feEj8Xq/HRDRAUJhjcF46hLuqroFPVeI\n 7QGEXYkpd1+/HHULLmjx02gvUd8xyjd91aqYJiPzzsG8VYQ5wXLp+zLnyJ/G0mIbNbE\n GPcEp9EyjFFBUsc50pNRfDiHKmZSkmE4MIcvz0sM=",
        "X-Mailman-Original-Authentication-Results": "smtp4.osuosl.org;\n dkim=pass (1024-bit key) header.d=fsck.pl header.i=enki@fsck.pl\n header.a=rsa-sha256 header.s=zoho header.b=avFGmkuU",
        "Subject": "[Buildroot] [PATCH v3 1/3] package/iniparser: new package",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "Cc": "Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n Maciej Grela <enki@fsck.pl>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "iniparser is a required dependency of dns320l-daemon\n\nSigned-off-by: Maciej Grela <enki@fsck.pl>\n---\n package/Config.in                |  1 +\n package/iniparser/Config.in      |  6 ++++\n package/iniparser/iniparser.hash |  2 ++\n package/iniparser/iniparser.mk   | 56 ++++++++++++++++++++++++++++++++\n 4 files changed, 65 insertions(+)\n create mode 100644 package/iniparser/Config.in\n create mode 100644 package/iniparser/iniparser.hash\n create mode 100644 package/iniparser/iniparser.mk",
    "diff": "diff --git a/package/Config.in b/package/Config.in\nindex 009f7ba186..228e9eb1e3 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -2085,6 +2085,7 @@ menu \"Other\"\n \tsource \"package/gtest/Config.in\"\n \tsource \"package/gumbo-parser/Config.in\"\n \tsource \"package/highway/Config.in\"\n+\tsource \"package/iniparser/Config.in\"\n \tsource \"package/jemalloc/Config.in\"\n \tsource \"package/lapack/Config.in\"\n \tsource \"package/libabseil-cpp/Config.in\"\ndiff --git a/package/iniparser/Config.in b/package/iniparser/Config.in\nnew file mode 100644\nindex 0000000000..4932869943\n--- /dev/null\n+++ b/package/iniparser/Config.in\n@@ -0,0 +1,6 @@\n+config BR2_PACKAGE_INIPARSER\n+\tbool \"iniparser\"\n+\thelp\n+\t  ini file parser\n+\n+\t  https://github.com/ndevilla/iniparser\ndiff --git a/package/iniparser/iniparser.hash b/package/iniparser/iniparser.hash\nnew file mode 100644\nindex 0000000000..a745062fcd\n--- /dev/null\n+++ b/package/iniparser/iniparser.hash\n@@ -0,0 +1,2 @@\n+# From https://github.com/ndevilla/iniparser/releases\n+sha256  960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae  iniparser-4.1.tar.gz\ndiff --git a/package/iniparser/iniparser.mk b/package/iniparser/iniparser.mk\nnew file mode 100644\nindex 0000000000..f3f74601f3\n--- /dev/null\n+++ b/package/iniparser/iniparser.mk\n@@ -0,0 +1,56 @@\n+################################################################################\n+#\n+# iniparser\n+#\n+################################################################################\n+\n+INIPARSER_VERSION = 4.1\n+INIPARSER_SITE = $(call github,ndevilla,iniparser,v$(INIPARSER_VERSION))\n+INIPARSER_INSTALL_STAGING = YES\n+INIPARSER_LICENSE = MIT\n+INIPARSER_LICENSE_FILES = LICENSE\n+INIPARSER_SO_TARGET = libiniparser.so.1\n+INIPARSER_A_TARGET = libiniparser.a\n+INIPARSER_BUILD_TARGETS =\n+INIPARSER_STAGING_INSTALL_TGTS =\n+INIPARSER_TARGET_INSTALL_TGTS =\n+\n+INIPARSER_CONFIGURE_OPTS = $(TARGET_CONFIGURE_OPTS)\n+\n+ifeq ($(BR2_STATIC_LIBS),y)\n+INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET)\n+INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET)\n+INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_A_TARGET)\n+else ifeq ($(BR2_SHARED_LIBS),y)\n+INIPARSER_LINK_SO = y\n+\n+INIPARSER_BUILD_TARGETS = $(INIPARSER_SO_TARGET)\n+INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_SO_TARGET)\n+\n+INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET)\n+else ifeq ($(BR2_SHARED_STATIC_LIBS),y)\n+INIPARSER_LINK_SO = y\n+\n+INIPARSER_BUILD_TARGETS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET)\n+INIPARSER_STAGING_INSTALL_TGTS = $(INIPARSER_A_TARGET) $(INIPARSER_SO_TARGET)\n+\n+# Don't install static libs on target\n+INIPARSER_TARGET_INSTALL_TGTS = $(INIPARSER_SO_TARGET)\n+endif\n+\n+define INIPARSER_BUILD_CMDS\n+\t$(INIPARSER_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(INIPARSER_BUILD_TARGETS)\n+endef\n+\n+define INIPARSER_INSTALL_STAGING_CMDS\n+\t$(INSTALL) -D -m 0644 $(@D)/src/iniparser.h $(@D)/src/dictionary.h $(STAGING_DIR)/usr/include/\n+\t$(foreach target,$(INIPARSER_STAGING_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(STAGING_DIR)/usr/lib/)\n+\t$(if $(INIPARSER_LINK_SO),ln -s -r $(STAGING_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(STAGING_DIR)/usr/lib/libiniparser.so)\n+endef\n+\n+define INIPARSER_INSTALL_TARGET_CMDS\n+\t$(foreach target,$(INIPARSER_TARGET_INSTALL_TGTS),$(INSTALL) -D -m 0755 $(@D)/$(target) $(TARGET_DIR)/usr/lib/)\n+\t$(if $(INIPARSER_LINK_SO),ln -s -r $(TARGET_DIR)/usr/lib/$(INIPARSER_SO_TARGET) $(TARGET_DIR)/usr/lib/libiniparser.so)\n+endef\n+\n+$(eval $(generic-package))\n",
    "prefixes": [
        "v3",
        "1/3"
    ]
}