.one()
Input date
Arguments
Name | Type | Default |
scheme | Object | {} |
Output date
Returned Promise where response are object with .status and .data field
Status
Contains scheme type with request result SUCCES or FAILURE
Example
GET_LIST_SUCCESS or GET_LIST_FAILURE
Data
Contains response from server.
Example JSON Api
Success reponce
Responce with error
Last updated