get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 73581,
    "url": "https://patches.dpdk.org/api/patches/73581/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1594277585-15281-1-git-send-email-phil.yang@arm.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1594277585-15281-1-git-send-email-phil.yang@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1594277585-15281-1-git-send-email-phil.yang@arm.com",
    "date": "2020-07-09T06:53:05",
    "name": "devtools: fix ninja break under default DESTDIR path",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "6f57efc7e91fc026c3f86f52f975e810ab267223",
    "submitter": {
        "id": 833,
        "url": "https://patches.dpdk.org/api/people/833/?format=api",
        "name": "Phil Yang",
        "email": "phil.yang@arm.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1594277585-15281-1-git-send-email-phil.yang@arm.com/mbox/",
    "series": [
        {
            "id": 10911,
            "url": "https://patches.dpdk.org/api/series/10911/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10911",
            "date": "2020-07-09T06:53:05",
            "name": "devtools: fix ninja break under default DESTDIR path",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/10911/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73581/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73581/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D6A2EA0526;\n\tThu,  9 Jul 2020 08:53:18 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 38DC71DB93;\n\tThu,  9 Jul 2020 08:53:18 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n by dpdk.org (Postfix) with ESMTP id 870F71DAF5\n for <dev@dpdk.org>; Thu,  9 Jul 2020 08:53:16 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D1B6C1FB;\n Wed,  8 Jul 2020 23:53:15 -0700 (PDT)",
            "from phil-VirtualBox.arm.com (A010647.Arm.com [10.170.226.139])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E44C53F71E;\n Wed,  8 Jul 2020 23:53:13 -0700 (PDT)"
        ],
        "From": "Phil Yang <phil.yang@arm.com>",
        "To": "david.marchand@redhat.com,\n\tdev@dpdk.org",
        "Cc": "Honnappa.Nagarahalli@arm.com,\n\tRuifeng.Wang@arm.com,\n\tnd@arm.com",
        "Date": "Thu,  9 Jul 2020 14:53:05 +0800",
        "Message-Id": "<1594277585-15281-1-git-send-email-phil.yang@arm.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH] devtools: fix ninja break under default DESTDIR\n\tpath",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "If DPDK_ABI_REF_DIR is not set, the default DESTDIR is a relative path.\nThis will break ninja in the ABI check test.\n\nFixes: 777014e56d07 (\"devtools: add ABI checks\")\n\nSigned-off-by: Phil Yang <phil.yang@arm.com>\n---\n devtools/test-meson-builds.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex a87de63..2bfcaca 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -143,7 +143,7 @@ build () # <directory> <target compiler | cross file> <meson options>\n \tconfig $srcdir $builds_dir/$targetdir $cross --werror $*\n \tcompile $builds_dir/$targetdir\n \tif [ -n \"$DPDK_ABI_REF_VERSION\" ]; then\n-\t\tabirefdir=${DPDK_ABI_REF_DIR:-reference}/$DPDK_ABI_REF_VERSION\n+\t\tabirefdir=${DPDK_ABI_REF_DIR:-$(pwd)/reference}/$DPDK_ABI_REF_VERSION\n \t\tif [ ! -d $abirefdir/$targetdir ]; then\n \t\t\t# clone current sources\n \t\t\tif [ ! -d $abirefdir/src ]; then\n",
    "prefixes": []
}