get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 74001,
    "url": "http://patchwork.dpdk.org/api/patches/74001/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200714123912.61208-1-ciara.power@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": "<20200714123912.61208-1-ciara.power@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200714123912.61208-1-ciara.power@intel.com",
    "date": "2020-07-14T12:39:12",
    "name": "metrics: fix installation of metrics header",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "31239ee7d7072b012c86aa2537463a67bc9b637f",
    "submitter": {
        "id": 978,
        "url": "http://patchwork.dpdk.org/api/people/978/?format=api",
        "name": "Power, Ciara",
        "email": "ciara.power@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patchwork.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200714123912.61208-1-ciara.power@intel.com/mbox/",
    "series": [
        {
            "id": 11018,
            "url": "http://patchwork.dpdk.org/api/series/11018/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=11018",
            "date": "2020-07-14T12:39:12",
            "name": "metrics: fix installation of metrics header",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/11018/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/74001/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/74001/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 805A4A0540;\n\tTue, 14 Jul 2020 14:43:42 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 170A11D539;\n\tTue, 14 Jul 2020 14:43:41 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id 5D4981D51F;\n Tue, 14 Jul 2020 14:43:39 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Jul 2020 05:43:38 -0700",
            "from silpixa00399953.ir.intel.com (HELO\n silpixa00399953.ger.corp.intel.com) ([10.237.222.53])\n by FMSMGA003.fm.intel.com with ESMTP; 14 Jul 2020 05:43:36 -0700"
        ],
        "IronPort-SDR": [
            "\n e+zPtZk7p8ccT0WVmFD97Q4yyvFA40FT/QR5tgaiK/0Ubsq8YJweNl3BLV6ZxZJwnV9xapCdtu\n b4DHU5lEZxLA==",
            "\n 6vOsXtZf/KABEoP3uWWh1wvlM6e4Ta4JSk54Z0vws+LUDdk6pQoD+NKDEBTkQg1AKAQLH+smpa\n xopx49/owgJQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9681\"; a=\"148018615\"",
            "E=Sophos;i=\"5.75,350,1589266800\"; d=\"scan'208\";a=\"148018615\"",
            "E=Sophos;i=\"5.75,350,1589266800\"; d=\"scan'208\";a=\"324534338\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Ciara Power <ciara.power@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "bruce.richardson@intel.com, Ciara Power <ciara.power@intel.com>,\n stable@dpdk.org",
        "Date": "Tue, 14 Jul 2020 13:39:12 +0100",
        "Message-Id": "<20200714123912.61208-1-ciara.power@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] metrics: fix installation of metrics header",
        "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 Jansson was found, the headers list is overwritten when including\nrte_metrics_telemetry.h, which prevents rte_metrics.h from being\ninstalled. This is now fixed to add to headers, rather than overwrite,\nto allow both headers be installed when Jansson is present.\n\nFixes: c5b7197f662e (\"telemetry: move some functions to metrics library\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ciara Power <ciara.power@intel.com>\n---\n lib/librte_metrics/meson.build | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_metrics/meson.build b/lib/librte_metrics/meson.build\nindex 27ccbd655..eed27b880 100644\n--- a/lib/librte_metrics/meson.build\n+++ b/lib/librte_metrics/meson.build\n@@ -8,7 +8,7 @@ jansson = dependency('jansson', required: false)\n if jansson.found()\n \text_deps += jansson\n \tsources += files('rte_metrics_telemetry.c')\n-\theaders = files('rte_metrics_telemetry.h')\n+\theaders += files('rte_metrics_telemetry.h')\n \tdeps += ['ethdev', 'telemetry']\n \tincludes += include_directories('../librte_telemetry')\n endif\n",
    "prefixes": []
}