Skip to content

Kevan-Y/Spring-boot-library-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library API

Routes

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

Schema

Book{
 id : integer($int64)
 title : string
 summary : string
 library : Library
}
Libray{
 id : integer($int64)
 address : string
 books : Array <Book>
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages