-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Is your feature request related to a problem? Please describe.
The SearchAssets(/v1beta1/search) endpoint and GetAllAssets(/v1beta1/assets) endpoint are very similar and their general use cases are similar. It doesn't make much sense to maintain and actively develop similar features for both endpoints., and they can be consolidated into one single endpoint.
Ideally, SearchAssets should be able to handle both these features as it is comparatively full-fledged and also has elastic search as the data source driving that API. Both endpoints support sorting and filtering capabilities in their own way.
| feature | SearchAssets | GetAllAssets |
|---|---|---|
| sort | ✅ | ✅ |
| pagination | ❌ | ✅ |
| filtering | ✅ | 🛠 |
| search_text | ✅ | 🛠 |
Describe the solution you'd like
One API to simplify development and maintenance for both search and list. This should be through the SearchAssets API.