-
Notifications
You must be signed in to change notification settings - Fork 0
Server Notes
In order for this application to properly function there are a few expectation it has about the format/structure of the data that it receives in responses form the server They are as follows:
On Success
(WIP) Documentation coming soon
On Failure
(WIP) Documentation coming soon
On Success
(WIP) Documentation coming soon
On Failure
(WIP) Documentation coming soon
On Success
(WIP) Documentation coming soon
On Failure
(WIP) Documentation coming soon
On Success
(WIP) Documentation coming soon
On Failure
(WIP) Documentation coming soon
A HTTP request to get data for a specific resource entry ex. A book
Expected Path
[HOST_PATH]/[resource name plural]/[resource id]
ex. http://localhost:3000/users/1
On Success
{
data: {
id: ...,
... // other attributes of the resource
},
... // additional data if desired.
}
On Failure
{
header: ...,
body: {
message: 'A USEFUL ERROR MESSAGE',
statusCode: 'The HTTP status code ex. 401',
...
}
}
(WIP) Documentation coming soon
(WIP) Documentation coming soon