https://kotlinlang.org logo
#http4k
Title
# http4k
e

elect

03/16/2024, 7:26 AM
does http4k Github API offers the possibility to deal with low level stuffs like blobs, trees and references?
d

dave

03/16/2024, 8:04 AM
It will if you implement them! As per the docs, it's current just a shell to provide basic token and webhook Auth, so the lib is probably not what you're looking for if you actually want an adapter client: https://github.com/http4k/http4k-connect/tree/master/github/client
e

elect

03/16/2024, 8:05 AM
are you aware of something out there offering what I'm looking for?
if not, I may give it a try
d

dave

03/16/2024, 8:09 AM
Not really I'm afraid. We've used the http4k API on a number of projects and implementated our own actions in them - with the use of the http4k toolbox data class generator for JSON messages it was quite easy however. All the basic types are there - including the base64blob which you will find useful
e

elect

03/16/2024, 8:17 AM
could you add in the repo so that I don't fork? I'll work on a separate branch
d

dave

03/16/2024, 8:27 AM
Sorry, can't do - we have as a project fairly tight controls on the team structure as we have extensive tooling behind the scenes working off of access rights. For the moment, I'd suggest just implementing what you need in the place where you need it (which actually will be a very limited subset of the entire JSON structure in our experience). 🙃