get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1839932,
    "url": "http://patchwork.ozlabs.org/api/patches/1839932/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20230926195622.31984-1-phil@nwl.cc/",
    "project": {
        "id": 26,
        "url": "http://patchwork.ozlabs.org/api/projects/26/?format=api",
        "name": "Netfilter Development",
        "link_name": "netfilter-devel",
        "list_id": "netfilter-devel.vger.kernel.org",
        "list_email": "netfilter-devel@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20230926195622.31984-1-phil@nwl.cc>",
    "list_archive_url": null,
    "date": "2023-09-26T19:56:22",
    "name": "[nft] tests: shell: features: Fix table owner flag check",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "141e9bbcdacd1903ff62c29897e8fac6bd0c9311",
    "submitter": {
        "id": 4285,
        "url": "http://patchwork.ozlabs.org/api/people/4285/?format=api",
        "name": "Phil Sutter",
        "email": "phil@nwl.cc"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20230926195622.31984-1-phil@nwl.cc/mbox/",
    "series": [
        {
            "id": 374998,
            "url": "http://patchwork.ozlabs.org/api/series/374998/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=374998",
            "date": "2023-09-26T19:56:22",
            "name": "[nft] tests: shell: features: Fix table owner flag check",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/374998/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1839932/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1839932/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netfilter-devel-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=nwl.cc header.i=@nwl.cc header.a=rsa-sha256\n header.s=mail2022 header.b=OK4KXs9y;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2620:137:e000::1:20; helo=out1.vger.email;\n envelope-from=netfilter-devel-owner@vger.kernel.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20])\n\tby legolas.ozlabs.org (Postfix) with ESMTP id 4Rw9VW1s5tz1yp0\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 27 Sep 2023 05:56:35 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n        id S235753AbjIZT4h (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n        Tue, 26 Sep 2023 15:56:37 -0400",
            "from lindbergh.monkeyblade.net ([23.128.96.19]:55970 \"EHLO\n        lindbergh.monkeyblade.net\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n        with ESMTP id S229817AbjIZT4g (ORCPT\n        <rfc822;netfilter-devel@vger.kernel.org>);\n        Tue, 26 Sep 2023 15:56:36 -0400",
            "from orbyte.nwl.cc (orbyte.nwl.cc [IPv6:2001:41d0:e:133a::1])\n        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D23F136\n        for <netfilter-devel@vger.kernel.org>;\n Tue, 26 Sep 2023 12:56:28 -0700 (PDT)",
            "from localhost ([::1] helo=xic)\n        by orbyte.nwl.cc with esmtp (Exim 4.94.2)\n        (envelope-from <phil@nwl.cc>)\n        id 1qlEAU-00073U-D7; Tue, 26 Sep 2023 21:56:26 +0200"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nwl.cc;\n        s=mail2022;\n h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:\n        Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:\n        Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n        In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n        List-Post:List-Owner:List-Archive;\n        bh=M9oMYZKYcpe56BvwoDGMVu+S94n6PqNi8EjbOF8Ihqc=;\n b=OK4KXs9yGZK85iRSItF/Zx58pk\n        DpybMfgMxq0M/71v5tdLIuB5q9DLrFQo6BECJYeCMwa5Xzmpz85rj153pekswjMhJZaFCMMwfrFOa\n        93kTjC+V8lfOQm840hsNO2D6VOI72IAdaX1Sgp83OdKR00xV0iGehf36W0xlsFoIYB10u4CJjJo9Q\n        J2hVR0+I3/bm2/yvQ2Vk+6YKz/MsL4Y/WFCQDWAQrXG/5vaMnnCL49wmv8/rAIFrBWvQyxM/Xjfav\n        cfRvsjgXGQ6MVjJW+24zEUKcuULKwjYYkTJNoCuqbxIgZmoOJzvjMlvSZuKh4UvYKYQHcdlMKL/Yb\n        xrVQGEKg==;",
        "From": "Phil Sutter <phil@nwl.cc>",
        "To": "Pablo Neira Ayuso <pablo@netfilter.org>",
        "Cc": "Florian Westphal <fw@strlen.de>, netfilter-devel@vger.kernel.org",
        "Subject": "[nft PATCH] tests: shell: features: Fix table owner flag check",
        "Date": "Tue, 26 Sep 2023 21:56:22 +0200",
        "Message-ID": "<20230926195622.31984-1-phil@nwl.cc>",
        "X-Mailer": "git-send-email 2.41.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n        DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n        SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6",
        "X-Spam-Checker-Version": "SpamAssassin 3.4.6 (2021-04-09) on\n        lindbergh.monkeyblade.net",
        "Precedence": "bulk",
        "List-ID": "<netfilter-devel.vger.kernel.org>",
        "X-Mailing-List": "netfilter-devel@vger.kernel.org"
    },
    "content": "The keyword is \"flags\", not \"flag\". Resulted in a false-negative:\n\nfeatures/table_flag_owner.nft:4:2-5: Error: syntax error, unexpected string\n\tflag owner;\n\t^^^^\n\nFixes: 10373f0936cd3 (\"tests: shell: skip flowtable-uaf if we lack table owner support\")\nSigned-off-by: Phil Sutter <phil@nwl.cc>\n---\n tests/shell/features/table_flag_owner.nft | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/tests/shell/features/table_flag_owner.nft b/tests/shell/features/table_flag_owner.nft\nindex 6e6f608a7e940..aef122a0724bf 100644\n--- a/tests/shell/features/table_flag_owner.nft\n+++ b/tests/shell/features/table_flag_owner.nft\n@@ -1,5 +1,5 @@\n # 6001a930ce03 (\"netfilter: nftables: introduce table ownership\")\n # v5.12-rc1~200^2~6^2\n table t {\n-\tflag owner;\n+\tflags owner;\n }\n",
    "prefixes": [
        "nft"
    ]
}