Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/diegohaz/rest
/ apiWithAllAdminMethods
Function
apiWithAllAdminMethods
test/index.js:101–106 ·
view source on GitHub ↗
(dir)
Source
from the content-addressed store, hash-verified
99
}
100
101
function
apiWithAllAdminMethods(dir) {
102
return
api({
103
kebab:
'all-admin'
,
104
adminMethods: [
'POST'
,
'GET LIST'
,
'GET ONE'
,
'PUT'
,
'DELETE'
]
105
}, dir);
106
}
107
108
function
apiWithAllUserMethods(dir) {
109
return
api({
Callers
1
install
Function · 0.85
Calls
1
api
Function · 0.85
Tested by
no test coverage detected