get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 104848,
    "url": "http://patchwork.dpdk.org/api/patches/104848/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20211203075415.4083502-2-christian.ehrhardt@canonical.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": "<20211203075415.4083502-2-christian.ehrhardt@canonical.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211203075415.4083502-2-christian.ehrhardt@canonical.com",
    "date": "2021-12-03T07:54:15",
    "name": "[v2,2/2] devtools: report commit id on partial fixes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9398ac328d08f539638fcb9fd58fd6fccfdeff32",
    "submitter": {
        "id": 382,
        "url": "http://patchwork.dpdk.org/api/people/382/?format=api",
        "name": "Christian Ehrhardt",
        "email": "christian.ehrhardt@canonical.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/20211203075415.4083502-2-christian.ehrhardt@canonical.com/mbox/",
    "series": [
        {
            "id": 20846,
            "url": "http://patchwork.dpdk.org/api/series/20846/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20846",
            "date": "2021-12-03T07:54:14",
            "name": "[v2,1/2] devtools: don't include headline \"fix\" in backports",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/20846/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/104848/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/104848/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 08CACA0548;\n\tFri,  3 Dec 2021 08:54:26 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B21CC42701;\n\tFri,  3 Dec 2021 08:54:22 +0100 (CET)",
            "from smtp-relay-internal-1.canonical.com\n (smtp-relay-internal-1.canonical.com [185.125.188.123])\n by mails.dpdk.org (Postfix) with ESMTP id 1FEAE406FF\n for <dev@dpdk.org>; Fri,  3 Dec 2021 08:54:21 +0100 (CET)",
            "from mail-ed1-f69.google.com (mail-ed1-f69.google.com\n [209.85.208.69])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id F04EB3F1F8\n for <dev@dpdk.org>; Fri,  3 Dec 2021 07:54:20 +0000 (UTC)",
            "by mail-ed1-f69.google.com with SMTP id\n c1-20020aa7c741000000b003e7bf1da4bcso1787978eds.21\n for <dev@dpdk.org>; Thu, 02 Dec 2021 23:54:20 -0800 (PST)",
            "from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad])\n by smtp.gmail.com with ESMTPSA id gt18sm1430632ejc.46.2021.12.02.23.54.18\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 02 Dec 2021 23:54:19 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20210705; t=1638518060;\n bh=bHGHQCQ7vyUumUAa0N8dTIcMvGwLtsTurdnmisV49KA=;\n h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n MIME-Version;\n b=TFE9mCinBhyVKA3azBtD5BJvePQcz75awSKWNA+UsehXOKmPeNC0awwKWGrr3BeCC\n fnI2LwqaKFQSq0BiUN8fI77Ow2WXtCu09usV+kyqFUzUucaPiUMe+0Tz6EwS3MbFXA\n raz3EKKgREt4iih15QkgNF0IMttYx1Uj4oQYs0SjqDW43dGcKPhjr3Rv9bkC0McwhL\n 3KWWRTDL5sdJyGBUGSSW4zb1KavrA0pc3sgybEBxIId6C1zCXTkAkCsLa8yDtWVo2w\n XuF5tqxTk5aAVSnK0gmqVtr6mWdyHUyTGTZnL4FF2akI6rOq1yCVJX0aAapFzZHMmJ\n ejF4FPNaDmeOg==",
        "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:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=bHGHQCQ7vyUumUAa0N8dTIcMvGwLtsTurdnmisV49KA=;\n b=x4QZwnGgMMTl4Oqm3mZ2r+GjKOspXOdVhkccECZfneYYKZKlneWg9zzqjerb6mygg9\n IfPYnvmOFfA6Q+dNdgAJWKqUdMJj3WH6V1uk+erTU0CAphXwAB4ZdEzf8PMiYN338E/3\n PPU1lCc5HB9sHCX3Z6kLOjlVUJhD9Wt2GQ6wzotNrBj7JiX++ZjiroQkuSVVkzstotiN\n AqihMcBuwphognD7kDIsIbfWimRHtcRpIy39qgQQbkjOgURLu4LhmjTSxFeV5SEECYkJ\n xT2M+zV3JvY26X8Kgfia2g/vMWg2n6Pjx1WByzwAaaIYRYIuU2XMXhzAGCIHfG6joa+3\n t1Vw==",
        "X-Gm-Message-State": "AOAM531GLoXLpXAiMpch1MBmZpI83ftCw8KLzBW3Ja9UewyCyODAUrgz\n A59/zeiJnnHdCkB+76SppdkO66QdOQTqCZvR2PYA73QJAPHjHFUXCoj/gOzSUNOWzUpM20UJWM8\n XpkDMYNzqCPmEFKtb379m",
        "X-Received": [
            "by 2002:a17:906:5653:: with SMTP id\n v19mr21420614ejr.360.1638518059939;\n Thu, 02 Dec 2021 23:54:19 -0800 (PST)",
            "by 2002:a17:906:5653:: with SMTP id\n v19mr21420591ejr.360.1638518059798;\n Thu, 02 Dec 2021 23:54:19 -0800 (PST)"
        ],
        "X-Google-Smtp-Source": "\n ABdhPJz7SOv0qvR61WDIrCKEdb95CqVtjFwzPQs8XqcgUYa+JeeX/Y+X8RR0BpVG04eUUaZO4X+izg==",
        "From": "christian.ehrhardt@canonical.com",
        "To": "dev <dev@dpdk.org>, Thomas Monjalon <thomas@monjalon.net>,\n Luca Boccassi <bluca@debian.org>, Xueming Li <xuemingl@nvidia.com>,\n David Marchand <david.marchand@redhat.com>,\n Kevin Traynor <ktraynor@redhat.com>,\n Maxime Coquelin <maxime.coquelin@redhat.com>",
        "Cc": "Christian Ehrhardt <christian.ehrhardt@canonical.com>",
        "Subject": "[PATCH v2 2/2] devtools: report commit id on partial fixes",
        "Date": "Fri,  3 Dec 2021 08:54:15 +0100",
        "Message-Id": "<20211203075415.4083502-2-christian.ehrhardt@canonical.com>",
        "X-Mailer": "git-send-email 2.34.0",
        "In-Reply-To": "<20211203075415.4083502-1-christian.ehrhardt@canonical.com>",
        "References": "<20211203075415.4083502-1-christian.ehrhardt@canonical.com>",
        "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": "From: Christian Ehrhardt <christian.ehrhardt@canonical.com>\n\nThe candidate list for backports lists partial fixes like:\n \"(21.02 (partially fixed in 21.08))\"\nThat is useful to identify fixes menat for later releases, but\nindirectly applying to older ones as well.\n\nWhile the devscript has no access to the stable tree to fully check\nif the respective interim commit is present there, reporting the commit\nid will still help to check it later - because only if the interim commit\nid is in the stable tree, then also the new fix is a real candidate\nfor backporting.\n\nThe above would become \"(21.02 (partially fixed in c30751afc360 @ 21.08))\"\n\nSigned-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>\n---\n devtools/git-log-fixes.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/devtools/git-log-fixes.sh b/devtools/git-log-fixes.sh\nindex 27ec9088d4..a1b548948a 100755\n--- a/devtools/git-log-fixes.sh\n+++ b/devtools/git-log-fixes.sh\n@@ -76,7 +76,7 @@ origin_version () # <origin_hash> ...\n \t\t\t# look chained fix of fix recursively\n \t\t\tlocal rootver=\"$(origin_version $roothashes)\"\n \t\t\t[ -n \"$rootver\" ] || continue\n-\t\t\techo \"$rootver (partially fixed in $origver)\"\n+\t\t\techo \"$rootver (partially fixed in $origin @ $origver)\"\n \t\telse\n \t\t\techo \"$origver\"\n \t\tfi\n",
    "prefixes": [
        "v2",
        "2/2"
    ]
}