java.gitea.api/docs/ContentsResponse.md

27 lines
1.3 KiB
Markdown
Raw Normal View History

2021-02-28 22:04:54 +01:00
# ContentsResponse
ContentsResponse contains information about a repo's entry's (dir, file, symlink, submodule) metadata and content
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**links** | [**FileLinksResponse**](FileLinksResponse.md) | | [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]