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

Function apiWithAllUserMethods

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

Source from the content-addressed store, hash-verified

106}
107
108function apiWithAllUserMethods(dir) {
109 return api({
110 kebab: 'all-user',
111 userMethods: ['POST', 'GET LIST', 'GET ONE', 'PUT', 'DELETE']
112 }, dir);
113}
114
115function apiWithDifferentUserField(dir) {
116 console.log('apiWithDifferentUserField');

Callers 1

installFunction · 0.85

Calls 1

apiFunction · 0.85

Tested by

no test coverage detected