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

Function apiAdminGet

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

Source from the content-addressed store, hash-verified

152}
153
154export function apiAdminGet(url, options = {}, responseType = 'json') {
155 checkAdminPermission()
156 return apiGet(url, options, true, responseType)
157}
158
159export function apiSuperAdminGet(url, options = {}, responseType = 'json') {
160 checkSuperAdminPermission()

Callers 11

knowledge_api.jsFile · 0.90
getToolsFunction · 0.90
getToolOptionsFunction · 0.90
system_api.jsFile · 0.90
getDepartmentsFunction · 0.90
getUserAccessOptionsFunction · 0.90
listBuiltinSkillsFunction · 0.90
getMcpServerFunction · 0.90
getMcpServerToolsFunction · 0.90
tasker.jsFile · 0.90
dashboard_api.jsFile · 0.90

Calls 2

checkAdminPermissionFunction · 0.90
apiGetFunction · 0.85

Tested by

no test coverage detected