Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ref parameter to get raw file API #14597

Closed
pditommaso opened this issue Feb 7, 2021 · 0 comments · Fixed by #14602
Closed

Add support for ref parameter to get raw file API #14597

pditommaso opened this issue Feb 7, 2021 · 0 comments · Fixed by #14602
Labels
modifies/api This PR adds API routes or modifies them

Comments

@pditommaso
Copy link

The current implementation of repoGetRawFile API does not provide the ability to specify a ref query parameter.

This limits the API functionality to retrieve the raw content only at the latest version on the current master branch, while it would be expected to be able to fetch the raw content at any specific commit id and branch/tag.

@6543 6543 added the modifies/api This PR adds API routes or modifies them label Feb 7, 2021
zeripath added a commit to zeripath/gitea that referenced this issue Feb 7, 2021
Fix go-gitea#14597

Signed-off-by: Andrew Thornton <art27@cantab.net>
6543 pushed a commit that referenced this issue Feb 9, 2021
Fix #14597

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
modifies/api This PR adds API routes or modifies them
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants