add
This commit is contained in:
+13
-5
@@ -4,7 +4,7 @@
|
||||
|
||||
## 提交用户点赞/取消赞/写评论
|
||||
|
||||
- 请求地址:/mcp/metrics
|
||||
- 请求地址:/mcp/metrics/append
|
||||
- 请求方式:POST
|
||||
|
||||
### 请求参数
|
||||
@@ -20,7 +20,7 @@
|
||||
### 请求示例
|
||||
|
||||
```bash
|
||||
curl -X POST {gateway}/mcp/metrics \
|
||||
curl -X POST {gateway}/mcp/metrics/append \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"tag": "agent",
|
||||
@@ -62,7 +62,7 @@ curl -X POST {gateway}/mcp/metrics \
|
||||
|
||||
## 查询用户点赞/取消赞/写评论
|
||||
|
||||
- 请求地址:/mcp/metrics
|
||||
- 请求地址:/mcp/metrics/detail
|
||||
- 请求方式:POST
|
||||
|
||||
### 请求参数
|
||||
@@ -77,8 +77,16 @@ curl -X POST {gateway}/mcp/metrics \
|
||||
### 请求示例
|
||||
|
||||
```bash
|
||||
curl -X GET '{gateway}/mcp/metrics?tag={tag}&resourceId={resourceId}' \
|
||||
-H "Content-Type: application/json"
|
||||
curl -X GET '{gateway}/mcp/metrics/detail' \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"tag": "agent",
|
||||
"resourceId": "123456",
|
||||
"comment": {
|
||||
"pageNum": 1,
|
||||
"pageSize": 25
|
||||
}
|
||||
}'
|
||||
```
|
||||
|
||||
### 响应参数
|
||||
|
||||
Reference in New Issue
Block a user