get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 90288,
    "url": "http://patchwork.dpdk.org/api/patches/90288/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210401090516.209155-1-anatoly.burakov@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": "<20210401090516.209155-1-anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210401090516.209155-1-anatoly.burakov@intel.com",
    "date": "2021-04-01T09:05:16",
    "name": "[RFC] devtools: improve DPDK review process",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "136789e164b1d81e28d00c22a951a5a3074c0ef7",
    "submitter": {
        "id": 4,
        "url": "http://patchwork.dpdk.org/api/people/4/?format=api",
        "name": "Burakov, Anatoly",
        "email": "anatoly.burakov@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/20210401090516.209155-1-anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 16049,
            "url": "http://patchwork.dpdk.org/api/series/16049/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=16049",
            "date": "2021-04-01T09:05:16",
            "name": "[RFC] devtools: improve DPDK review process",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/16049/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/90288/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/90288/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 7CADAA034F;\n\tThu,  1 Apr 2021 11:05:45 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6137240696;\n\tThu,  1 Apr 2021 11:05:45 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id 014C540142\n for <dev@dpdk.org>; Thu,  1 Apr 2021 11:05:42 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Apr 2021 02:05:18 -0700",
            "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.222.97])\n by fmsmga005.fm.intel.com with ESMTP; 01 Apr 2021 02:05:17 -0700"
        ],
        "IronPort-SDR": [
            "\n w2d6GVsK7QDKzC/WiFjlZqoTLpEbVkVnvVc85NAADnivoflJ6ds34OJqkFTDYtNzynwbQcptoP\n GHU4KcOyEgXg==",
            "\n xkPZpZIHopdK2REsgyb2l3/tE54y4TzrRHizIP8M4AnS88XRH9oAlZt78/mh3zcGMiyAYsR7tj\n naleYD+TC7nA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9940\"; a=\"212448895\"",
            "E=Sophos;i=\"5.81,296,1610438400\"; d=\"scan'208\";a=\"212448895\"",
            "E=Sophos;i=\"5.81,296,1610438400\"; d=\"scan'208\";a=\"610838195\""
        ],
        "X-ExtLoop1": "1",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu,  1 Apr 2021 09:05:16 +0000",
        "Message-Id": "<20210401090516.209155-1-anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [RFC] devtools: improve DPDK review process",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "A common problem on the DPDK mailing list is lack of reviewers for\npatches. This script is intended to help with that problem, by picking\na random commit author from our git history, and adding a Reviewed-by:\ntag. This can be added to e.g. commit-msg git hook, like so:\n\n    # add reviewer to commit message\n    $(git rev-parse --show-toplevel)/devtools/get-reviewer.sh >> $1\n\nNow all DPDK code will definitely be well reviewed!\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\nRеviеwеd-by: Thоmas Mоnjаlоn <thomas@monjalon.net>\n---\n devtools/get-reviewer.sh | 4 ++++\n 1 file changed, 4 insertions(+)\n create mode 100755 devtools/get-reviewer.sh",
    "diff": "diff --git a/devtools/get-reviewer.sh b/devtools/get-reviewer.sh\nnew file mode 100755\nindex 0000000000..f4b07c9862\n--- /dev/null\n+++ b/devtools/get-reviewer.sh\n@@ -0,0 +1,4 @@\n+#!/bin/sh\n+\n+# find a reviewer for the code\n+git log --format=\"Reviewed-by: %an <%ae>\" | sort -u | shuf -n 1\n",
    "prefixes": [
        "RFC"
    ]
}