Gitlab

Learn how to use Gitlab with Composio

Overview

SLUG

GITLAB

Description

A web-based DevOps lifecycle tool that provides a Git repository manager providing wiki, issue-tracking, and CI/CD pipeline features.

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to api,read_api,read_user,create_runner,manage_runner,k8s_proxy,read_repository,write_repository,read_registry,write_registry,read_virtual_registry,write_virtual_registry,read_observability,write_observability,ai_features,sudo,read_service_ping,profile,email
full
stringDefaults to https://gitlab.com/api/v4
bearer_token
string

Tools

SLUG: GITLAB_CREATE_A_NEW_APPLICATION

This feature was introduced in gitlab 10.5

Action Parameters

confidential
booleanDefaults to True
name
stringRequired
redirect_uri
stringRequired
scopes
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_CREATE_PROJECT_REPOSITORY_BRANCH

Create branch

Action Parameters

branch
stringRequired
id
stringRequired
ref
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_FETCH_PROJECT_REPOSITORY_BRANCHES

Get a project repository branches

Action Parameters

id
stringRequired
page
integerDefaults to 1
page_token
string
per_page
integerDefaults to 20
regex
string
search
string
sort
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_GET_APPLICATIONS

List all registered applications

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_ADDS_A_BADGE_TO_A_GROUP

This feature was introduced in gitlab 10.6.

Action Parameters

id
stringRequired
image_url
stringRequired
link_url
stringRequired
name
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_ADDS_A_BADGE_TO_A_PROJECT

This feature was introduced in gitlab 10.6.

Action Parameters

id
stringRequired
image_url
stringRequired
link_url
stringRequired
name
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_ADD_EXISTING_INSTANCE_CLUSTER

This feature was introduced in gitlab 13.2. adds an existing kubernetes instance cluster.

Action Parameters

domain
string
enabled
booleanDefaults to True
environment_scope
stringDefaults to *
managed
booleanDefaults to True
management_project_id
integer
name
stringRequired
namespace_per_environment
booleanDefaults to True
platform__kubernetes__attributes__api__url
stringRequired
platform__kubernetes__attributes__authorization__type
stringDefaults to rbac
platform__kubernetes__attributes__ca__cert
string
platform__kubernetes__attributes__namespace
string
platform__kubernetes__attributes__token
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_APPROVES_AN_ACCESS_REQUEST_FOR_THE_GIVEN_USER

This feature was introduced in gitlab 8.11.

Action Parameters

access_level
integerDefaults to 30
id
stringRequired
user_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_AUTHORIZE_METRIC_IMAGE_UPLOAD_FOR_ALERT

Workhorse authorize metric image file upload

Action Parameters

alert_iid
integerRequired
id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_CHANGE_PLAN_LIMITS

Modify the limits of a plan on the gitlab instance.

Action Parameters

ci_active_jobs
integer
ci_needs_size_limit
integer
ci_pipeline_schedules
integer
ci_pipeline_size
integer
ci_project_subscriptions
integer
ci_registered_group_runners
integer
ci_registered_project_runners
integer
conan_max_file_size
integer
enforcement_limit
integer
generic_packages_max_file_size
integer
helm_max_file_size
integer
maven_max_file_size
integer
notification_limit
integer
npm_max_file_size
integer
nuget_max_file_size
integer
pipeline_hierarchy_size
integer
plan_name
stringRequired
pypi_max_file_size
integer
storage_size_limit
integer
terraform_module_max_file_size
integer

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_CHECK_BRANCH_EXISTENCE

Check if a branch exists

Action Parameters

branch
stringRequired
id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_CREATE_A_BROADCAST_MESSAGE

This feature was introduced in gitlab 8.12.

Action Parameters

broadcast_type
string
color
string
dismissable
boolean
ends_at
string
font
string
message
stringRequired
starts_at
string
target_access_levels
array
target_path
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_CREATE_INSTANCE_LEVEL_CI_VARIABLE

Create a new instance-level variable

Action Parameters

key
stringRequired
masked
boolean
protected
boolean
raw
boolean
value
stringRequired
variable_type
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_DELETE_AN_APPLICATION

Delete a specific application

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_DELETE_A_BROADCAST_MESSAGE

This feature was introduced in gitlab 8.12.

Action Parameters

id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_DELETE_INSTANCE_CLUSTER

This feature was introduced in gitlab 13.2. deletes an existing instance cluster. does not remove existing resources within the connected kubernetes cluster.

Action Parameters

cluster_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_DELETE_INSTANCE_VARIABLE_BY_KEY

Delete an existing instance-level variable

Action Parameters

key
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_DELETE_PROJECT_REPOSITORY_BRANCH

Delete a branch

Action Parameters

branch
stringRequired
id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_DENIES_AN_ACCESS_REQUEST_FOR_THE_GIVEN_USER

This feature was introduced in gitlab 8.11.

Action Parameters

id
stringRequired
user_id
integerRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GITLAB_EDIT_INSTANCE_CLUSTER

This feature was introduced in gitlab 13.2. updates an existing instance cluster.

Action Parameters

cluster_id
integerRequired
domain
string
enabled
boolean
environment_scope
string
managed
boolean
management_project_id
integer
name
string
namespace_per_environment
booleanDefaults to True
platform__kubernetes__attributes__api__url
string
platform__kubernetes__attributes__ca__cert
string
platform__kubernetes__attributes__namespace
string
platform__kubernetes__attributes__token
string

Action Response

data
objectRequired
error
string
successful
booleanRequired