e-BookMobile API version v1
http://localhost:8081
/rmbtests
get
put
post
get /rmbtests/books
Query Parameters
- author: required(string)
An author's full name
Example:
Mary Roach
- publicationDate: required(date-only)
The date released for the first time in the US
Example:
1984-07-10
- score: (number - default: 0)
Score
Example:
1
- rating: (number)
Average rating (1-5) submitted by users
Example:
3.14
- edition: (integer)
Example:
2
- isbn: required(string)
Example:
0321736079?
- available: (boolean - default: true)
Example:
false
- facets: (array of )
facets to return in the collection result set, can be suffixed by a count of facet values to return, for example, patronGroup:10 default to top 5 facet values
HTTP status code 200
Body
Media type: application/json
Example:
{
"data": {
"id": "SbBGk",
"title": "Stiff: The Curious Lives of Human Cadavers",
"description": "aaaaaa",
"genre": "science",
"author": "Mary Roach",
"link": "http://e-bookmobile.com/books/Stiff"
},
"success": true,
"status": 200,
"metadata": {
"createdDate": "2017-04-01T23:11:00.000Z",
"createdByUserId": "dee12548-9cee-45fa-bbae-675c1cc0ce3b"
}
}
put /rmbtests/books
Query Parameters
- access_token: required(number)
Token giving you permission to make call
post /rmbtests/books
Body
Media type: application/json
HTTP status code 201
Headers
- Location: required(string)
Body
Media type: application/json
Type: any
Example:
{
"data": {
"title": "ABCDEFGHIJKLMNOPQ",
"description": "string",
"genre": "ABCDEFGHIJKLMNOPQRSTUVWXYZAB",
"author": "ABCDE",
"link": "ABCDEFGHIJ",
"id": "ABCDEFGH",
"datetime": {
"$date": "ABCD"
}
},
"success": false,
"status": 165,
"id": "ABCDEFGHIJKLMNOPQRSTUVWX",
"image": "ABCDEFGHIJKLMNOPQRSTUVWX"
}
post
get
options
Preflight CORS for /rmbtests/test
post /rmbtests/test
get /rmbtests/test
post