-
Notifications
You must be signed in to change notification settings - Fork 159
/api/dart2-package-name-completion-data #4302
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
Comments
I could also be convinced we should call this something like:
|
I don't think we need We know nothing about how dart3 will be - let's plan for it when we know more. If a new endpoint is really needed we can always call the new endpoint something with
|
+1
I'd expect such endpoint to complete a package name that I provide via a query parameter. Anything against |
Nope - good point! |
I saw a merged PR for this - is it already available somewhere I can test/dev against, or will it only be available once deployed live? Thanks! |
@DanTup: It is not yet deployed, we'll update this issue once it was done. (possibly this week) |
Perfect, thanks! |
This is now live. |
We filter out packages that:
Results ordered by some combination of
popularity
,likes
andpub points
.We do not formally promise what ordering the API has, nor promise that the ordering won't change.
Nor do we make the API paging, if there are more packages than we can list in some future, then we return the
N
most important packages ranked by popularity, likes and pub points; withN
being a high number something like 10k or 100k.Note:
accept-encoding: gzip
, or support serving without gzip too./api/dart2-package-name-completion-data
, but I think it's worthwhile making sure that the API end-point is specific to:The text was updated successfully, but these errors were encountered: