mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
12 lines • 444 B
JavaScript
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