get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1132174,
    "url": "http://patchwork.ozlabs.org/api/patches/1132174/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190715182110.21336-15-jagan@amarulasolutions.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20190715182110.21336-15-jagan@amarulasolutions.com>",
    "list_archive_url": null,
    "date": "2019-07-15T18:21:09",
    "name": "[U-Boot,v3,14/15] arm: include: rockchip: Add DDR4 enum",
    "commit_ref": "7757d1102f292a177937267badae7f146045d9c3",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "4f8813d3b18a89e03d931f94d37c875df3101c4b",
    "submitter": {
        "id": 69820,
        "url": "http://patchwork.ozlabs.org/api/people/69820/?format=api",
        "name": "Jagan Teki",
        "email": "jagan@amarulasolutions.com"
    },
    "delegate": {
        "id": 93623,
        "url": "http://patchwork.ozlabs.org/api/users/93623/?format=api",
        "username": "kevery",
        "first_name": "Kever",
        "last_name": "Yang",
        "email": "ykai007@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190715182110.21336-15-jagan@amarulasolutions.com/mbox/",
    "series": [
        {
            "id": 119571,
            "url": "http://patchwork.ozlabs.org/api/series/119571/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=119571",
            "date": "2019-07-15T18:20:55",
            "name": "ram: rk3399: Code cleanup",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/119571/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1132174/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1132174/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=amarulasolutions.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=amarulasolutions.com\n\theader.i=@amarulasolutions.com header.b=\"hRAkPB+7\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45nX8C2Zl0z9s3l\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 16 Jul 2019 04:27:55 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 116D1C21FB1; Mon, 15 Jul 2019 18:25:16 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 17D5CC21FAA;\n\tMon, 15 Jul 2019 18:24:22 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 25D45C21F2F; Mon, 15 Jul 2019 18:22:18 +0000 (UTC)",
            "from mail-pl1-f194.google.com (mail-pl1-f194.google.com\n\t[209.85.214.194])\n\tby lists.denx.de (Postfix) with ESMTPS id B0DFAC21FC1\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 18:22:10 +0000 (UTC)",
            "by mail-pl1-f194.google.com with SMTP id w24so8717634plp.2\n\tfor <u-boot@lists.denx.de>; Mon, 15 Jul 2019 11:22:10 -0700 (PDT)",
            "from localhost.localdomain ([49.206.201.107])\n\tby smtp.gmail.com with ESMTPSA id\n\tl15sm18152405pgf.5.2019.07.15.11.22.05\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 15 Jul 2019 11:22:08 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3,\n\tRCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=amarulasolutions.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=5Fw++nmbb4WyxKfVf62oDVeir0dauMI5LkgU071iwqA=;\n\tb=hRAkPB+7Sqs9J9KofI4ju70rSkmC1iexzOO3WOVyip/Zf5KOdE004b4FswlRCS0ptV\n\tI1+EyC6aNtDvIqzf+WDONOlITcfC9gZ/fYf99ypZ1rDzNb01eBQ3oWpthQgypIo16ZoL\n\tfSty855R5oWcUC+0FzugKJPdXj/6FIftfFS34=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=5Fw++nmbb4WyxKfVf62oDVeir0dauMI5LkgU071iwqA=;\n\tb=TiiD2rXeTIBAZHjERJAmHpJdlfVimf9JxtiCTQ/+dSNdmisxX+aZV1PFsgYRtAgcmv\n\tTyI4ZO8d3azQ81uBzPf7tC1kgX5FFtfqjm5rAPbRr/smM1dJC5hG0qt//wF+BDHjHbJv\n\tl97G1ydBf2FX7oENp1yWFrp53CWznjVgNBn0c2UwfDJDbdBJAR1keRqA3Bj0fmHTpZwt\n\trXTeN9nhESgE/T/T4M55a4lPedLn27G2Pp8+SpZcmZ4AnuBLuWxsS0BqstmcYLut/urB\n\tt46kfsvHOO/wvNEHex3gIY2UgDPlLnTbEF7Ok7l7j0723oIZ6at4bPFFUTlGXpZ4xCAa\n\t/8xQ==",
        "X-Gm-Message-State": "APjAAAULR7Wv6qH9C0OYfPx10JwiuJJlfzIXpZ2lhDcLDJ/mzc/A40Ot\n\t+7H3NK7kOfVm3jSReROp6nreOA==",
        "X-Google-Smtp-Source": "APXvYqyRdWGJOy1/QIXYRsENuyXaN1xFKZFsvQ3S9K+597dEPSHN8WPU3FrCae081WQun9W+xEzOTQ==",
        "X-Received": "by 2002:a17:902:1101:: with SMTP id\n\td1mr30136700pla.212.1563214929026; \n\tMon, 15 Jul 2019 11:22:09 -0700 (PDT)",
        "From": "Jagan Teki <jagan@amarulasolutions.com>",
        "To": "Simon Glass <sjg@chromium.org>,\n\tPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>,\n\tKever Yang <kever.yang@rock-chips.com>,\n\tYouMin Chen <cym@rock-chips.com>, u-boot@lists.denx.de",
        "Date": "Mon, 15 Jul 2019 23:51:09 +0530",
        "Message-Id": "<20190715182110.21336-15-jagan@amarulasolutions.com>",
        "X-Mailer": "git-send-email 2.18.0.321.gffc6fa0e3",
        "In-Reply-To": "<20190715182110.21336-1-jagan@amarulasolutions.com>",
        "References": "<20190715182110.21336-1-jagan@amarulasolutions.com>",
        "MIME-Version": "1.0",
        "Cc": "linux-rockchip@lists.infradead.org, gajjar04akash@gmail.com,\n\tlinux-amarula@amarulasolutions.com,\n\tManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>",
        "Subject": "[U-Boot] [PATCH v3 14/15] arm: include: rockchip: Add DDR4 enum",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "Add DDR4 enum number in common header.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\nSigned-off-by: YouMin Chen <cym@rock-chips.com>\n---\n arch/arm/include/asm/arch-rockchip/sdram_common.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/arch/arm/include/asm/arch-rockchip/sdram_common.h b/arch/arm/include/asm/arch-rockchip/sdram_common.h\nindex 55abcdae77..7ac25af327 100644\n--- a/arch/arm/include/asm/arch-rockchip/sdram_common.h\n+++ b/arch/arm/include/asm/arch-rockchip/sdram_common.h\n@@ -7,6 +7,7 @@\n #define _ASM_ARCH_SDRAM_COMMON_H\n \n enum {\n+\tDDR4 = 0,\n \tDDR3 = 0x3,\n \tLPDDR2 = 0x5,\n \tLPDDR3 = 0x6,\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "14/15"
    ]
}