获取文件列表
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
- 200
成功响应
Response Headers
- application/json
- Schema
- Example (auto)
- 1
- 2
Schema
- Array [
- ]
string
[
"string"
]
成功示例
abc/test.rs
成功示例
bcd/test.rs