How to get a list of submodules of a repository through GitHub API

Hi there, I’m trying to get a list of submodules of a repository through GitHub API. After reading Github API docs, I did the following things: In Order to access the submodules of the Jquery, I use the following link to get a list of submodules, however, I cannot see any submodules from it. Could anyone please tell me what field should I use to get a list of submodules of a repository from GitHub API?

Hello @collinzhu and welcome to the community.

I’m not entirely sure what you mean by “submodules” in this context. The reason for this is that if you’re using git submodules, there should be a .gitmodules file in the root of the repository but jquery doesn’t have one. Additionally, I don’t recall jquery using actual git submodules. Do you mean the packages listed in the package.json?