get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 73431,
    "url": "https://patches.dpdk.org/api/patches/73431/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200707141108.10790-2-felix.moessbauer@siemens.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": "<20200707141108.10790-2-felix.moessbauer@siemens.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200707141108.10790-2-felix.moessbauer@siemens.com",
    "date": "2020-07-07T14:11:07",
    "name": "[v2,1/2] Fix build of apps with external dependencies",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3610fe724a4358df1122e521127efd5a795e9187",
    "submitter": {
        "id": 1811,
        "url": "https://patches.dpdk.org/api/people/1811/?format=api",
        "name": "Moessbauer, Felix",
        "email": "felix.moessbauer@siemens.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200707141108.10790-2-felix.moessbauer@siemens.com/mbox/",
    "series": [
        {
            "id": 10851,
            "url": "https://patches.dpdk.org/api/series/10851/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10851",
            "date": "2020-07-07T14:11:06",
            "name": "Add l2reflect measurement application",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/10851/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73431/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/73431/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 745EBA00BE;\n\tTue,  7 Jul 2020 16:11:50 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4FDE31DE29;\n\tTue,  7 Jul 2020 16:11:50 +0200 (CEST)",
            "from thoth.sbs.de (thoth.sbs.de [192.35.17.2])\n by dpdk.org (Postfix) with ESMTP id 621C41DC71\n for <dev@dpdk.org>; Tue,  7 Jul 2020 16:11:48 +0200 (CEST)",
            "from mail2.sbs.de (mail2.sbs.de [192.129.41.66])\n by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 067EBlQu019804\n (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Tue, 7 Jul 2020 16:11:47 +0200",
            "from derbion.ppmd.siemens.net (derbion.ppmd.siemens.net\n [139.25.68.102])\n by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 067EBaX1000464;\n Tue, 7 Jul 2020 16:11:47 +0200"
        ],
        "From": "Felix Moessbauer <felix.moessbauer@siemens.com>",
        "To": "thomas@monjalon.net",
        "Cc": "dev@dpdk.org, Felix Moessbauer <felix.moessbauer@siemens.com>",
        "Date": "Tue,  7 Jul 2020 16:11:07 +0200",
        "Message-Id": "<20200707141108.10790-2-felix.moessbauer@siemens.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20200703151811.38372-2-felix.moessbauer@siemens.com>",
        "References": "<20200703151811.38372-2-felix.moessbauer@siemens.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 1/2] Fix build of apps with external\n\tdependencies",
        "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": "This fix initialized the dependency object with the external\ndependency list. Previously, the external dependencies were\njust ignored.\n\nSigned-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>\n---\n app/meson.build | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/app/meson.build b/app/meson.build\nindex 585b90832..a29eba024 100644\n--- a/app/meson.build\n+++ b/app/meson.build\n@@ -42,7 +42,7 @@ foreach app:apps\n \tsubdir(name)\n \n \tif build\n-\t\tdep_objs = []\n+\t\tdep_objs = ext_deps\n \t\tforeach d:deps\n \t\t\tdep_objs += get_variable(get_option('default_library')\n \t\t\t\t + '_rte_' + d)\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}