Using the frontend or backend API, is there a way to easily get all rem Ids of a knowledge base at once or even query the db to filter e.g. by tags or using regular expressions, etc.?
I could use a search portal and query the ids from all rems of the search results (as they show up in the “visibleRemOnDocument” property), but I experience difficulties when searching for tags in search portals, results seem to vary and sometimes there are duplicates (maybe I’m doing something wrong).
It is also not easy to get the id of a search portal, since you cannot just copy the rem reference like with other rems, so it can only be retrieved by using the API to get the parent rem and copy the id from its children.