Track 1 files into repository.

- modified API.md

Auto commit by GitBook Editor
kolaente 2018-01-12 16:31:25 +01:00
parent 987e54653a
commit 3ad6f96ce3

56
API.md

@ -3,11 +3,11 @@
Routes marked with 🔒 need authentification. Routes marked with 🔒 need authentification.
* [Authentication](/API-Auth) * [Authentication](/API-Auth)
* [Books](/API_Books) * [Books](/API-Books)
* [Authors](/API_Authors) * [Authors](/API-Authors)
* [Publishers](/API_Publishers) * [Publishers](/API-Publishers)
* [Items](/API_Items) * [Items](/API-Items)
* [Status](/API_Status) * [Status](/API-Status)
# Routes Overview # Routes Overview
@ -15,54 +15,54 @@ Routes marked with 🔒 need authentification.
| Route | Method | More | | Route | Method | More |
| --- | --- | --- | | --- | --- | --- |
| `/login` | POST | [More](/API_Auth#post-login) | | `/login` | POST | [More](/API-Auth#post-login) |
### Books ### Books
| Route | Method | More | | Route | Method | More |
| --- | --- | --- | | --- | --- | --- |
| `/books` | GET | [More](/API_Books#get-books) | | `/books` | GET | [More](/API-Books#get-books) |
| `/books` | PUT | [More](/API_Books#put-books-) | | `/books` | PUT | [More](/API-Books#put-books-) |
| `/books/:id` | GET | [More](/API_Books#get-booksid) | | `/books/:id` | GET | [More](/API-Books#get-booksid) |
| `/books/:id` | DELETE | [More](/API_Books#delete-booksid-) | | `/books/:id` | DELETE | [More](/API-Books#delete-booksid-) |
| `/books/:id` | POST | [More](/API_Books#post-booksid-) | | `/books/:id` | POST | [More](/API-Books#post-booksid-) |
### Authors ### Authors
| Route | Method | More | | Route | Method | More |
| --- | --- | --- | | --- | --- | --- |
| `/authors` | GET | [More](/API_Authors) | | `/authors` | GET | [More](/API-Authors) |
| `/authors` | PUT | [More](/API_Authors) | | `/authors` | PUT | [More](/API-Authors) |
| `/authors/:id` | GET | [More](/API_Authors) | | `/authors/:id` | GET | [More](/API-Authors) |
| `/authors/:id` | DELETE | [More](/API_Authors) | | `/authors/:id` | DELETE | [More](/API-Authors) |
| `/authors/:id` | POST | [More](/API_Authors) | | `/authors/:id` | POST | [More](/API-Authors) |
### Publishers ### Publishers
| Route | Method | More | | Route | Method | More |
| --- | --- | --- | | --- | --- | --- |
| `/publishers` | GET | [More](API_Publishers) | | `/publishers` | GET | [More](API-Publishers) |
| `/publishers` | PUT | [More](API_Publishers) | | `/publishers` | PUT | [More](API-Publishers) |
| `/publishers/:id` | GET | [More](API_Publishers) | | `/publishers/:id` | GET | [More](API-Publishers) |
| `/publishers/:id` | DELETE | [More](API_Publishers) | | `/publishers/:id` | DELETE | [More](API-Publishers) |
| `/publishers/:id` | POST | [More](API_Publishers) | | `/publishers/:id` | POST | [More](API-Publishers) |
### Items ### Items
| Route | Method | More | | Route | Method | More |
| --- | --- | --- | | --- | --- | --- |
| `/items` | GET | [More](API_Items) | | `/items` | GET | [More](API-Items) |
| `/items` | PUT | [More](API_Items) | | `/items` | PUT | [More](API-Items) |
| `/items/:id` | GET | [More](API_Items) | | `/items/:id` | GET | [More](API-Items) |
| `/items/:id` | DELETE | [More](API_Items) | | `/items/:id` | DELETE | [More](API-Items) |
| `/items/:id` | POST | [More](API_Items) | | `/items/:id` | POST | [More](API-Items) |
### Status ### Status
| Route | Method | More | | Route | Method | More |
| --- | --- | --- | | --- | --- | --- |
| `/status` | GET | [More](API_Status) | | `/status` | GET | [More](API-Status) |
| `/status/:id` | GET | [More](API_Status) | | `/status/:id` | GET | [More](API-Status) |