Git command to perform a query list of projects within a repo?

The company I work for has set up a gitlab server. Is there a git command that will allow me to perform a query and show a list of projects within the repo? My end goal is to write a bash script that will perform a query then clone all the projects in the repo when I set up a new machine.

@alabamabluesfan

A project can only have one repository. I think you are referring to a group and it’s projects.

You can use the GitLab v3 REST API to do this. You can find the documentation on http://doc.gitlab.com/ce/api/