代码托管 CODEARTS REPO-获取仓库统计数据:响应参数

时间:2024-01-17 09:08:08

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

error

Error object

响应错误

result

RepositoryStatisticsVO object

响应结果

status

String

响应状态

表4 Error

参数

参数类型

描述

code

String

错误码

message

String

错误信息

表5 RepositoryStatisticsVO

参数

参数类型

描述

repoName

String

仓库名称

commitCount

Integer

提交次数

repoSize

String

仓库容量

lastCommitTime

String

最近一次提交时间

codeLines

Integer

代码行数

branchCount

Integer

分支数量

archiveUrl

String

代码仓下载地址

support.huaweicloud.com/api-codeartsrepo/ShowStatisticalData.html