如何从Gitlab API获取文件更改计数?
使用属性“with_stats”设置为yes的Gitlab commit API,我可以获得行更改的添加、删除和总计,但我看不到在以下位置获得文件更改计数的选项:如何从Gitlab API获取文件更改计数?,gitlab,Gitlab,使用属性“with_stats”设置为yes的Gitlab commit API,我可以获得行更改的添加、删除和总计,但我看不到在以下位置获得文件更改计数的选项: git show --stat 甚至在Gitlab UI上: 使用gitlab API: https://<gitlab_server>/api/v4/projects/:id/repository/commits?with_stats=yes https:///api/v4/projects/:id/reposit
git show --stat
甚至在Gitlab UI上:
使用gitlab API:
https://<gitlab_server>/api/v4/projects/:id/repository/commits?with_stats=yes
https:///api/v4/projects/:id/repository/commits?with_stats=yes
我看到这样的反应:
“统计数据”:{
“增补”:9,
“删除”:2,
“总数”:11
}
但是没有什么像{“文件改变”:1}