From 0b5f6bbba9c25a89ef62325008803bbd67f829f3 Mon Sep 17 00:00:00 2001 From: konrad Date: Mon, 8 Jan 2018 13:42:02 +0000 Subject: [PATCH] Added headings --- API.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/API.md b/API.md index 8307d35..ed5030d 100644 --- a/API.md +++ b/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) | \ No newline at end of file