Closed bobmcwhirter closed 3 months ago
@carlosthe19916 still [draft] but here's a shot at supporting ?q=
on /api/v1/package
and /api/v1/package/base
depending on how wide a given search wants to be.
I suspect I don't have sorting right yet.
One thing that I will probably request on another gh_issue is to support appropriate filtering on GET /api/v1/package?q=...
. I appreciate we have multiple endpoints at the moment, but the client will use the filtering query parameters for searching "by type", "by namespace", "etc". But first things first, let's have this done and then we can discuss what to do next
I'd hope filters would work already. It's using our standard Query magic from Jim.
Cool. Looking forward to see this PR merged!
Right on, added a test and indeed filtering by fields works as expected.
let uri = "/api/v1/package?q=type=maven";
This PR has been approved. Whenever you are ready push the merge button :)
…sing
?q=
.