{
"startDate": "2024-12-1",
"endDate": null,
"cycle": "month",
"deptId": 100,
"dimension":"company"
}
curl --location --request POST 'http://172.20.238.8:48806/ai-portal//metric-web/plugin/function/getTop' \
--header 'Authorization: Debug UserId=5' \
--header 'Tenantid: 1' \
--header 'Content-Type: application/json' \
--data-raw '{
"startDate": "2024-12-1",
"endDate": null,
"cycle": "month",
"deptId": 100,
"dimension":"company"
}'
{
"metrics": [
{
"target_name": "福诺",
"function_name": "代码补全",
"used_usage": 177 //使用次数
},
{
"target_name": "福诺",
"function_name": "代码解释",
"used_usage": 82 //使用次数
},
{
"target_name": "福诺",
"function_name": "故障排错",
"used_usage": 5 //使用次数
}
],
"title": "IDAPluginTOP3" //福小智top3
}