go-ipfs-http-client icon indicating copy to clipboard operation
go-ipfs-http-client copied to clipboard

Consider the place of non-core APIs

Open Stebalien opened this issue 6 years ago • 4 comments

For example, log/tail. These are useful APIs but we may not want to stabilize them. Thoughts? We do expose Request so we could, alternatively, provide some kind of "unstable" wrapper:

type UnstableAPI struct {
  *HttpApi
}

... unstable stuff

Or we could just document these interfaces as "unstable".

Stebalien avatar May 06 '19 23:05 Stebalien

cc @postables, @magik6k?

Stebalien avatar May 06 '19 23:05 Stebalien

I like this. We probably should also have UnstableAPI defined in https://github.com/ipfs/interface-go-ipfs-core, to at lest keep consistency between implementations.

magik6k avatar May 06 '19 23:05 magik6k

(related - https://github.com/ipfs/go-ipfs-api/pull/179#issuecomment-489822897)

magik6k avatar May 06 '19 23:05 magik6k

I like the idea of using an UnstableAPI wrapper as well, and second what magik6k said about defining it in interface-go-ipfs-core.

bonedaddy avatar May 07 '19 01:05 bonedaddy