v2
latestOpenAPI 3.1.02026-08-0531314.2 KBGitLab Projects
Onboard a GitLab project
Add a GitLab project to Gitar and configure webhooks for code review. This endpoint is idempotent — calling it for an already-connected project returns success with status already_connected.
Selecting a GitLab instance. Organizations with a single connected GitLab instance can omit host. Once an organization connects more than one instance, host becomes required: without it Gitar cannot tell which instance a project id or path refers to, and the request is rejected with 409 Conflict listing the connected instances.
post/external/gitlab/projects
Request body
Response
Project onboarded successfully or already connected