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

Access raw file content from HTTP #456

Open
aymanbagabas opened this issue Jan 4, 2024 · 0 comments
Open

Access raw file content from HTTP #456

aymanbagabas opened this issue Jan 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@aymanbagabas
Copy link
Member

Is your feature request related to a problem? Please describe.
Add the ability to view file contents using HTTP similar to the ssh soft repo blob ... command

Describe the solution you'd like
New endpoint /<repo>/blob/<rev>/<path> that takes the revision (branch, tag, commit) and path and returns the contents of the file. Accept both content types text/plain & application/octet-stream to return plain text or download the file at path.

#455

@aymanbagabas aymanbagabas added the enhancement New feature or request label Jan 4, 2024
@gedw99 gedw99 mentioned this issue Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant