get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 88770,
    "url": "http://patchwork.dpdk.org/api/patches/88770/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210309233116.1934666-11-thomas@monjalon.net/",
    "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": "<20210309233116.1934666-11-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210309233116.1934666-11-thomas@monjalon.net",
    "date": "2021-03-09T23:31:14",
    "name": "[10/11] app/regex: fix usage text",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f9b0bdbcd52e90dff2b7c6080ffc7cda6bb12d31",
    "submitter": {
        "id": 685,
        "url": "http://patchwork.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "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/20210309233116.1934666-11-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 15554,
            "url": "http://patchwork.dpdk.org/api/series/15554/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=15554",
            "date": "2021-03-09T23:31:04",
            "name": "improve options help",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/15554/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/88770/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/88770/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 B352DA0567;\n\tWed, 10 Mar 2021 00:32:48 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 23FC222A58A;\n\tWed, 10 Mar 2021 00:31:58 +0100 (CET)",
            "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 2598C22A580\n for <dev@dpdk.org>; Wed, 10 Mar 2021 00:31:55 +0100 (CET)",
            "from compute4.internal (compute4.nyi.internal [10.202.2.44])\n by mailout.nyi.internal (Postfix) with ESMTP id CD3DE5C009A;\n Tue,  9 Mar 2021 18:31:54 -0500 (EST)",
            "from mailfrontend1 ([10.202.2.162])\n by compute4.internal (MEProxy); Tue, 09 Mar 2021 18:31:54 -0500",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 4E844240057;\n Tue,  9 Mar 2021 18:31:54 -0500 (EST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm3; bh=0iGb1EX6bRZ4M\n 4k7oWO2//j0cXkeZoudMVbtxRDJaSM=; b=EtjSCh7eijSr7mNjsyiAQ/6etk4fz\n qhkaXSNWC6h+hgMkenv4LMvqqVgdszBZDm7hdpBOeKdbGFIWMSuh/egFQIjkg1Dz\n saS16V84DgWk8qObflWfGcxxv9O1bu6gqqJ0G/jSYbEQOUqZj4+aWXmEM3ewoZwv\n 0uj5cVdivGqoJawe6a+NNrSz5Hz0o+C7vPAeImz+OU6ZfzfO0845L2yP/C8xUJK3\n OPFkUX1GBduUTf5Y3yRkgwHtBQCfaz10AbdwLmxeFfmGFlZOhHGUTsYFDITN3ZJj\n 6DglrOxLPGULcx8GUBuwnh92zWI4tKs3J2XJJZcRbe6joJtjX+wqRbGTQ==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm2; bh=0iGb1EX6bRZ4M4k7oWO2//j0cXkeZoudMVbtxRDJaSM=; b=Z0I2VR9c\n L7ubJmq3c65ow1TROr76kD9DqiyKAMSbJ/rdx5R0pg6l4mFOg90MvS6ef5/XZTV8\n +Ctb31AZegHaGanH8Ms2EHcG/o9riF1nua9qYC0+82dp2AezaybX/E7/jh96P6HO\n KMNmqF+4DuNsOIyDaejWdIJB3AVSktfqqNXJpNP/CdKngpXqTDFcTXSTgOiy3ig4\n lRp3WkIH3e0vuuAG+1Mh0n+hvBTwsU2lmyrJfU5uPL0sm7amZlrXu5BBY8y9Be3q\n 8OZ3NN6MsDJ0ollqj/F/SOu/o/25olYuAkGKVcIfqWAgNhRDfoKdOSSUt8DUJR5A\n 4pv7ZnjIvDcqEw=="
        ],
        "X-ME-Sender": "<xms:agVIYCrBKksj9HaRtxiQSrCOYBEuP7R0Nv696_tVy2ok-9H3zplrdw>\n <xme:agVIYGNaK53UKAHrZRfIm9Z0kRPXDMijLLIlfOfNRwgBFQ_XI8qvCBURA7A2DkxiD\n IGB_Tfz9B6yjquZQQ>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduledrudduiedgudejfecutefuodetggdotefrod\n ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh\n necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd\n enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm\n rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc\n ggtffrrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedt\n gfeutdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh\n fuihiivgepvdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr\n lhhonhdrnhgvth",
        "X-ME-Proxy": "<xmx:agVIYAz2PyBh_E_EpZRE0LaypWrumksYk38qbNoNsumaDTNYZzB3yQ>\n <xmx:agVIYCzJ4Ewjwb_UEzYAlQ2MUQaZWYu5VRO8sMPz8Pa-Zp2nLP8qOg>\n <xmx:agVIYJJL_8LkJ2WUmsANF11d-Uv9qplq43w57u5eCZeCECEv9sgTfw>\n <xmx:agVIYJQw8UnRT87OIJ3AAwj8pqS4W0QzPFkFBBYR9WOKyalTfcAayw>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com,\n\tOri Kam <orika@nvidia.com>",
        "Date": "Wed, 10 Mar 2021 00:31:14 +0100",
        "Message-Id": "<20210309233116.1934666-11-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.30.1",
        "In-Reply-To": "<20210309233116.1934666-1-thomas@monjalon.net>",
        "References": "<20210309233116.1934666-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 10/11] app/regex: fix usage text",
        "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": "The usage syntax help includes the program name which was fake.\nIt is replaced with the real name from argv.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n app/test-regex/main.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/app/test-regex/main.c b/app/test-regex/main.c\nindex ba09b20126..73ba227fba 100644\n--- a/app/test-regex/main.c\n+++ b/app/test-regex/main.c\n@@ -151,10 +151,10 @@ args_parse(int argc, char **argv, char *rules_file, char *data_file,\n \t\t\t*nb_lcores = atoi(optarg);\n \t\t\tbreak;\n \t\tcase ARG_HELP:\n-\t\t\tusage(\"RegEx test app\");\n+\t\t\tusage(argv[0]);\n \t\t\tbreak;\n \t\tdefault:\n-\t\t\tusage(\"RegEx test app\");\n+\t\t\tusage(argv[0]);\n \t\t\trte_exit(EXIT_FAILURE, \"Invalid option: %s\\n\", argv[optind]);\n \t\t\tbreak;\n \t\t}\n",
    "prefixes": [
        "10/11"
    ]
}