Is it possible to restrict task query results to candidate groups over REST api?

I haven’t come across anything to indicate as such in the docs, but is it possible to restrict the query return of tasks to, the members of the candidate groups assigned to the task(s) over REST?
So e.g.
I am a member of group 2, not listed as a candidate group for a group 1 task, so therefore I can not get the tasks for group 1 if I query for all tasks if I make the query over rest. It is also ok if this can be achieved by adding something to the query parameter except the candidate groups parameter, since that can result in a very long query string.

Have you looked at taskService query :
taskService.createTaskQuery().taskCandidateGroup()

Any reply on this please?
According to the docs, it should be possible but a query over rest like:
http://localhost:9090/process_engine/process-api/runtime/tasks?candidateGroups=GROUP_site_myTestGroup retuns nothing.
I should add that I’m working with a springboot application that is using a WIP (work-in-progress) IDM and the IDM works fine with group queries right now.

I saw that but I was really after asking about doing this over the out of the box REST api