GET /book/
Parameter | Type | Description |
---|---|---|
nil |
nil |
nil |
POST /book/
Body to be sent in raw JSON format
Parameter | Type | Description |
---|---|---|
Name |
string |
Required. Name of book to be stored |
Author |
string |
Required. Author of book to be stored |
Publication |
string |
Required. Publication of book to be stored |
GET /book/${bookId}/
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
PUT /book/${bookId}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to Update |
Body to be sent in raw JSON format
Parameter | Type | Description |
---|---|---|
Name |
string |
Required. Name of book to be stored |
Author |
string |
Required. Author of book to be stored |
Publication |
string |
Required. Publication of book to be stored |
DELETE /book/${bookId}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to delete |