How to query project info

Could you provide me an example on how to query a specific project info on gitlab.com using the terminal without authentication?

After reading the documentation I have been unable to figure out the URL for doing that.

Hey @es20490446e, welcome to the forum.

You can get the details of any single public project on GitLab.com with an API call to the /projects endpoint without authentication with something like the following.

curl "https://gitlab.com/api/v4/projects/17134583"

That ID is from this project.

1 Like