代码托管 CodeArts Repo-获取分支目录下的文件:URI

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

URI

GET /v1/repositories/{repository_uuid}/branch/{branch_name}/sub-files

表1 路径参数

参数

是否必选

参数类型

描述

repository_uuid

String

仓库id

branch_name

String

分支名称

表2 Query参数

参数

是否必选

参数类型

描述

path

String

文件路径

offset

Integer

偏移量

limit

Integer

记录数量

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