Call the search API
- Source:
Methods
(static) error(response) → {Object}
Search on error
Parameters:
Name | Type | Description |
---|---|---|
response |
Object | The search API error response. |
- Source:
Returns:
error
- Type
- Object
(static) search(args) → {service}
Make a search request to the API
Parameters:
Name | Type | Description |
---|---|---|
args |
Object | The search request parameters. |
- Source:
Returns:
promise
- Type
- service
(static) success(response) → {Object}
Search on success
Parameters:
Name | Type | Description |
---|---|---|
response |
Object | The search API response. |
- Source:
Returns:
response
- Type
- Object