Package com.bytedesk.core.plugin
Class PluginController
java.lang.Object
com.bytedesk.core.plugin.PluginController
插件管理控制器
提供插件信息查询和管理接口
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription转换插件为Map(详细版)convertPluginToMap(BytedeskPlugin plugin) 转换插件为Map(简化版)获取所有插件列表 http://127.0.0.1:9003/api/v1/plugins获取所有插件的健康状态获取所有插件的统计信息获取已启用的插件列表获取指定插件信息getPluginHealth(String pluginId) 获取插件健康状态获取插件概览信息getPluginStatistics(String pluginId) 获取插件统计信息
-
Field Details
-
pluginRegistry
-
-
Constructor Details
-
PluginController
public PluginController()
-
-
Method Details
-
getAllPlugins
获取所有插件列表 http://127.0.0.1:9003/api/v1/plugins -
getEnabledPlugins
@GetMapping("/enabled") public org.springframework.http.ResponseEntity<Map<String,Object>> getEnabledPlugins()获取已启用的插件列表 -
getPlugin
@GetMapping("/{pluginId}") public org.springframework.http.ResponseEntity<Map<String,Object>> getPlugin(@PathVariable String pluginId) 获取指定插件信息 -
getPluginHealth
@GetMapping("/{pluginId}/health") public org.springframework.http.ResponseEntity<Map<String,Object>> getPluginHealth(@PathVariable String pluginId) 获取插件健康状态 -
getAllPluginsHealth
@GetMapping("/health") public org.springframework.http.ResponseEntity<Map<String,Object>> getAllPluginsHealth()获取所有插件的健康状态 -
getPluginStatistics
@GetMapping("/{pluginId}/statistics") public org.springframework.http.ResponseEntity<Map<String,Object>> getPluginStatistics(@PathVariable String pluginId) 获取插件统计信息 -
getAllPluginsStatistics
@GetMapping("/statistics") public org.springframework.http.ResponseEntity<Map<String,Object>> getAllPluginsStatistics()获取所有插件的统计信息 -
getPluginsOverview
@GetMapping("/overview") public org.springframework.http.ResponseEntity<Map<String,Object>> getPluginsOverview()获取插件概览信息 -
convertPluginToMap
转换插件为Map(简化版) -
convertPluginToDetailMap
转换插件为Map(详细版)
-