跳到主要内容

获取文件列表

GET 

/api/v5/repos/:owner/:repo/file_list

Request​

Path Parameters

    owner stringrequired

    仓库所属空间地址(组织或个人的地址path)

    repo stringrequired

    仓库路径(path)

Query Parameters

    access_token string

    用户授权码

    ref_name string

    ref(分支、tag、commit)

    file_name string

    要查找的文件名称

Responses​

成功响应

Response Headers
    Schema
    • Array [
    • string
    • ]