MCPcopy Index your code
hub / github.com/xerrors/Yuxi / apiAdminPut

Function apiAdminPut

web/src/apis/base.js:218–221  ·  view source on GitHub ↗
(url, data = {}, options = {}, responseType = 'json')

Source from the content-addressed store, hash-verified

216}
217
218export function apiAdminPut(url, data = {}, options = {}, responseType = 'json') {
219 checkAdminPermission()
220 return apiPut(url, data, options, true, responseType)
221}
222
223export function apiSuperAdminPut(url, data = {}, options = {}, responseType = 'json') {
224 checkSuperAdminPermission()

Callers 5

knowledge_api.jsFile · 0.90
system_api.jsFile · 0.90
updateMcpServerFunction · 0.90
updateMcpServerStatusFunction · 0.90
toggleMcpServerToolFunction · 0.90

Calls 2

checkAdminPermissionFunction · 0.90
apiPutFunction · 0.85

Tested by

no test coverage detected