@octoguide/api-utils

1.0.9 • Public • Published

Constants

endpoint

return the api config entries for the name passed

replaceEndpointPathParams

replace all the endpoint path parameters with their corresponding path parameter values

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 *

Readme

Keywords

none

Package Sidebar

Install

npm i @octoguide/api-utils

Weekly Downloads

0

Version

1.0.9

License

UNLICENSED

Unpacked Size

12 kB

Total Files

9

Last publish

Collaborators

  • cpsolutions28