diff --git a/API-2609.md b/API-2609.md index 857ad66..0af9e04 100644 --- a/API-2609.md +++ b/API-2609.md @@ -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 + } + }' ``` ### 响应参数