Updates API.md

Auto commit by GitBook Editor
kolaente 2018-01-12 16:29:10 +01:00
parent ecf48f96c9
commit 987e54653a
7 changed files with 68 additions and 65 deletions

17
API.md

@ -2,7 +2,7 @@
Routes marked with 🔒 need authentification.
* [Authentication](/API_Auth)
* [Authentication](/API-Auth)
* [Books](/API_Books)
* [Authors](/API_Authors)
* [Publishers](/API_Publishers)
@ -14,13 +14,13 @@ Routes marked with 🔒 need authentification.
### Auth
| Route | Method | More |
| ----- | ------ | ---- |
| --- | --- | --- |
| `/login` | POST | [More](/API_Auth#post-login) |
### Books
| Route | Method | More |
| ----- | ------ | ---- |
| --- | --- | --- |
| `/books` | GET | [More](/API_Books#get-books) |
| `/books` | PUT | [More](/API_Books#put-books-) |
| `/books/:id` | GET | [More](/API_Books#get-booksid) |
@ -30,7 +30,7 @@ Routes marked with 🔒 need authentification.
### Authors
| Route | Method | More |
| ----- | ------ | ---- |
| --- | --- | --- |
| `/authors` | GET | [More](/API_Authors) |
| `/authors` | PUT | [More](/API_Authors) |
| `/authors/:id` | GET | [More](/API_Authors) |
@ -40,7 +40,7 @@ Routes marked with 🔒 need authentification.
### Publishers
| Route | Method | More |
| ----- | ------ | ---- |
| --- | --- | --- |
| `/publishers` | GET | [More](API_Publishers) |
| `/publishers` | PUT | [More](API_Publishers) |
| `/publishers/:id` | GET | [More](API_Publishers) |
@ -50,7 +50,7 @@ Routes marked with 🔒 need authentification.
### Items
| Route | Method | More |
| ----- | ------ | ---- |
| --- | --- | --- |
| `/items` | GET | [More](API_Items) |
| `/items` | PUT | [More](API_Items) |
| `/items/:id` | GET | [More](API_Items) |
@ -60,6 +60,9 @@ Routes marked with 🔒 need authentification.
### Status
| Route | Method | More |
| ----- | ------ | ---- |
| --- | --- | --- |
| `/status` | GET | [More](API_Status) |
| `/status/:id` | GET | [More](API_Status) |