Skip to main content

GitLab repository and access

Defines the setup and access settings for GitLab integration, including installation details and collaborator permissions.

Properties

NameTypeDescriptionRequired
setupobjectInitial setup details for GitLab integration, including installation URL, authentication, and default repository settings.
yes
access
(Default Collaborators)
objectDefines the default access levels for collaborators within repositories.
no

Additional Properties: not allowed
Example

{
"setup": {
"topics": [
"web",
"api",
"backend"
],
"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

NameTypeDescriptionRequired
topics
(Default Topics)
string[]Default list of topics/tags that will be automatically applied to new repositories.
no
group_pathstringThe complete path to your GitLab group, including any parent groups.
Minimal Length: 1
Pattern: ^[\w.-]+(?:/[\w.-]+)*$
no
access_tokenstringThe GitLab personal access token or project access token with appropriate permissions.
Minimal Length: 20
yes
installation_urlstringThe base URL of your GitLab installation. Defaults to GitLab SaaS (gitlab.com).
Minimal Length: 1
Pattern: ^https?://[\w.-]+(?::\d+)?$
yes

Additional Properties: not allowed
Example

{
"topics": [
"web",
"api",
"backend"
],
"group_path": "my-organization/my-group",
"access_token": "glpat-XXXXXXXXXXXXXXXXXXXXX",
"installation_url": "https://gitlab.com"
}

setup.topics[]: Default Topics

Default list of topics/tags that will be automatically applied to new repositories.

Items

Item Type: string
Item Maximal Length: 100
Item Pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$
Example

[
"web",
"api",
"backend"
]

access: Default Collaborators

Defines the default access levels for collaborators within repositories.

Properties

NameTypeDescriptionRequired
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

NameTypeDescriptionRequired
id
(Name)
stringGitLab username or group name
Minimal Length: 1
Pattern: ^[a-zA-Z][a-zA-Z0-9_.-]*$
yes
role
(Permission Level)
stringAccess level for the member or group
Enum: "no access", "minimal access", "guest", "reporter", "developer", "maintainer", "owner"
yes
type
(Collaborator Type)
stringType 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"
}
]