UNPKG

tipi-services

Version:

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

9 lines (7 loc) 352 B
const Endpoint = require('../../../helpers/Endpoint') module.exports = (baseUrl) => ({ create: Endpoint.base(baseUrl).post('/integrations'), update: Endpoint.base(baseUrl).patch('/integrations/:ownerId'), details: Endpoint.base(baseUrl).get('/integrations/:ownerId'), remove: Endpoint.base(baseUrl).delete('/integrations/:ownerId') })