From daa66e439c0fc3fdec71187b2aad8b715edb1915 Mon Sep 17 00:00:00 2001 From: Lukas Schulte Pelkum Date: Thu, 22 Jul 2021 21:27:04 +0200 Subject: [PATCH] Update syntax highlighting types (js -> jsonc) --- API.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/API.md b/API.md index e745116..fa3e62a 100644 --- a/API.md +++ b/API.md @@ -91,7 +91,7 @@ POST /api/v2/pastes ``` **Request:** -```js +```jsonc { "content": "paste_content", // Required "metadata": {} // Optional @@ -119,7 +119,7 @@ PATCH /api/v2/pastes/{paste_id} ``` **Request:** -```js +```jsonc { "content": "new_paste_content", // Optional "metadata": {} // Optional @@ -171,7 +171,7 @@ POST /api/v2/pastes/{paste_id}/report ``` **Response:** -```js +```jsonc { "message": "message" // An optional message to display to the reporting user }