UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

12 lines 444 B
var BASE_ROUTE = "/api/client/v2.0"; function getAppRoute(clientAppId) { return BASE_ROUTE + ("/app/" + clientAppId); } function getFunctionCallRoute(clientAppId) { return getAppRoute(clientAppId) + "/functions/call"; } function getAppMetadataRoute(clientAppId) { return getAppRoute(clientAppId) + "/location"; } export { BASE_ROUTE, getAppRoute, getFunctionCallRoute, getAppMetadataRoute }; //# sourceMappingURL=StitchRoutes.js.map