How to get only the process definition assigned to a group or a person

Hello,
please how can i get only the process definitions assigned to a group or an user by the API REST

thank you in advance