get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 114445,
    "url": "http://patches.dpdk.org/api/patches/114445/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220729124256.1384838-1-david.marchand@redhat.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": "<20220729124256.1384838-1-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220729124256.1384838-1-david.marchand@redhat.com",
    "date": "2022-07-29T12:42:55",
    "name": "[v2,1/2] app/test: load drivers using build directory",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "47de8a09836c55d5458651ed54bcc0b6a4c79f36",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.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/20220729124256.1384838-1-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 24135,
            "url": "http://patches.dpdk.org/api/series/24135/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24135",
            "date": "2022-07-29T12:42:55",
            "name": "[v2,1/2] app/test: load drivers using build directory",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/24135/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/114445/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/114445/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 65F8BA04FD;\n\tFri, 29 Jul 2022 14:43:36 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F11584069C;\n\tFri, 29 Jul 2022 14:43:35 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id 6EB8A40151\n for <dev@dpdk.org>; Fri, 29 Jul 2022 14:43:34 +0200 (CEST)",
            "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-558-pj38uJXEM9uDU_LfOsSbgA-1; Fri, 29 Jul 2022 08:43:31 -0400",
            "from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com\n [10.11.54.2])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 038948853D9;\n Fri, 29 Jul 2022 12:43:30 +0000 (UTC)",
            "from fchome.redhat.com (unknown [10.40.195.18])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 4AA1D40C1288;\n Fri, 29 Jul 2022 12:43:29 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1659098613;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=LnZXaOKoB6aFwc2JckOEWyob6HVvp0Qs27HaP34RNco=;\n b=QZTuZRH3Lw/uitktJBKEOSRgurigt177G3sHGLpBK8Z/12kBqR/nYL6Jj2ycqkMdWbbtlV\n LIzg3X9vFTHVpwLskQGimtKok6/uo4lfJZm7QkY7/WWaASvwp9ZpgIaBW1E/c9gJKIZ+Em\n shJm9zmT3ziNeo8gQykcSmRxoVZIaSo=",
        "X-MC-Unique": "pj38uJXEM9uDU_LfOsSbgA-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH v2 1/2] app/test: load drivers using build directory",
        "Date": "Fri, 29 Jul 2022 14:42:55 +0200",
        "Message-Id": "<20220729124256.1384838-1-david.marchand@redhat.com>",
        "In-Reply-To": "<20220729095400.774303-1-david.marchand@redhat.com>",
        "References": "<20220729095400.774303-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.84 on 10.11.54.2",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "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": "Since commit 49b536fc3060 (\"eal: load only shared libs from driver ...),\nwe can specify a build directory to the -d option.\n\nSuggested-by: Bruce Richardson <bruce.richardson@intel.com>\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n app/test/meson.build | 4 +---\n drivers/meson.build  | 2 ++\n 2 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/app/test/meson.build b/app/test/meson.build\nindex 431c5bd318..861dd92ebd 100644\n--- a/app/test/meson.build\n+++ b/app/test/meson.build\n@@ -492,9 +492,7 @@ foreach arg : fast_tests\n \n     if (get_option('default_library') == 'shared' and\n         arg[0] == 'event_eth_tx_adapter_autotest')\n-        foreach drv:dpdk_drivers\n-            test_args += ['-d', drv.full_path().split('.a')[0] + '.so']\n-        endforeach\n+        test_args += ['-d', dpdk_drivers_build_dir]\n     endif\n     if is_linux\n         test_args += ['--file-prefix=@0@'.format(arg[0])]\ndiff --git a/drivers/meson.build b/drivers/meson.build\nindex b22c2adda7..376a64f4da 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -52,6 +52,8 @@ if cc.has_argument('-Wno-format-truncation')\n     default_cflags += '-Wno-format-truncation'\n endif\n \n+dpdk_drivers_build_dir = meson.current_build_dir()\n+\n foreach subpath:subdirs\n     drivers = []\n     std_deps = []\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}