@octoguide/api-utils
v1.0.9
Published
<dl> <dt><a href="#endpoint">endpoint</a></dt> <dd><p>return the api config entries for the name passed</p> </dd> <dt><a href="#replaceEndpointPathParams">replaceEndpointPathParams</a></dt> <dd><p>replace all the endpoint path parameters with their corres
Downloads
8
Readme
Constants
endpoint
return the api config entries for the name passed
Kind: global constant
| Param | Type | Description | | --- | --- | --- | | name | string | the api config entry to retrieve | | config | Object | the object that contains {apiEndpoints: {endpoints: {apiname: {method: .., name: .., url: ..}} }} |
replaceEndpointPathParams
replace all the endpoint path parameters with their corresponding path parameter values
Kind: global constant
| Param | Type | | --- | --- | | endpoint | * | | pathParams | * | | pathParamValues | * |