Filter by Candidate Starter Groups

Hello

I would like to fetch a list of process definitions over REST filtered by the Candidate Starter Groups.

I only found in the query parameters startableBy. But since I don’t add the groups and users in the engine, it won’t work.

Can anyone tell me how I can filter by Candidate Starter Groups or fetch all and filter later?

Edit:
Current workaround:

  1. get the definition xml over rest
  2. get the groups with xpath /bpmn:definitions/bpmn:process/@camunda:candidateStarterGroups

But I think there should be a smarter way.