Updates API.md
Auto commit by GitBook Editor
parent
ecf48f96c9
commit
987e54653a
19
API.md
19
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,16 +50,19 @@ 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) |
|
||||
| `/items/:id` | DELETE | [More](API_Items) |
|
||||
| `/items/:id` | POST| [More](API_Items) |
|
||||
| `/items/:id` | POST | [More](API_Items) |
|
||||
|
||||
### Status
|
||||
|
||||
| Route | Method | More |
|
||||
| ----- | ------ | ---- |
|
||||
| --- | --- | --- |
|
||||
| `/status` | GET | [More](API_Status) |
|
||||
| `/status/:id` | GET | [More](API_Status) |
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user