glab api "projects?search=gitlab"

Category: GitLab

glab api "projects?search=gitlab"

Call the GitLab REST API from the terminal

Sends an authenticated request to the GitLab API v4 endpoint given, using your glab login, and prints the JSON response. Endpoints can use placeholders such as :id that resolve from the current repository. Append graphql as the endpoint to query the GraphQL API instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.