MCPcopy
hub / github.com/diegohaz/rest / apiWithAllMasterMethods

Function apiWithAllMasterMethods

test/index.js:94–99  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

92}
93
94function apiWithAllMasterMethods(dir) {
95 return api({
96 kebab: 'all-master',
97 masterMethods: ['POST', 'GET LIST', 'GET ONE', 'PUT', 'DELETE']
98 }, dir);
99}
100
101function apiWithAllAdminMethods(dir) {
102 return api({

Callers 1

installFunction · 0.85

Calls 1

apiFunction · 0.85

Tested by

no test coverage detected