get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139724,
    "url": "http://patchwork.dpdk.org/api/patches/139724/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240429130414.1049310-1-aomeryamac@gmail.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": "<20240429130414.1049310-1-aomeryamac@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240429130414.1049310-1-aomeryamac@gmail.com",
    "date": "2024-04-29T13:04:14",
    "name": "devtools: add .clang-format file",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "76574ded543ace9b43f8ee8b18c3230ff8dc2c41",
    "submitter": {
        "id": 3080,
        "url": "http://patchwork.dpdk.org/api/people/3080/?format=api",
        "name": "Abdullah Ömer Yamaç",
        "email": "aomeryamac@gmail.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/20240429130414.1049310-1-aomeryamac@gmail.com/mbox/",
    "series": [
        {
            "id": 31839,
            "url": "http://patchwork.dpdk.org/api/series/31839/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31839",
            "date": "2024-04-29T13:04:14",
            "name": "devtools: add .clang-format file",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/31839/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/139724/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/139724/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 6CC3743F47;\n\tMon, 29 Apr 2024 15:04:21 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DB9C94025C;\n\tMon, 29 Apr 2024 15:04:20 +0200 (CEST)",
            "from mail-wr1-f44.google.com (mail-wr1-f44.google.com\n [209.85.221.44]) by mails.dpdk.org (Postfix) with ESMTP id 791F3400D6\n for <dev@dpdk.org>; Mon, 29 Apr 2024 15:04:19 +0200 (CEST)",
            "by mail-wr1-f44.google.com with SMTP id\n ffacd0b85a97d-34cc606b1b1so1519416f8f.3\n for <dev@dpdk.org>; Mon, 29 Apr 2024 06:04:19 -0700 (PDT)",
            "from dcu.otaknetworks.com ([212.156.37.190])\n by smtp.gmail.com with ESMTPSA id\n b8-20020adfe308000000b003436a3cae6dsm29450289wrj.98.2024.04.29.06.04.17\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 29 Apr 2024 06:04:17 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1714395859; x=1715000659; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=yDwHF8jmYBIyUWGAJ92JDkdEQyJGk+kY9Th09eqOkuw=;\n b=E664w9xtnAIcZ4o/ad5esaCW7jp/RtcdC5jzZgVMt1on938Y8RiOxFREqm34AHVVNG\n J3o9U+y0BOupLobeu0tMtUOQiH6kwKicQMEqQnQI5/V6L0FDhRFE3KO1vHTSWb6PF+Cu\n JgcDQFehnkcHR1gVgGYU5yEajxqK3HOyq8wQLFp0nxprMCT9y9aBQkx6aeFShvxR9Egb\n y8xzXAy1wTpOGt1Brhf8hIg7kDA/opFN0rAG0DWIIF7hCLPpkURyJyVMuBxemR3T13h7\n ubXXqZ2//oRh+lZxGHgf8amkqYJquA6+7azeRRybaka5TcDz30sEvJFtpccNEytUJA3P\n rT5A==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1714395859; x=1715000659;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=yDwHF8jmYBIyUWGAJ92JDkdEQyJGk+kY9Th09eqOkuw=;\n b=epx3nZBfooQKYYVNq95r8dxXsdVtNZC59qUjpF5Gep+1v7NT0NKuXOgBCZYAiCa2BU\n /L6XUXTTGSYJZRw7L9AJABHTkJjoEl+Rh7C3zPIDx/EBRsEtLB2ah+8fWzDvCyF9I+fS\n upy0hbB4p2yliLDdNR4EwBVgk4/9Mhpk6dw+ppgRHOST4bTbMkKwv0tPPfLP2xMPKf0b\n WsoNyp+j6TIZcAE6U8XxzlBl16Yi97oVRlH90J0JyXXIxI7GfaShMXgAYpO8XN/E2x0J\n TGbv40kTDHIwgnyucA1Wc6P2udC7iMQXp+OdkuUMAvJPUCbPKjO34oN7NnV1LEwLApQB\n SYJg==",
        "X-Gm-Message-State": "AOJu0YxeRHGIhN6HD7ETYpm9o+UNNIOhtpMkPagb83oAGv5lZvpgKvof\n xNYgLRsPuXJIs5QRZplAHZLq8a1h9B3KMCWTYuKMFicKu2AGUdR2m+5pcBPG",
        "X-Google-Smtp-Source": "\n AGHT+IHHqL3giiQMCkWiGB5zIIIWKnIhEMOnN7XfFmqL0u8oJKrA5sAttuEt4pz2KD8ot6Hcg7mNEQ==",
        "X-Received": "by 2002:a5d:4390:0:b0:34d:17f2:956d with SMTP id\n i16-20020a5d4390000000b0034d17f2956dmr2137898wrq.66.1714395858109;\n Mon, 29 Apr 2024 06:04:18 -0700 (PDT)",
        "From": "=?utf-8?b?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= <aomeryamac@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, ferruh.yigit@amd.com, =?utf-8?b?QWJkdWxsYWggw5Zt?=\n\t=?utf-8?b?ZXIgWWFtYcOn?= <aomeryamac@gmail.com>",
        "Subject": "[PATCH] devtools: add .clang-format file",
        "Date": "Mon, 29 Apr 2024 13:04:14 +0000",
        "Message-Id": "<20240429130414.1049310-1-aomeryamac@gmail.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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": "clang-format is a tool to format C/C++/Objective-C code. It can be used\nto reformat code to match a given coding style, or to ensure that code\nadheres to a specific coding style. It helps to maintain a consistent\ncoding style across the DPDK codebase.\n\n.clang-format file overrides the default style options provided by\nclang-format and large set of IDEs and text editors support it.\n\nSigned-off-by: Abdullah Ömer Yamaç <aomeryamac@gmail.com>\n---\n .clang-format | 30 ++++++++++++++++++++++++++++++\n 1 file changed, 30 insertions(+)\n create mode 100644 .clang-format",
    "diff": "diff --git a/.clang-format b/.clang-format\nnew file mode 100644\nindex 0000000000..8ac10c0c09\n--- /dev/null\n+++ b/.clang-format\n@@ -0,0 +1,30 @@\n+---\n+# Place opening and closing parentheses on the same line for control statements\n+BreakBeforeBraces: Custom\n+BraceWrapping:\n+        AfterFunction: true\n+        AfterControlStatement: false\n+\n+# Set maximum line length to 100 characters\n+ColumnLimit: 100\n+\n+# Use LF (line feed) as the end-of-line character\n+EndOfLine: lf\n+\n+# Specify style options for the entire file\n+File:\n+        # Insert a final newline character at the end of the file\n+        EndOfFile: true\n+\n+IndentWidth: 8\n+\n+# Set tab width to 8 spaces\n+TabWidth: 8\n+\n+# Use tabs for indentation\n+UseTab: Always\n+\n+# Specify whitespace-related style options\n+Whitespace:\n+        # Trim trailing whitespace at the end of each line\n+        TrimTrailingWhitespace: true\n",
    "prefixes": []
}