代码托管 CodeArts Repo-获取分支目录下的文件:响应示例
时间:2025-02-12 15:03:27
响应示例
状态码: 200
OK
{ "result" : { "trees" : [ { "blob_id" : "ef69ef5dc0c53022fe52a4d02de15f73d96e055c", "file_name" : "csharpDemo.png", "file_path" : "images/csharpDemo.png", "md5" : "8830d25fe6b4e2cd14d75ddb5cae73a7", "type" : "blob", "commit" : { "id" : "1cfd6d81fff948828c7f59bda74c0ef80e53def0", "message" : "init", "parent_ids" : [ ], "author_name" : "repo", "author_email" : "repo@test.com", "committed_date" : "2019-11-13 11:29:26", "committer_name" : "repo", "committer_email" : "repo@test.com" } } ], "total" : 5 }, "status" : "success"}
support.huaweicloud.com/api-codeartsrepo/ListSubfiles.html