-
Notifications
You must be signed in to change notification settings - Fork 64
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
Qri API v0.10.0 tracker #1731
Comments
Just curious... will there eventually be an endpoint for profile/user creation? |
@c-nv-s depending on the context you had in mind when asking there are a couple possible answers:
Hope this helps, let me know if I went a bit sideways here. |
For lib method parameter unification, I'm going to file an issue to track it separately. |
@Arqu Thanks for the response. Yes I was thinking more along the lines of your second and third bullet points. |
Glad that helps. For handling multiple profiles right now you have to juggle multiple qri repos. There's a handy npm package to do it called |
Question about
Seems like we need to add a few more endpoints to our spec to cover cases 1 & 3 or at least make sure they are covered under other endpoints. Should we add question moved to issue #1744 |
For our records, the outline and notes from the 0.10.0 meeting! 0.10.0 April 8th meetingTopics
Outstanding 0.10.0 questions
save
remove
OKAY TO NewHTTPRequestHandler-ize get
lib.Get return an interface w/ a type? GetResult -> returns a ref, returns a byte slice
asmir this is your problem nowwwwwhahahahah PeerList
Pull UnpackHandler
Remote all http methods that are not
History of a dataset should encapsulate a log of commits & the automation history
asmir: don't need to have /ds/activity return a heterogenous type yet
Are we married to or just dating a POST/JSON api?
Does this belong in 0.10.0 or 0.11.0 (or 0.10.1)remove 0.10.1 & only use 0.11.0 for now
This also ties into some questions we need to answer around 0.10.0 work that is not mentioned elsewhere but is happening
|
slim notes from our meeting today: notes 04/13/2021 API 0.10.0 checkinTODO
|
v 0.10.0 is out! closing |
Qri 0.10.0 API Tracker
TODO:
ListParams
- struct containsLimit
,Offset
,All
RefParams
- struct containsRef
,Filter
2RefListParams
- struct containsListParams
,RefParams
RPC
style apiUnmarshalFromRequest
?api
handler methods tolib.NewHTTPRequestHandlers
Instance.GiveAPIServer()
that returns a mux with all the appropriate endpoints handled, aka only the endpoints that are expected in0.10.0
3GetHandler
that implements RESTful api expectationsRefListParams
Tests!
The tests will transition to a JSON based test framework where we have a central set of expected JSON inputs and outputs. This should make the maintenance of the tests easier as well as more portable in terms of other clients relying on them or devs navigating/reusing them.
Automated api docs
release notes
dependency upgrades to ipfspunting for future release because it requires a repo configurationshell script in make file to update api docs
add building api docs into ops folder
update release cycle to include building from
make
Questions/Footnotes:
params: this could easily be
ListParams
RefParams
&FilterParams
separately, or all oneMethodParams
that each method extends, would love some debate/settled spec on this pointfilter/selector: is
Selector
orFilter
the agreed upon word? I seem to remember bothFilter
andSelector
as options, but can't remember if it was settled.denyRPC: Footnote content goes here We
denyRPC
for certain endpoints. How much does that overlap with endpoints that we do not expect to have in qri api 0.10.0? It would be helpful if this was one-to-one. We could renamedenyRPC
todenyHTTP
and use theinst.regMethods
to programmatically assign the api endpoints in the newinst.GiveAPIServer
methodAPI Spec
Sugar
The purpose of the API package is to expose the lib.RPC api and add syntatic sugar for mapping RESTful HTTP requests to lib method calls
RPC
The purpose of the lib pacakge is to expose a uniform interface for interacting with a qri instance
"Protocol Endpoints"
The text was updated successfully, but these errors were encountered: