Refactor repo contents API and add "contents-ext" API#34822
Merged
wxiaoguang merged 4 commits intogo-gitea:mainfrom Jun 25, 2025
Merged
Refactor repo contents API and add "contents-ext" API#34822wxiaoguang merged 4 commits intogo-gitea:mainfrom
wxiaoguang merged 4 commits intogo-gitea:mainfrom
Conversation
6fd2c3a to
aa52636
Compare
aa52636 to
857fa2b
Compare
Contributor
|
Could we add a field to indicate whether a file is stored in LFS? e.g. My company is now choosing to use Gitea in our case. So there are many issues we've been faced with. |
76b95b9 to
d21b93b
Compare
d21b93b to
bd93a6f
Compare
bd93a6f to
b1102c4
Compare
lunny
approved these changes
Jun 23, 2025
hiifong
approved these changes
Jun 25, 2025
Contributor
Author
|
Since this is a new design with an API, also cc @go-gitea/maintainers , if there is any problem, let's fix/improve/revert. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GET /repos/{owner}/{repo}/contents#27034See the updated swagger document for details.