java.gitea.api/docs/ContentsResponse.md

1.3 KiB
Executable File

ContentsResponse

ContentsResponse contains information about a repo's entry's (dir, file, symlink, submodule) metadata and content

Properties

Name Type Description Notes
links FileLinksResponse [optional]
content String `content` is populated when `type` is `file`, otherwise null [optional]
downloadUrl String [optional]
encoding String `encoding` is populated when `type` is `file`, otherwise null [optional]
gitUrl String [optional]
htmlUrl String [optional]
name String [optional]
path String [optional]
sha String [optional]
size Long [optional]
submoduleGitUrl String `submodule_git_url` is populated when `type` is `submodule`, otherwise null [optional]
target String `target` is populated when `type` is `symlink`, otherwise null [optional]
type String `type` will be `file`, `dir`, `symlink`, or `submodule` [optional]
url String [optional]