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.
"status": "already_connected" instead of creating a duplicate.
project_id — the numeric GitLab project ID (e.g. 12345)project_path — the full path of the project (e.g. "my-group/my-project")project_id takes precedence.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request to onboard a single GitLab project via the external API.
One of project_id or project_path must be provided.
If both are present, project_id takes precedence.
Project onboarded successfully or already connected
Response from onboarding a single GitLab project via the external API.