代码托管 CodeArts Repo-获取一个项目下可以设置为公开状态的仓库列表:响应参数

时间:2023-11-01 16:20:20

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

error

Error object

响应错误

result

TemplateListInfo object

响应结果

status

String

响应状态

表5 Error

参数

参数类型

描述

code

String

错误码

message

String

错误信息

表6 TemplateListInfo

参数

参数类型

描述

repos

Array of DevstarRepoInfo objects

仓库列表

total_count

Integer

仓库总数

表7 DevstarRepoInfo

参数

参数类型

描述

uuid

String

仓库的uuid

repo_id

String

仓库ID

repo_name

String

仓库名称

ssh_url

String

仓库SSH地址

code_url

String

仓库HTTPS地址

detail_url

String

仓库预览地址

support.huaweicloud.com/api-codehub/ListProductTwoTemplates.html