GET /api/v1/library/{libraryId}
PUT /api/v1/library/{libraryId}
Request Body:
{
"address": "string",
}
DELETE /api/v1/library/{libraryId}
GET /api/v1/library
POST /api/v1/library
Request Body:
{
"address": "string",
}
POST /api/v1/library/{libraryId}/book
Request Body:
{
"title": "string",
"summary": "string"
}
GET /api/v1/book/{bookId}
PUT /api/v1/book/{bookId}
Request Body:
{
"title": "string",
"summary": "string"
}
DELETE /api/v1/book/{bookId}
GET /api/v1/book
Optional query: title
Book{
id : integer($int64)
title : string
summary : string
library : Library
}
Libray{
id : integer($int64)
address : string
books : Array <Book>
}