GetRepoTrees
GetRepoTrees
Path Parameters
- owner required
The owner of the code repository is generally referred to as the "username". The name is not case sensitive.
- repo required
Code repository name. The name is not case sensitive.
- sha required
sha value,like branchName,commitId
Query Parameters
- recursive
File tree query type, not mandatory. By default, only the file tree in the current path is queried. If any string is passed (such as 1), all files in the current path will be recursively searched
- file_path
Query the file tree under the specified path, not mandatory, starting from the root path by default
Header Parameters
- Authorization required
Oauth2 token or Privatetoken(start with Bearer and a space)
Responses
- 200
- 403
- 404
- responseBody
Success
Forbidden
resouce not found
- application/json
- Schema
Schema
- mode string
mode
- path string
file path
- sha string
commit SHA value
- type string
Object type:blob,tree,symlink,commit
Loading...