代码托管 CODEARTS REPO-获取分支目录下的文件:响应参数

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

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

error

Error object

响应错误

result

LogsTreeList object

响应结果

status

String

响应状态

表5 Error

参数

参数类型

描述

code

String

错误码

message

String

错误信息

表6 LogsTreeList

参数

参数类型

描述

trees

Array of LogsTree objects

文件日志树

total

Integer

记录总数

表7 LogsTree

参数

参数类型

描述

blob_id

String

存储块id

commit

Commit object

提交信息

file_name

String

文件名称

file_path

String

文件路径

md5

String

MD5

type

String

存储类型

表8 Commit

参数

参数类型

描述

author_email

String

作者邮箱

author_name

String

作者

authored_date

String

作者提交时间

committed_date

String

提交时间

committer_email

String

提交作者邮箱

committer_name

String

提交作者

format

Object

文件变更的详情信息,其格式由请求查询参数 stat_format 决定

id

String

提交对应的SHA id

message

String

提交的信息

parent_ids

Array of strings

父提交id

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