UNPKG

tipi-services

Version:

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

8 lines (6 loc) 288 B
const Endpoint = require('../../../helpers/Endpoint') module.exports = (baseUrl) => ({ add: Endpoint.base(baseUrl).post('/locks/:id/errorLogs'), details: Endpoint.base(baseUrl).get('/locks/:id/errorLogs'), removeAll: Endpoint.base(baseUrl).delete('/locks/:id/errorLogs') })