I'm working on automating approvals of DevOps releases through another system. The problem is, I need to be able to identify which releases are on pipeline(s) built from a particular repository; I'm fine with having to make multiple API calls to get the right identifiers but I don't see any APIs where I can get information on the repository a pipeline is built on.
(Unfortunately my organization places multiple repositories per project so I can't do it with just the project specifier).
Is there some DevOps API I missed that I can get down to the level of info on which repository the pipeline uses?