get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 50277,
    "url": "https://patches.dpdk.org/api/patches/50277/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190212230507.11793-3-thomas@monjalon.net/",
    "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": "<20190212230507.11793-3-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190212230507.11793-3-thomas@monjalon.net",
    "date": "2019-02-12T23:05:05",
    "name": "[2/4] devtools: add libelf dependency to build test",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d8092cb1d08ca109ae9ad5d9fd6d46bca77aff98",
    "submitter": {
        "id": 685,
        "url": "https://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "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/20190212230507.11793-3-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 3430,
            "url": "https://patches.dpdk.org/api/series/3430/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3430",
            "date": "2019-02-12T23:05:03",
            "name": "fix test of some build options",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/3430/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/50277/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/50277/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5FBC91B11F;\n\tWed, 13 Feb 2019 00:05:20 +0100 (CET)",
            "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n\t[66.111.4.26]) by dpdk.org (Postfix) with ESMTP id C229E1B0FF;\n\tWed, 13 Feb 2019 00:05:18 +0100 (CET)",
            "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 7099022164;\n\tTue, 12 Feb 2019 18:05:18 -0500 (EST)",
            "from mailfrontend1 ([10.202.2.162])\n\tby compute1.internal (MEProxy); Tue, 12 Feb 2019 18:05:18 -0500",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 4F997E4412;\n\tTue, 12 Feb 2019 18:05:17 -0500 (EST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tfrom:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding; s=mesmtp; bh=YXxcofGpsc\n\t0h+V8bn2RdQ1rHVUYzYNvLXhC7zQM34Q8=; b=GiSDfQnq7Rag8MdSudJwMu2EpS\n\ts/HBErOSV4pZaoQFoQaz+RX7N8qUy1e/lBIj8wp21F3zf01dPHV1xuMB+j8i54Ls\n\tPI9SkW5nPsoPAApSF4KRp032SC2C051EwQto+nBhgZ3Gwdl56eMDpExudzpYW9ht\n\t0rYDuKCHa1PuE4yKA=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:content-transfer-encoding:date:from\n\t:in-reply-to:message-id:mime-version:references:subject:to\n\t:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n\tfm2; bh=YXxcofGpsc0h+V8bn2RdQ1rHVUYzYNvLXhC7zQM34Q8=; b=v6k+8q44\n\tqMYl2Bp1zlCRNZArlGef2Ju0igpNcNwXSSWoFZNh3kpSTt46ZIDk/OhMhAyxPv0r\n\tbsYGLNpB2fPjStnFZmX54XY9BbtTJXB1+gV9gFwFtKnpGkTGq9k5t5PfUo5i3jKC\n\tUcmxsSSsWEugaDT3CkfuLpYGD+udDITybdfHzp8QubYRE1FI5EiVFAx/5woERI13\n\tFYZ9P9GPtuHBJRJEWGWyKSXTx87Ypfly0d+esW1F+x0wFAXqlolKNaZFPz+7Qqm/\n\tE2t1ZZqscM8Xppe/YHq3IwFKsNQRlcPiiepmbi1G8BjF7kccIIzXv3SFTeTYo1CA\n\taFbSiJVXvBNnRA=="
        ],
        "X-ME-Sender": "<xms:LlFjXFt8nF_FP8EkRt0rODlgzMiVGc0IJwKSjzjcM0tgHY2wv3cx9Q>",
        "X-ME-Proxy-Cause": "gggruggvucftvghtrhhoucdtuddrgedtledruddtvddgtdeiucetufdoteggodetrfdotf\n\tfvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef\n\ttddtnecumhhishhsihhnghcuvffquchfihgvlhguucdlfedtmdenucfjughrpefhvffuff\n\tfkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhho\n\tnhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrd\n\tdvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhj\n\trghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd",
        "X-ME-Proxy": "<xmx:LlFjXECifE_x6RiwLlAkoBo90G8wUxzoDYSVmNCWt_efcomxBuziAA>\n\t<xmx:LlFjXKxsfTDfy9Yoq6__ZbBQVSK9Q3jZmlHqmJDGttx0pS6WIFoyyg>\n\t<xmx:LlFjXKtxj_NjaxAStBgR5R8GGh1pgnfmyZ-7YSuJyGMFBtT3Y7NXDw>\n\t<xmx:LlFjXLSGepX3JWA-tBRY9rZG6ha0h0teORmjKCrM9TZ6d49HlvmHgA>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "",
        "Cc": "dev@dpdk.org,\n\tkonstantin.ananyev@intel.com,\n\tstable@dpdk.org",
        "Date": "Wed, 13 Feb 2019 00:05:05 +0100",
        "Message-Id": "<20190212230507.11793-3-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190212230507.11793-1-thomas@monjalon.net>",
        "References": "<20190212230507.11793-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 2/4] devtools: add libelf dependency to build test",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The option CONFIG_RTE_LIBRTE_BPF_ELF was never enabled\nwith test-build.sh.\nIt is fixed with the environment variable DPDK_DEP_ELF.\n\nFixes: 5dba93ae5f2d (\"bpf: add ability to load eBPF program from ELF object file\")\nCc: konstantin.ananyev@intel.com\nCc: stable@dpdk.org\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n devtools/test-build.sh | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/devtools/test-build.sh b/devtools/test-build.sh\nindex 42f4ad003..ace52a776 100755\n--- a/devtools/test-build.sh\n+++ b/devtools/test-build.sh\n@@ -9,6 +9,7 @@ default_path=$PATH\n # - DPDK_BUILD_TEST_CONFIGS (defconfig1+option1+option2 defconfig2)\n # - DPDK_DEP_ARCHIVE\n # - DPDK_DEP_CFLAGS\n+# - DPDK_DEP_ELF (y/[n])\n # - DPDK_DEP_ISAL (y/[n])\n # - DPDK_DEP_JSON (y/[n])\n # - DPDK_DEP_LDFLAGS\n@@ -96,6 +97,7 @@ reset_env ()\n \tunset CROSS\n \tunset DPDK_DEP_ARCHIVE\n \tunset DPDK_DEP_CFLAGS\n+\tunset DPDK_DEP_ELF\n \tunset DPDK_DEP_ISAL\n \tunset DPDK_DEP_JSON\n \tunset DPDK_DEP_LDFLAGS\n@@ -186,6 +188,8 @@ config () # <directory> <target> <options>\n \t\tsed -ri          's,(MVPP2_PMD=)n,\\1y,' $1/.config\n \t\ttest -z \"$LIBMUSDK_PATH\" || \\\n \t\tsed -ri         's,(MVNETA_PMD=)n,\\1y,' $1/.config\n+\t\ttest \"$DPDK_DEP_ELF\" != y || \\\n+\t\tsed -ri            's,(BPF_ELF=)n,\\1y,' $1/.config\n \t\ttest -z \"$DPDK_DEP_JSON\" || \\\n \t\tsed -ri          's,(TELEMETRY=)n,\\1y,' $1/.config\n \t\tbuild_config_hook $1 $2 $3\n",
    "prefixes": [
        "2/4"
    ]
}