GetRepoConent
get repo content
Path Parameters
- owner required
The owner of the repository, generally called "username". The name is not case sensitive.
- repo required
repository name, the name is not case sensitive
- path
file path
Header Parameters
- Authorization required
Oauth2 token or private token (needs to start with Bearer plus a space)
- 200
- 403
- 404
- responseBody
success
No Access
404 not found
- application/json
- Schema
Schema
- encoding string
Encode type. Default: base64
- name string
filename
- path string
file path
- sha string
commit sha value
- size integer
File size, or 0 if "type" is "dir" or "submodule"
- type string
File type, enumeration values: file, dir, symlink, submodule
entries object[]
If "type" is "dir", files and subdirectories in that directory are returned. If "type" is "file", an empty array is returned. If "type" is "symlink", information about the symbolic link is returned. If "type" is "submodule", returns the submodule information.
Array [encoding stringEncode type. Default: base64
name stringfilename
path stringfile path
sha stringcommit sha value
size integerFile size, or 0 if "type" is "dir" or "submodule"
type stringFile type, enumeration values: file, dir, symlink, submodule
]