AgentscopePermissionsEndpoint
@Endpoint(id = "agentscope-permissions") public class AgentscopePermissionsEndpoint
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopePermissionsEndpoint.java:39–113Agentscope 权限端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 listAll、getOne、AgentscopePermissionsEndpoint。
GET /actuator/agentscope-permissions: enumerate the permission posture of every
registered ReActAgent.
Read-only — mutating rules requires changes in agentscope-core to support live rule edits,
which is tracked in ADMIN_OPS_API_PLAN.md.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public AgentscopePermissionsEndpoint(AgentRegistry registry) | 初始化 `AgentscopePermissionsEndpoint` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public List<Map<String, Object>> listAll() | 列出所有。 Lists the all. |
public Map<String, Object> getOne(String agentId) | 获取 `getOne`。 Returns the one. |
构造器详情Constructor Detail
AgentscopePermissionsEndpoint
public AgentscopePermissionsEndpoint(AgentRegistry registry)
初始化 AgentscopePermissionsEndpoint 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
registry | AgentRegistry | 注册表(类型 `AgentRegistry`)。The registry. |
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopePermissionsEndpoint.java:44–46方法详情Method Detail
listAll
public List<Map<String, Object>> listAll()
列出所有。
Lists the all.
List<Map<String, Object>>返回列出>。Returns list.
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopePermissionsEndpoint.java:48–58getOne
public Map<String, Object> getOne(String agentId)
获取 getOne。
Returns the one.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentId | String | 智能体标识(类型 `String`)。The agent id. |
Map<String, Object>返回映射。Returns map.
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopePermissionsEndpoint.java:60–71