获取 raw 文件
GET/api/v5/repos/:owner/:repo/raw/:path
Request
Path Parameters
owner stringrequired
仓库所属空间地址(企业、组织或个人的地址path)
repo stringrequired
仓库路径(path)
path stringrequired
文件的路径,特殊字符需转码
Query Parameters
access_token string
用户授权码
ref string
分支、tag 或 commit(默认: 仓库的默认分支)
Responses
- 200
Response Headers
- application/json
- Schema
- Example (auto)
Schema
object
{}