Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pkd
· 3y ago · 0 comments
Something like the Gitea API?
https://try.gitea.io/api/swagger
I don't know if you can run it purely headless.
Comments
[–]
Existenceblinks
3y ago
No. Something like this:
https://docs.github.com/en/rest/git/trees?apiVersion=2022-11...
[–]
pkd
OP
3y ago
I actually don't see what's special with that compared to any other API. Here's the analogous endpoint from the Gitea API docs:
https://try.gitea.io/api/swagger#/repository/GetTree
[–]
Existenceblinks
3y ago
True. Though I mean it's not specially git api. There are just a few endpoints. And somewhat tie to the service's db such as branch. It's like a afterthought of ui centric.