get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 134684,
    "url": "https://patches.dpdk.org/api/patches/134684/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231129024221.57653-5-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "https://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": "<20231129024221.57653-5-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231129024221.57653-5-stephen@networkplumber.org",
    "date": "2023-11-29T02:39:11",
    "name": "[v5,04/10] pipeline: replace zero length array with flex array",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "6b3cd4587c73a03e0bf3823272b4240a50873c02",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231129024221.57653-5-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 30410,
            "url": "https://patches.dpdk.org/api/series/30410/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=30410",
            "date": "2023-11-29T02:39:07",
            "name": "Replace zero length arrays",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/30410/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/134684/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/134684/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 F10F8433F5;\n\tWed, 29 Nov 2023 03:43:09 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5612842E41;\n\tWed, 29 Nov 2023 03:42:39 +0100 (CET)",
            "from mail-pf1-f176.google.com (mail-pf1-f176.google.com\n [209.85.210.176])\n by mails.dpdk.org (Postfix) with ESMTP id BDEFB42E32\n for <dev@dpdk.org>; Wed, 29 Nov 2023 03:42:36 +0100 (CET)",
            "by mail-pf1-f176.google.com with SMTP id\n d2e1a72fcca58-6cc2027f7a2so3333097b3a.2\n for <dev@dpdk.org>; Tue, 28 Nov 2023 18:42:36 -0800 (PST)",
            "from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])\n by smtp.gmail.com with ESMTPSA id\n j17-20020aa78011000000b006cb95f6aa0fsm9674900pfi.150.2023.11.28.18.42.34\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 28 Nov 2023 18:42:34 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1701225755;\n x=1701830555; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=+RIkijSvF4hNTPNUihSrigAotEHCXmQgjpgfk7u1xlE=;\n b=dagRMJHaVRMpvaEkyqNvCxeMWieIiMUhix5RMHuTCqoCy4X/94pw4h4hUqo7Q0AxXr\n 0SKDR4RTI9SEG1Yl8GzReJvUu/V54Eov51gj60qZKGXXHD1Tgz2UxBycVbufR2gZq0bd\n V+c0lOr/y3/qKmwq0ovY4/muWE+Pi283C31XTq6UNHR/+f0nRItw5O0CqfFFw85ofQSK\n FXjPYFlawzsu+iLxpYBANVB9itk1BFCqvhr63hdpve8CD2+b5uATBY55Uo/sEJjSK3p3\n GKu3zpuUgfyiCpSoc5zTJ9OJDpTNZLzWDlpHZwOII33NLdgEOk8x0F1kcfMNbLptIare\n nbJA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1701225755; x=1701830555;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=+RIkijSvF4hNTPNUihSrigAotEHCXmQgjpgfk7u1xlE=;\n b=oss3b6W7t7E11lY1XtytQYze9fktgm5ucEaS8yKYLLfFXn28zba+1SgcZQO876OE7c\n uc48K9E7El1IKgXVcFY+hQeg0B2SWY2ez9CWBx3rySNEs+mb5TqHbA9CJSkoDhgGRYR5\n Djs7pbgcDotqLpeHhQ+tR5PvkWAzeH2P1jnHAAjLftKYyTctKj5xbI1ovXARwJjiQ/NG\n erS7sirUR0xb+/3aJD6iXNPRD0llmmsSV15TIP713aU+brqBUtA3v5nJZYvMtxVjOQf3\n ZSrzusOXqNIoMoeFxVdfawT870r8iCacxgxq4La+hzKuC9PbPibbCXO725oj9m7+sx19\n rZng==",
        "X-Gm-Message-State": "AOJu0YyAHw9By5c3kjhy/9m93SLAfWKydfTzWLT3+sCxOtyxD1aIgsam\n pmgtf30x8AViPshKmnkUzI8sPagpoQICzkUvC2I=",
        "X-Google-Smtp-Source": "\n AGHT+IGYmLuOsnMjLMT0lMGSaXs74Q9Eu2EdXn45PbltCwcJlR4ggjhzBC+kC0JGU7KVPUz0jD4GTg==",
        "X-Received": "by 2002:a05:6a00:813:b0:6cb:42de:24e0 with SMTP id\n m19-20020a056a00081300b006cb42de24e0mr18122595pfk.28.1701225755643;\n Tue, 28 Nov 2023 18:42:35 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>",
        "Subject": "[PATCH v5 04/10] pipeline: replace zero length array with flex array",
        "Date": "Tue, 28 Nov 2023 18:39:11 -0800",
        "Message-ID": "<20231129024221.57653-5-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.42.0",
        "In-Reply-To": "<20231129024221.57653-1-stephen@networkplumber.org>",
        "References": "<20230113215205.125767-1-stephen@networkplumber.org>\n <20231129024221.57653-1-stephen@networkplumber.org>",
        "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": "Zero length arrays are GNU extension. Replace with\nstandard flex array.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\nReviewed-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/pipeline/rte_swx_pipeline_internal.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/pipeline/rte_swx_pipeline_internal.h b/lib/pipeline/rte_swx_pipeline_internal.h\nindex a67b6e965de7..8ec12263b989 100644\n--- a/lib/pipeline/rte_swx_pipeline_internal.h\n+++ b/lib/pipeline/rte_swx_pipeline_internal.h\n@@ -213,7 +213,7 @@ TAILQ_HEAD(rss_tailq, rss);\n \n struct rss_runtime {\n \tuint32_t key_size; /* key size in bytes. */\n-\tuint8_t key[0]; /* key. */\n+\tuint8_t key[]; /* key. */\n };\n \n /*\n",
    "prefixes": [
        "v5",
        "04/10"
    ]
}