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

Function apiAdminPost

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

Source from the content-addressed store, hash-verified

184}
185
186export function apiAdminPost(url, data = {}, options = {}, responseType = 'json') {
187 checkAdminPermission()
188 return apiPost(url, data, options, true, responseType)
189}
190
191export function apiSuperAdminPost(url, data = {}, options = {}, responseType = 'json') {
192 checkSuperAdminPermission()

Callers 7

knowledge_api.jsFile · 0.90
system_api.jsFile · 0.90
syncBuiltinSkillsFunction · 0.90
createMcpServerFunction · 0.90
testMcpServerFunction · 0.90
refreshMcpServerToolsFunction · 0.90
tasker.jsFile · 0.90

Calls 2

checkAdminPermissionFunction · 0.90
apiPostFunction · 0.85

Tested by

no test coverage detected