Update items.md

This commit is contained in:
Rijk van Zanten
2021-02-10 11:41:41 -05:00
committed by GitHub
parent 41240fae14
commit 9f206f9241

View File

@@ -77,7 +77,7 @@ If your collection is a singleton, this endpoint will return the item.
<div class="right">
```
GET /items
GET /items/:collection
```
```json
@@ -123,7 +123,7 @@ Returns a [item object](#the-item-object) if a valid primary key was provided.
<div class="right">
```
GET /items/:id
GET /items/:collection/:id
```
```json
@@ -169,7 +169,7 @@ Returns the [item object](#the-item-object) of the item that was created.
<div class="right">
```
POST /items
POST /items/:collection
```
```json
@@ -224,7 +224,7 @@ Returns the [item object](#the-item-object) of the item that was updated.
<div class="right">
```
PATCH /items/:id
PATCH /items/:collection/:id
```
```json
@@ -302,7 +302,7 @@ If your collection is a singleton, this endpoint will act the same as the [Updat
<div class="right">
```
PATCH /items
PATCH /items/:collection
```
```json
@@ -367,7 +367,7 @@ Empty body.
<div class="right">
```
DELETE /items/:id
DELETE /items/:collection/:id
```
```json
@@ -398,7 +398,7 @@ Empty body.
<div class="right">
```
DELETE /items
DELETE /items/:collection
```
```json