get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 105326,
    "url": "http://patchwork.dpdk.org/api/patches/105326/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20211222151855.803916-1-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20211222151855.803916-1-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211222151855.803916-1-bruce.richardson@intel.com",
    "date": "2021-12-22T15:18:55",
    "name": "doc/api: remove dependency on findutils on FreeBSD",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "c9fd9f2a943cde78bfac51531689a918f225d7c9",
    "submitter": {
        "id": 20,
        "url": "http://patchwork.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20211222151855.803916-1-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 21008,
            "url": "http://patchwork.dpdk.org/api/series/21008/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=21008",
            "date": "2021-12-22T15:18:55",
            "name": "doc/api: remove dependency on findutils on FreeBSD",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/21008/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/105326/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/105326/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 38611A034E;\n\tWed, 22 Dec 2021 16:19:48 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B10B540040;\n\tWed, 22 Dec 2021 16:19:47 +0100 (CET)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 9D4E44003C;\n Wed, 22 Dec 2021 16:19:45 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Dec 2021 07:19:14 -0800",
            "from silpixa00399126.ir.intel.com ([10.237.223.86])\n by orsmga007.jf.intel.com with ESMTP; 22 Dec 2021 07:19:13 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1640186386; x=1671722386;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=0P7yjJrVPfZ67OESEWM746/lt57vPnYpqRjjuN4ysH4=;\n b=RPKQgHI7Kj33EhD0hyQOHRoHxJWwCtNBexuDPR9QeG+DdREY6mBt9vkO\n KMbuohbUSNPokcBivF21b4SppAetsbAx3ft2lYE3h1tilXt8Ddj2ercVa\n L4qJdcTRSG0JZ2VZ58UY4D263W3ETg7EbUzeUxqcp8/4a1AKlSq91WrNP\n 5RR3KnpO/8LivGSJus2eweuxE5569zRs6p9iqaoVOUPtmzruBrdzd8tAO\n CnUJj3rH4pQ9aybzRy8lUP51Drq1BFlQkZ8J0Nf+urQoB61Ieo4NILYEi\n iiKy4mHtSEbx/XMDJTxLPSBhsOjYoCv/551Hc2aKL58GY0b4fJeerTAPM w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10205\"; a=\"221316372\"",
            "E=Sophos;i=\"5.88,226,1635231600\"; d=\"scan'208\";a=\"221316372\"",
            "E=Sophos;i=\"5.88,226,1635231600\"; d=\"scan'208\";a=\"508504744\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>, bluca@debian.org,\n thomas@monjalon.net, stable@dpdk.org",
        "Subject": "[PATCH] doc/api: remove dependency on findutils on FreeBSD",
        "Date": "Wed, 22 Dec 2021 15:18:55 +0000",
        "Message-Id": "<20211222151855.803916-1-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "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": "Standard \"find\" on BSD does not support the \"-printf\" so gfind from\nfindutils package was used to enable full doc builds. We can remove this\nextra dependency by using \"sed\" and \"tr\" to adjust the output from\nregular find instread.\n\nFixes: 8260f4f98cfe (\"mk: use script to generate examples.dox\")\nFixes: 499fe9dfcfc7 (\"doc: add dependency on examples for API doxygen\")\nFixes: 897e55c8d27f (\"doc: fix Doxygen examples build on FreeBSD\")\nCc: bluca@debian.org\nCc: thomas@monjalon.net\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n doc/api/generate_examples.sh | 12 ++----------\n 1 file changed, 2 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/doc/api/generate_examples.sh b/doc/api/generate_examples.sh\nindex 3e08236596..16949cb47a 100755\n--- a/doc/api/generate_examples.sh\n+++ b/doc/api/generate_examples.sh\n@@ -6,21 +6,13 @@ EXAMPLES_DIR=$1\n API_EXAMPLES=$2\n \n FIND=find\n-if [ \"$(uname)\" = \"FreeBSD\" ] ; then\n-# on FreeBSD, we need GNU find for \"-printf\" flag\n-\tFIND=gfind\n-\tif ! which -s $FIND ; then\n-\t\techo \"Error: need '$FIND' on FreeBSD. Install 'findutils' pkg\"\n-\t\texit 1\n-\tfi\n-fi\n \n # generate a .d file including both C files and also build files, so we can\n # detect both file changes and file additions/deletions\n-echo \"$API_EXAMPLES: $($FIND ${EXAMPLES_DIR} -type f \\( -name '*.c' -o -name 'meson.build' \\) -printf '%p ' )\" > ${API_EXAMPLES}.d\n+echo \"$API_EXAMPLES: $($FIND ${EXAMPLES_DIR} -type f \\( -name '*.c' -o -name 'meson.build' \\) | tr '\\n' ' ' )\" > ${API_EXAMPLES}.d\n \n exec > \"${API_EXAMPLES}\"\n printf '/**\\n'\n printf '@page examples DPDK Example Programs\\n\\n'\n-$FIND \"${EXAMPLES_DIR}\" -type f -name '*.c' -printf '@example examples/%P\\n' | LC_ALL=C sort\n+$FIND \"${EXAMPLES_DIR}\" -type f -name '*.c' | sed \"s|${EXAMPLES_DIR}|@example examples|\" | LC_ALL=C sort\n printf '*/\\n'\n",
    "prefixes": []
}