Support Forums

Efficiently pulling collection file content using Github api

Hi guys, trying to figure out what is the most efficient way to pull a titles list from a NetlifyCMS folder collection. I am not using any static site generator but directly sending requests to the GitHub api. In NetlifyCMS - some collection page - a list of items is shown by their title, that is exactly the data I am trying to pull using GitHub api. I want to look at NetlifyCMS source code to see how they are making this query so I can imitate it. Can you direct me to that area in the source code? thanks.

Most of the GitHub stuff is here:

While the APIs are heavily managed by this file: