UNPKG

tipi-services

Version:

Node.js library to access wrapping REST API of tipi backend services

7 lines (5 loc) 208 B
const Endpoint = require('../../../helpers/Endpoint') module.exports = (baseUrl) => ({ listAll: Endpoint.base(baseUrl).get('/spaces/listAll'), sync: Endpoint.base(baseUrl).post('/spaces/sync'), })