Created genre table and added links and endpoints for it.

This commit is contained in:
2025-06-25 14:50:28 +03:00
parent 83dbb1824e
commit 9604771439
9 changed files with 158 additions and 19 deletions

View File

@@ -74,11 +74,11 @@ For run tests:
| GET | `/books/{id}/authors` | Retrieve a list of authors for a specific book |
**Relationships**
| Method | Endpoint | Description |
|--------|-----------------------|------------------------------------------------|
| GET | `/relationships` | Retrieve a list of all relationships |
| POST | `/relationships` | Add author-book relationship |
| DELETE | `/relationships` | Remove author-book relationship |
| Method | Endpoint | Description |
|--------|------------------------------|-----------------------------------------|
| GET | `/relationships/author-book` | Retrieve a list of all relationships |
| POST | `/relationships/author-book` | Add author-book relationship |
| DELETE | `/relationships/author-book` | Remove author-book relationship |
### **Technologies Used**