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)

17 lines 614 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var BASE_ROUTE = "/api/client/v2.0"; exports.BASE_ROUTE = BASE_ROUTE; function getAppRoute(clientAppId) { return BASE_ROUTE + ("/app/" + clientAppId); } exports.getAppRoute = getAppRoute; function getFunctionCallRoute(clientAppId) { return getAppRoute(clientAppId) + "/functions/call"; } exports.getFunctionCallRoute = getFunctionCallRoute; function getAppMetadataRoute(clientAppId) { return getAppRoute(clientAppId) + "/location"; } exports.getAppMetadataRoute = getAppMetadataRoute; //# sourceMappingURL=StitchRoutes.js.map