Added headings

konrad 2018-01-08 13:42:02 +00:00
parent 8319ad018a
commit 0b5f6bbba9
1 changed files with 27 additions and 0 deletions

27
API.md

@ -11,28 +11,55 @@ Routes marked with 🔒 need authentification.
# Routes Overview
### 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) |
| `/books/:id` | DELETE | [More](/API_Books#delete-booksid-) |
| `/books/:id` | POST | [More](/API_Books#post-booksid-) |
### Authors
| Route | Method | More |
| ----- | ------ | ---- |
| `/authors` | GET | [More](/API_Authors) |
| `/authors` | PUT | [More](/API_Authors) |
| `/authors/:id` | GET | [More](/API_Authors) |
| `/authors/:id` | DELETE | [More](/API_Authors) |
| `/authors/:id` | POST | [More](/API_Authors) |
### Publishers
| Route | Method | More |
| ----- | ------ | ---- |
| `/publishers` | GET | [More](API_Publishers) |
| `/publishers` | PUT | [More](API_Publishers) |
| `/publishers/:id` | GET | [More](API_Publishers) |
| `/publishers/:id` | DELETE | [More](API_Publishers) |
| `/publishers/:id` | POST | [More](API_Publishers) |
### Items
| Route | Method | More |
| ----- | ------ | ---- |
| `/items` | GET | [More](API_Items) |
| `/items` | PUT | [More](API_Items) |
| `/items/:id` | GET | [More](API_Items) |
| `/items/:id` | DELETE | [More](API_Items) |
| `/items/:id` | POST| [More](API_Items) |
### Status
| Route | Method | More |
| ----- | ------ | ---- |
| `/status` | GET | [More](API_Status) |
| `/status/:id` | GET | [More](API_Status) |