Methods
(async, inner) getAllocationById(allocationId) → {Promise.<response>}
Get a specific allocation given its ID.
Parameters:
Name | Type | Description |
---|---|---|
allocationId |
string | ID of the allocation to retrieve. |
- Source:
Returns:
response to the request.
- Type
- Promise.<response>
(async, inner) getAllocations(params) → {Promise.<response>}
Get all allocations.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
params |
object | {} | Optional params to be passed to request. |
- Source:
Returns:
response to the request.
- Type
- Promise.<response>