get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 112675,
    "url": "http://patches.dpdk.org/api/patches/112675/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220612114007.23012-1-heinrich.schuchardt@canonical.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": "<20220612114007.23012-1-heinrich.schuchardt@canonical.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220612114007.23012-1-heinrich.schuchardt@canonical.com",
    "date": "2022-06-12T11:40:07",
    "name": "[1/1] doc: add author name on cc to git fixline alias",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "406249b4e665e2c66a2c5e4f83f45673b006544f",
    "submitter": {
        "id": 2687,
        "url": "http://patches.dpdk.org/api/people/2687/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "heinrich.schuchardt@canonical.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220612114007.23012-1-heinrich.schuchardt@canonical.com/mbox/",
    "series": [
        {
            "id": 23482,
            "url": "http://patches.dpdk.org/api/series/23482/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23482",
            "date": "2022-06-12T11:40:07",
            "name": "[1/1] doc: add author name on cc to git fixline alias",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/23482/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/112675/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/112675/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 F2AECA055C;\n\tSun, 12 Jun 2022 13:40:18 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9081840150;\n\tSun, 12 Jun 2022 13:40:18 +0200 (CEST)",
            "from smtp-relay-canonical-1.canonical.com\n (smtp-relay-canonical-1.canonical.com [185.125.188.121])\n by mails.dpdk.org (Postfix) with ESMTP id 7B905400EF\n for <dev@dpdk.org>; Sun, 12 Jun 2022 13:40:16 +0200 (CEST)",
            "from LT2ubnt.fritz.box (ip-062-143-094-109.um16.pools.vodafone-ip.de\n [62.143.94.109])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 2193E3FE6E;\n Sun, 12 Jun 2022 11:40:15 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20210705; t=1655034015;\n bh=BD8sEaLi03VfW+kjVmvaEo7Kg7b1AwXp43FSIqxADOU=;\n h=From:To:Cc:Subject:Date:Message-Id:MIME-Version;\n b=amjhR0STnXUDu+Thnjfo2si7IMBqpQEDTeFEKd0PPOWw5OwWPQWOuxM06i0NYbU/7\n qPbVQauLsQWzYBySJGGIIf67EWREKe+5JRe26+zGal9fWHecZDdBbnnVQeW5DU2KI8\n 16P6T8IUE0slHSOS6g1Q3gCb+krUfKn4qKQ5IEsHRrInng2tgbluYY5Qt5+N/ry3IB\n NqWqJxbJQR1sZlPBOXhLyTpfQcRK4ZJrqryoY4ZgNNd1a8vhYf9Q4/GUc+7nEz4/aK\n 1je7oJSmrHZzi7vHlsOZ7wyH6G6R534DndlErONcnZJrvWgfKC5UcdNi2V/k6OTcnR\n ssX1bTy/fXxag==",
        "From": "Heinrich Schuchardt <heinrich.schuchardt@canonical.com>",
        "To": "dev@dpdk.org",
        "Cc": "Adrien Mazarguil <adrien.mazarguil@6wind.com>,\n Harry van Haaren <harry.van.haaren@intel.com>,\n Thomas Monjalon <thomas@monjalon.net>,\n John McNamara <john.mcnamara@intel.com>,\n Heinrich Schuchardt <heinrich.schuchardt@canonical.com>",
        "Subject": "[PATCH 1/1] doc: add author name on cc to git fixline alias",
        "Date": "Sun, 12 Jun 2022 13:40:07 +0200",
        "Message-Id": "<20220612114007.23012-1-heinrich.schuchardt@canonical.com>",
        "X-Mailer": "git-send-email 2.36.1",
        "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": "We should add both the author name and the author email address to\nthe Cc: line of a blamed patch.\n\nFixes: f9ef083c6cfe (\"doc: add author on cc to git fixline alias\")\nCc: Harry van Haaren <harry.van.haaren@intel.com>\nSigned-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>\n---\n doc/guides/contributing/patches.rst | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst\nindex bebcaf3925..aad2429e58 100644\n--- a/doc/guides/contributing/patches.rst\n+++ b/doc/guides/contributing/patches.rst\n@@ -260,7 +260,7 @@ Here are some guidelines for the body of a commit message:\n   You can generate the required lines using the following git alias, which prints\n   the commit SHA and the author of the original code::\n \n-     git config alias.fixline \"log -1 --abbrev=12 --format='Fixes: %h (\\\"%s\\\")%nCc: %ae'\"\n+     git config alias.fixline \"log -1 --abbrev=12 --format='Fixes: %h (\\\"%s\\\")%nCc: %an <%ae>'\"\n \n   The output of ``git fixline <SHA>`` must then be added to the commit message::\n \n",
    "prefixes": [
        "1/1"
    ]
}