Skip to content

Is there a way to access files in the repo without the ssh and/or git protocol? #455

Closed Answered by aymanbagabas
QuantumLibet asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @QuantumLibet, thank you for opening this discussion.

Currently, only the SSH server supports the blob API interface. Adding a new HTTP endpoint for those APIs makes sense when dealing with a single file and a text/plain header. I've created a new issue #456 to track this feature.

For now, you can use the blob SSH command as an unauthenticated user using keyboard-interactive SSH auth type ssh -o PreferredAuthentications=keyboard-interactive <host> -- repo blob <repo> <optional git revision> <file path>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@QuantumLibet
Comment options

Answer selected by QuantumLibet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants