1.0.9 • Published 2 years ago
@octoguide/api-utils v1.0.9
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 | * |