GitLab repository and access
Defines the setup and access settings for GitLab integration, including installation details and collaborator permissions.
Type: gitlab-configuration
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| setup | object | Initial setup details for GitLab integration, including installation URL, authentication, and default repository settings. | yes |
| access (Default Collaborators) | object | Defines the default access levels for collaborators within repositories. | no |
Additional Properties: not allowed
Example
{
"setup": {
"group_path": "my-organization/my-group",
"access_token": "glpat-XXXXXXXXXXXXXXXXXXXXX",
"installation_url": "https://gitlab.com"
},
"access": {
"default_collaborators": [
{
"id": "np-pilundain",
"role": "developer",
"type": "user"
},
{
"id": "wallet",
"role": "developer",
"type": "group"
}
]
}
}
setup: Setup
Initial setup details for GitLab integration, including installation URL, authentication, and default repository settings.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| group_path | string | The complete path to your GitLab group, including any parent groups. Minimal Length: 1Pattern: ^[\w.-]+(?:/[\w.-]+)*$ | no |
| access_token | string | The GitLab personal access token or project access token with appropriate permissions. Minimal Length: 20 | yes |
| installation_url | string | The base URL of your GitLab installation. Defaults to GitLab SaaS (gitlab.com). Minimal Length: 1Pattern: ^https?://[\w.-]+(?::\d+)?$ | yes |
Additional Properties: not allowed
Example
{
"group_path": "my-organization/my-group",
"access_token": "glpat-XXXXXXXXXXXXXXXXXXXXX",
"installation_url": "https://gitlab.com"
}
access: Default Collaborators
Defines the default access levels for collaborators within repositories.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| default_collaborators (Collaborators) | object[] | List of collaborators and their corresponding access levels. | no |
Additional Properties: not allowed
Example
{
"default_collaborators": [
{
"id": "np-pilundain",
"role": "developer",
"type": "user"
},
{
"id": "wallet",
"role": "developer",
"type": "group"
}
]
}
access.default_collaborators[]: Collaborators
List of collaborators and their corresponding access levels.
Items
Item Properties
| Name | Type | Description | Required |
|---|---|---|---|
| id (Name) | string | GitLab username or group name Minimal Length: 1Pattern: ^[a-zA-Z][a-zA-Z0-9_.-]*$ | yes |
| role (Permission Level) | string | Access level for the member or group Enum: "no access", "minimal access", "guest", "reporter", "developer", "maintainer", "owner" | yes |
| type (Collaborator Type) | string | Type of collaborator Enum: "user", "group" | yes |
Item Additional Properties: not allowed
Example
[
{
"id": "np-pilundain",
"role": "developer",
"type": "user"
},
{
"id": "wallet",
"role": "developer",
"type": "group"
}
]