Last active
March 4, 2024 01:55
-
-
Save adunstan/bd50b322e3507bc377134eb6ee1a6974 to your computer and use it in GitHub Desktop.
gitlab get list of repos via API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --header "Authorization: Bearer <your_access_token>" https://gitlab.example.com/api/v4/projects | | |
jq -c -r '.[]|[.http_url_to_repo, .visibility]' | |
# works with private token or OAuth token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment