get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 128630,
    "url": "http://patches.dpdk.org/api/patches/128630/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230613153333.164365-3-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230613153333.164365-3-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230613153333.164365-3-bruce.richardson@intel.com",
    "date": "2023-06-13T15:33:33",
    "name": "[v3,2/2] build: change libfdt flag variable type to boolean",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "81eabab32a1ca11888a71d82618f9e4809e703b4",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230613153333.164365-3-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 28489,
            "url": "http://patches.dpdk.org/api/series/28489/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28489",
            "date": "2023-06-13T15:33:31",
            "name": "replace int flags with booleans",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/28489/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/128630/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/128630/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1475842CA5;\n\tTue, 13 Jun 2023 17:33:59 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 237F742BB1;\n\tTue, 13 Jun 2023 17:33:55 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 081DD427F5\n for <dev@dpdk.org>; Tue, 13 Jun 2023 17:33:53 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Jun 2023 08:33:49 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.11])\n by fmsmga001.fm.intel.com with ESMTP; 13 Jun 2023 08:33:48 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1686670434; x=1718206434;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Gku4iIrtDRINgDA2V5vO0dZirv0xjnBUppf711q90Ro=;\n b=cOHHL5MAkgLVpzg82PbgpjpPYDpfxNq36BXP0zn9J7cbCCf56XYxQgQ3\n Q+uYoKzua35JoRkUBch2MrgiseaWVQhJFrsGcaI/AepaTVpBIhmKy0luq\n qUVCtdQEjSCzB9M50k5hSeTHg2mSfuPuIQMrtWPa7XmCSHkiFOz8WAEp+\n JJA44CoSYxfrtXNpESXMu+5VJSjJ+DnGRgnSCpC8EDjqnTXUvrw8BCmx7\n 2kz1B7Uj0Bbm1GtnPFLjB1ji75u/VYo1y9obAkVlqcYJyK+WV9BBS7gTM\n m8Jd1QKLFDwB8loAsBMADxFnIBAArTI907NU59OBImJMoQKRPJhMtLT/h Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10740\"; a=\"358366238\"",
            "E=Sophos;i=\"6.00,240,1681196400\"; d=\"scan'208\";a=\"358366238\"",
            "E=McAfee;i=\"6600,9927,10740\"; a=\"856137410\"",
            "E=Sophos;i=\"6.00,240,1681196400\"; d=\"scan'208\";a=\"856137410\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH v3 2/2] build: change libfdt flag variable type to boolean",
        "Date": "Tue, 13 Jun 2023 16:33:33 +0100",
        "Message-Id": "<20230613153333.164365-3-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230613153333.164365-1-bruce.richardson@intel.com>",
        "References": "<20230612162104.170749-1-bruce.richardson@intel.com>\n <20230613153333.164365-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "The has_libfdt flag was using 0 and 1 integer values, instead of the\nmore appropriate boolean type. Change to use true/false instead.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n config/meson.build             | 4 ++--\n drivers/net/ipn3ke/meson.build | 2 +-\n drivers/raw/ifpga/meson.build  | 2 +-\n 3 files changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/config/meson.build b/config/meson.build\nindex 8aebccbbdc..22d7d908b7 100644\n--- a/config/meson.build\n+++ b/config/meson.build\n@@ -190,11 +190,11 @@ if find_libnuma\n     endif\n endif\n \n-has_libfdt = 0\n+has_libfdt = false\n fdt_dep = cc.find_library('fdt', required: false)\n if fdt_dep.found() and cc.has_header('fdt.h')\n     dpdk_conf.set10('RTE_HAS_LIBFDT', true)\n-    has_libfdt = 1\n+    has_libfdt = true\n     add_project_link_arguments('-lfdt', language: 'c')\n     dpdk_extra_ldflags += '-lfdt'\n endif\ndiff --git a/drivers/net/ipn3ke/meson.build b/drivers/net/ipn3ke/meson.build\nindex 104d2f58e5..464bdbd8b6 100644\n--- a/drivers/net/ipn3ke/meson.build\n+++ b/drivers/net/ipn3ke/meson.build\n@@ -15,7 +15,7 @@ endif\n #  rte_eth_switch_domain_free()\n #\n \n-if has_libfdt == 0\n+if not has_libfdt\n     build = false\n     reason = 'missing dependency, \"libfdt\"'\n     subdir_done()\ndiff --git a/drivers/raw/ifpga/meson.build b/drivers/raw/ifpga/meson.build\nindex cc30dc8be7..20dea23206 100644\n--- a/drivers/raw/ifpga/meson.build\n+++ b/drivers/raw/ifpga/meson.build\n@@ -1,7 +1,7 @@\n # SPDX-License-Identifier: BSD-3-Clause\n # Copyright(c) 2018 Intel Corporation\n \n-if has_libfdt == 0\n+if not has_libfdt\n     build = false\n     reason = 'missing dependency, \"libfdt\"'\n     subdir_done()\n",
    "prefixes": [
        "v3",
        "2/2"
    ]
}