Default reviewers - can you get a list of repos for one user?

I need to get a list of all repos where a user is listed as the default reviewer. Right now it seems like I need to find all the workspaces a user is in with GET user/permissions/workspaces then I need to take the slug from all of those workspaces and find all the repos with GET repositories/{workspace} then I need to take the full_name from all of those repos and call GET repositories/{workspace}/{repo_slug}/default-reviewers on each one in order to get a list of the default reviewers for each repo in the workspace. Is there an easier/quicker way to get this information? I want a list of repos (all repos in all workspaces) that a user is listed as default reviewer. I’ve definitely spent some time with the the API documentation, so I apologize if I missed it.

1 Like