Hanzo
OpenapiIntegrations

Lists the projects the org's GitLab connection can reach — membership projects,…

Lists the projects the org's GitLab connection can reach — membership projects, most recently active first.

GET /v1/integrations/gitlab/projects

Addresshttps://api.hanzo.ai/v1/integrations/gitlab/projects
MethodGET
Operationget_integrations_gitlab_projects
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the projects the org's GitLab connection can reach — membership projects, most recently active first.

Request

GET /v1/integrations/gitlab/projects takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200gitlabProjectsOutok

200 body — 10 fields.

FieldInTypeAlwaysDescription
accountbodystringAccount is the connected GitLab username, so a client can label the list without a second call.
projectsbodygitlabProjectView[]Projects is every project the token reaches, newest activity first.
projects[].cloneUrlbodystringCloneURL is the https remote to clone.
projects[].defaultBranchbodystringDefaultBranch is the branch a clone lands on ("main" when GitLab names none, which is what an empty project reports).
projects[].descriptionbodystringDescription is the project's own, empty when it has none.
projects[].fullNamebodystringFullName is the namespace path ("acme/widgets", "acme/team/widgets" for a subgroup) — the string GitLab calls path_with_namespace.
projects[].htmlUrlbodystringHTMLURL is the project's page.
projects[].namebodystringName is the project's path segment ("widgets"), not its display name.
projects[].privatebodybooleanPrivate is true for anything not publicly visible (private or internal).
projects[].pushedAtbodystringPushedAt is RFC3339 last activity, so a client can sort or say "2h ago".

Failure carries the platform error shape — see Errors.

Examples

hanzo integrations gitlab projects

Integrations API · All Hanzo APIs · Interactive reference

How is this guide?

On this page