get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 136283,
    "url": "http://patchwork.dpdk.org/api/patches/136283/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240201134852.2383699-1-venkatx.sivaramakrishnan@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": "<20240201134852.2383699-1-venkatx.sivaramakrishnan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240201134852.2383699-1-venkatx.sivaramakrishnan@intel.com",
    "date": "2024-02-01T13:48:52",
    "name": "[v3] doc: update guideline for fix commit messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1bb52abb7b86239771317fcdf171ec0ec78100eb",
    "submitter": {
        "id": 3155,
        "url": "http://patchwork.dpdk.org/api/people/3155/?format=api",
        "name": "Sivaramakrishnan Venkat",
        "email": "venkatx.sivaramakrishnan@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240201134852.2383699-1-venkatx.sivaramakrishnan@intel.com/mbox/",
    "series": [
        {
            "id": 30967,
            "url": "http://patchwork.dpdk.org/api/series/30967/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=30967",
            "date": "2024-02-01T13:48:52",
            "name": "[v3] doc: update guideline for fix commit messages",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/30967/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/136283/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/136283/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 B326043A3A;\n\tThu,  1 Feb 2024 14:48:58 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9F0E342D90;\n\tThu,  1 Feb 2024 14:48:58 +0100 (CET)",
            "from mgamail.intel.com (mgamail.intel.com [192.198.163.12])\n by mails.dpdk.org (Postfix) with ESMTP id F127340275\n for <dev@dpdk.org>; Thu,  1 Feb 2024 14:48:56 +0100 (CET)",
            "from fmviesa001.fm.intel.com ([10.60.135.141])\n by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Feb 2024 05:48:56 -0800",
            "from silpixa00400902.ir.intel.com ([10.243.23.146])\n by fmviesa001.fm.intel.com with ESMTP; 01 Feb 2024 05:48:55 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1706795337; x=1738331337;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=xGCWtIs04eadhGa77Zso8AhpndAiUZp4wp3xEsnBKyg=;\n b=DbVk/vIu5T82wEzcMn2szFpLWmOCqva4nzCJk7pfxc5G9TNBv/bxAv3s\n Syrn/P+QdIHfZd6vpnuHMpqRVrBRuY2DIxRQGa5vKrxZWSpK4yDTRtTJX\n lIRWVTMAkby1qhGfw1TNwHh0THeGSfl0rTSmrIv1NqfxR083mRUytDOsa\n orTT0RMNHwjIWCx60nmHCC466ruK1JswjgfV8PSNTcKjoZi23lggbRq9B\n fovlQRZ3Thu4i4ZLp1ilLn3RDM6B3KAg2xWB4L7A7z1qBTtRUnzBJtP4h\n qZWz1ZpSZpIxrzVjPV0K7YaEW4yQaZWTb4MzMOWQW4nIsBkeOCbodCM1l Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10969\"; a=\"3729738\"",
            "E=Sophos;i=\"6.05,234,1701158400\";\n   d=\"scan'208\";a=\"3729738\"",
            "E=Sophos;i=\"6.05,234,1701158400\"; d=\"scan'208\";a=\"30874026\""
        ],
        "X-ExtLoop1": "1",
        "From": "Sivaramakrishnan Venkat <venkatx.sivaramakrishnan@intel.com>",
        "To": "",
        "Cc": "dev@dpdk.org, ferruh.yigit@amd.com, ciara.power@intel.com,\n Sivaramakrishnan Venkat <venkatx.sivaramakrishnan@intel.com>",
        "Subject": "[PATCH v3] doc: update guideline for fix commit messages",
        "Date": "Thu,  1 Feb 2024 13:48:52 +0000",
        "Message-Id": "<20240201134852.2383699-1-venkatx.sivaramakrishnan@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20240125033900.1894397-1-venkatx.sivaramakrishnan@intel.com>",
        "References": "<20240125033900.1894397-1-venkatx.sivaramakrishnan@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Maintainers remove the Cc author line when merging the patch.\nSo, the guidelines is updated with a suggestion for the placement\nof Cc lines in a commit message for easy merging.\n\nSigned-off-by: Sivaramakrishnan Venkat <venkatx.sivaramakrishnan@intel.com>\n---\nv3:\n  - Other samples updated to the desired format for the \"Cc:\" line in the commit message\nv2:\n  - Samples updated to the desired format for the \"Cc:\" line in the commit message\n---\n doc/guides/contributing/patches.rst | 12 ++++++++----\n doc/guides/contributing/stable.rst  |  3 ++-\n 2 files changed, 10 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst\nindex e286d9e6d5..4e1768025e 100644\n--- a/doc/guides/contributing/patches.rst\n+++ b/doc/guides/contributing/patches.rst\n@@ -271,9 +271,10 @@ Here are some guidelines for the body of a commit message:\n      Update the docs, fixing description of some parameter.\n \n      Fixes: abcdefgh1234 (\"doc: add some parameter\")\n-     Cc: author@example.com\n \n      Signed-off-by: Alex Smith <alex.smith@example.com>\n+     ---\n+     Cc: author@example.com\n \n * When fixing an error or warning it is useful to add the error message and instructions on how to reproduce it.\n \n@@ -300,9 +301,10 @@ in the body of the commit message. For example::\n \n      Coverity issue: 12345\n      Fixes: abcdefgh1234 (\"doc: add some parameter\")\n-     Cc: author@example.com\n \n      Signed-off-by: Alex Smith <alex.smith@example.com>\n+     ---\n+     Cc: author@example.com\n \n \n `Bugzilla <https://bugs.dpdk.org>`_\n@@ -319,9 +321,10 @@ For example::\n \n     Bugzilla ID: 12345\n     Fixes: abcdefgh1234 (\"doc: add some parameter\")\n-    Cc: author@example.com\n \n     Signed-off-by: Alex Smith <alex.smith@example.com>\n+    ---\n+    Cc: author@example.com\n \n Patch for Stable Releases\n ~~~~~~~~~~~~~~~~~~~~~~~~~\n@@ -336,9 +339,10 @@ In the commit message body the Cc: stable@dpdk.org should be inserted as follows\n      Update the docs, fixing description of some parameter.\n \n      Fixes: abcdefgh1234 (\"doc: add some parameter\")\n-     Cc: stable@dpdk.org\n \n      Signed-off-by: Alex Smith <alex.smith@example.com>\n+     ---\n+     Cc: stable@dpdk.org\n \n For further information on stable contribution you can go to\n :doc:`Stable Contribution Guide <stable>`.\ndiff --git a/doc/guides/contributing/stable.rst b/doc/guides/contributing/stable.rst\nindex 8156b72b20..bf7f4bceec 100644\n--- a/doc/guides/contributing/stable.rst\n+++ b/doc/guides/contributing/stable.rst\n@@ -92,9 +92,10 @@ commit message body as follows::\n      Update the docs, fixing description of some parameter.\n \n      Fixes: abcdefgh1234 (\"doc: add some parameter\")\n-     Cc: stable@dpdk.org\n \n      Signed-off-by: Alex Smith <alex.smith@example.com>\n+     ---\n+     Cc: stable@dpdk.org\n \n \n Fixes not suitable for backport should not include the ``Cc: stable@dpdk.org`` tag.\n",
    "prefixes": [
        "v3"
    ]
}