Initial commit
This commit is contained in:
38
reference/goedge 文档/ClientAgentService.md
Normal file
38
reference/goedge 文档/ClientAgentService.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# ClientAgentService
|
||||
> Agent服务
|
||||
|
||||
---
|
||||
|
||||
## findAllClientAgents
|
||||
> 查找所有Agent
|
||||
|
||||
- 角色:`admin`
|
||||
- HTTP:`POST https://backend.dooki.cloud/ClientAgentService/findAllClientAgents`
|
||||
- RPC:`rpc findAllClientAgents(FindAllClientAgentsRequest) returns (FindAllClientAgentsResponse);`
|
||||
|
||||
**请求对象 (`FindAllClientAgentsRequest`)**
|
||||
|
||||
```json
|
||||
{}
|
||||
```
|
||||
|
||||
**响应对象 (`FindAllClientAgentsResponse`)**
|
||||
|
||||
```json
|
||||
{
|
||||
"clientAgents": "[]ClientAgent"
|
||||
}
|
||||
```
|
||||
|
||||
**调用示例**
|
||||
|
||||
```bash
|
||||
curl -X POST "https://backend.dooki.cloud/ClientAgentService/findAllClientAgents" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "X-Edge-Access-Token: <YOUR_TOKEN>" \
|
||||
-d '{
|
||||
...
|
||||
}'
|
||||
```
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user