Update syntax highlighting types (js -> jsonc)

This commit is contained in:
Lukas Schulte Pelkum 2021-07-22 21:27:04 +02:00
parent b8281b9f94
commit daa66e439c
No known key found for this signature in database
GPG Key ID: 408DA7CA81DB885C
1 changed files with 3 additions and 3 deletions

6
API.md
View File

@ -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
}