get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104483,
    "url": "http://patchwork.dpdk.org/api/patches/104483/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dts/patch/20211117162625.26582-1-ohilyard@iol.unh.edu/",
    "project": {
        "id": 3,
        "url": "http://patchwork.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20211117162625.26582-1-ohilyard@iol.unh.edu>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211117162625.26582-1-ohilyard@iol.unh.edu",
    "date": "2021-11-17T16:26:26",
    "name": "[v2] framework: Advise against using root passwords",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "51492a6d65bfd9ca2491960332a86e196826053b",
    "submitter": {
        "id": 1829,
        "url": "http://patchwork.dpdk.org/api/people/1829/?format=api",
        "name": "Owen Hilyard",
        "email": "ohilyard@iol.unh.edu"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dts/patch/20211117162625.26582-1-ohilyard@iol.unh.edu/mbox/",
    "series": [
        {
            "id": 20627,
            "url": "http://patchwork.dpdk.org/api/series/20627/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=20627",
            "date": "2021-11-17T16:26:26",
            "name": "[v2] framework: Advise against using root passwords",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/20627/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/104483/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/104483/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 D63CBA0C41;\n\tWed, 17 Nov 2021 17:26:38 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9F2EC40687;\n\tWed, 17 Nov 2021 17:26:38 +0100 (CET)",
            "from mail-pl1-f226.google.com (mail-pl1-f226.google.com\n [209.85.214.226])\n by mails.dpdk.org (Postfix) with ESMTP id 1299D40040\n for <dts@dpdk.org>; Wed, 17 Nov 2021 17:26:37 +0100 (CET)",
            "by mail-pl1-f226.google.com with SMTP id p18so2587875plf.13\n for <dts@dpdk.org>; Wed, 17 Nov 2021 08:26:36 -0800 (PST)",
            "from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84])\n by smtp-relay.gmail.com with ESMTPS id q13sm65990pjg.7.2021.11.17.08.26.35\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Wed, 17 Nov 2021 08:26:36 -0800 (PST)",
            "from iol.unh.edu (unknown [IPv6:2606:4100:3880:1257::105d])\n by postal.iol.unh.edu (Postfix) with ESMTP id 2FFBD605247D;\n Wed, 17 Nov 2021 11:26:35 -0500 (EST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu;\n s=unh-iol;\n h=from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=GAsLMSvtcUFChh4PGg3T8wBWnRXv0Z5QvmHnlhnZHuQ=;\n b=AogJV2dL29JQKvoAvMoi6xCF7zvS0c4SFBBAOa07fFV5ZbJlTPHaKGzbK1una4Dc7k\n BRsJIVlYIDxIvjG7Q1q2InserZENfUpaz+XBspGyCXQpJPv1RvG6OUXZOnDm3qq0VgGE\n wVZnLhWwW2BQtfUtzPB+X/2q9xPgmnWGAVhFk=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=GAsLMSvtcUFChh4PGg3T8wBWnRXv0Z5QvmHnlhnZHuQ=;\n b=CuP9uZj7cZWkxcT0hFtxjmaBMWw9mM1rNxPuN7xmLEG1/FEuHTF0LW97jGS9TjeHdi\n +fAmvMWseikr0UNqrTwjoxxgUtPiufLthXPa8b3Ssvc+ux9WFHH0x1iaLa0ZBVn52EaE\n zRAQLBaZUGToX7ZV7fbJHM3Y29udxvfcq7lZBlPL2VJABNT7Fr7cunZctmRoAI2x2j89\n WD25EszbLJtYk3l7utErJyDekTLBtQvwjxprJaX751/AeEvNuX22VHZHvdrX+DFIcbot\n RUQ/Qq4Q0I/tjDrIlVMNpLhtua7Cw2IUEnd6mSQCpVn7KmuXCSzJfeYQUkVtRQBeWT5b\n svDQ==",
        "X-Gm-Message-State": "AOAM531LDi92aIagy5FsP6XvJP2F0Be99leihCWQqvwcDb0SloyCobmG\n 1aXeYxP9KM1d1fsJz74tHW2Lf1UHyndNec+78JbUu3Lfaq93HSKjTErkr1KP8NO1WOmTW6A3/rP\n /7bky/uFGw4eQM4Nwuokg/Ai5oKoX7QsBr5y4xSrjB0YtkNTij98Ssnrm6xPVzUnCijNnUyc+bA\n ==",
        "X-Google-Smtp-Source": "\n ABdhPJz+fcVAkJKrvkJeNn4okjoaC3JwwT7UP4lmP/+0gSFI88Hnhjj/BLO9uRSRYKHEwPpybXJgUlzwdyDk",
        "X-Received": "by 2002:a17:902:e842:b0:142:dbc:bade with SMTP id\n t2-20020a170902e84200b001420dbcbademr57862843plg.45.1637166396043;\n Wed, 17 Nov 2021 08:26:36 -0800 (PST)",
        "X-Relaying-Domain": "iol.unh.edu",
        "From": "ohilyard@iol.unh.edu",
        "To": "dts@dpdk.org",
        "Cc": "lijuan.tu@intel.com,\n\tOwen Hilyard <ohilyard@iol.unh.edu>",
        "Subject": "[PATCH v2] framework: Advise against using root passwords",
        "Date": "Wed, 17 Nov 2021 11:26:26 -0500",
        "Message-Id": "<20211117162625.26582-1-ohilyard@iol.unh.edu>",
        "X-Mailer": "git-send-email 2.30.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "From: Owen Hilyard <ohilyard@iol.unh.edu>\n\nAdded messages to notify the user that a blank password field will use\nssh keys, and that using root passwords is insecure.\n\nSigned-off-by: Owen Hilyard <ohilyard@iol.unh.edu>\n---\n conf/crbs.cfg  | 4 ++--\n tools/setup.py | 4 ++--\n 2 files changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/conf/crbs.cfg b/conf/crbs.cfg\nindex b6c0a9af..a12e60a4 100644\n--- a/conf/crbs.cfg\n+++ b/conf/crbs.cfg\n@@ -2,10 +2,10 @@\n #[DUT IP]\n #  dut_ip: DUT ip address\n #  dut_user: Login DUT username\n-#  dut_passwd: Login DUT password\n+#  dut_passwd: [INSECURE] Login DUT password, leaving this blank will force using SSH keys\n #  os: operation system type linux or freebsd\n #  tester_ip: Tester ip address\n-#  tester_passwd: Tester password\n+#  tester_passwd: [INSECURE] Tester password, leaving this blank will force using SSH keys\n #  pktgen_group: packet generator group name: ixia/trex/ixia_network\n #  channels: Board channel number\n #  bypass_core0: Whether by pass core0\ndiff --git a/tools/setup.py b/tools/setup.py\nindex 3873a884..c70730c7 100755\n--- a/tools/setup.py\n+++ b/tools/setup.py\n@@ -105,7 +105,7 @@ def config_crbs():\n \n     passwd_option = {'prompt': 'DUT root password',\n                      'type': 'string',\n-                     'help': 'Please input password of DUT crb',\n+                     'help': '[INSECURE] Please input password of DUT crb (leave blank to use preconfigured SSH keys)',\n                      'default': ''}\n     opt = Option(**passwd_option)\n     dut_pass = opt.parse_input()\n@@ -120,7 +120,7 @@ def config_crbs():\n \n     passwd_option = {'prompt': 'Tester root password',\n                      'type': 'string',\n-                     'help': 'Please input password of Tester crb',\n+                     'help': '[INSECURE] Please input password of Tester crb (leave blank to use preconfigured SSH keys)',\n                      'default': ''}\n     opt = Option(**passwd_option)\n     tester_pass = opt.parse_input()\n",
    "prefixes": [
        "v2"
    ]
}