dpgaspar opened a new pull request #12663: URL: https://github.com/apache/superset/pull/12663
### SUMMARY Supports requested model `ids` on the related API endpoints #11680. The related endpoints are paginated to prevent heavy queries on the metadata database, these endpoints are normally used to fill up dropdowns on the frontend. If a dropdown box already contains ids these may be out of the requested page. The solution keeps the pagination (currently to solve this the frontend is requesting a very big page) but adds requested `ids` to the API response The related endpoint does not break compatibility but adds a new query option: ``` { "filter": "alpha", "ids": [1,2,3], "page": 0, "page_size": 1000 } ``` ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [X] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org