代码托管 CODEARTS REPO-获取一个仓库下特定分支指定文件内容:响应示例

时间:2025-01-21 10:50:08

响应示例

状态码: 200

OK

{
  "result" : [ {
    "file_name" : "README.md",
    "file_path" : "README.md",
    "size" : 666,
    "encoding" : "base64",
    "ref" : "master",
    "blob_id" : "75c19b5b1904a72c8a9959c98ae6884d0ace0279",
    "file_type" : "text/plain; charset=utf-8",
    "content" : "RUVFRUVFRUU="
  } ],
  "status" : "success"
}
support.huaweicloud.com/api-codeartsrepo/ListFiles.html