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

Function apiGet

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

Source from the content-addressed store, hash-verified

148 * @returns {Promise} - 请求结果
149 */
150export function apiGet(url, options = {}, requiresAuth = true, responseType = 'json') {
151 return apiRequest(url, { method: 'GET', ...options }, requiresAuth, responseType)
152}
153
154export function apiAdminGet(url, options = {}, responseType = 'json') {
155 checkAdminPermission()

Callers 15

getViewerFileSystemTreeFunction · 0.90
getViewerFileContentFunction · 0.90
downloadViewerFileFunction · 0.90
knowledge_api.jsFile · 0.90
agent_api.jsFile · 0.90
system_api.jsFile · 0.90
agent_env_api.jsFile · 0.90
listSkillsFunction · 0.90
listAccessibleSkillsFunction · 0.90
getSkillTreeFunction · 0.90
getSkillFileFunction · 0.90

Calls 1

apiRequestFunction · 0.85

Tested by

no test coverage detected