gitlab.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Branches
create
branches.create
Create a new branch
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
branch | string | Yes | — |
ref | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
merged | boolean | No | — |
protected | boolean | No | — |
default | boolean | No | — |
developers_can_push | boolean | No | — |
developers_can_merge | boolean | No | — |
can_push | boolean | No | — |
web_url | string | No | — |
commit | object | No | — |
commit full type
commit full type
delete
branches.delete
Delete a branch [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
branch | string | Yes | — |
get
branches.get
Get a specific branch
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
branch | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
merged | boolean | No | — |
protected | boolean | No | — |
default | boolean | No | — |
developers_can_push | boolean | No | — |
developers_can_merge | boolean | No | — |
can_push | boolean | No | — |
web_url | string | No | — |
commit | object | No | — |
commit full type
commit full type
list
branches.list
List branches in a repository
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
search | string | No | — |
object[]
Output full type
Output full type
Commits
get
commits.get
Get a specific commit
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
sha | string | Yes | — |
stats | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
short_id | string | No | — |
title | string | No | — |
message | string | No | — |
author_name | string | No | — |
author_email | string | No | — |
authored_date | string | No | — |
committed_date | string | No | — |
committer_name | string | No | — |
committer_email | string | No | — |
parent_ids | string[] | No | — |
web_url | string | No | — |
stats | object | No | — |
stats full type
stats full type
getDiff
commits.getDiff
Get the diff of a commit
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
sha | string | Yes | — |
object[]
Output full type
Output full type
list
commits.list
List commits in a repository
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
ref_name | string | No | — |
since | string | No | — |
until | string | No | — |
path | string | No | — |
all | boolean | No | — |
with_stats | boolean | No | — |
object[]
Output full type
Output full type
Groups
create
groups.create
Create a new group
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
path | string | Yes | — |
description | string | No | — |
visibility | public | internal | private | No | — |
parent_id | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
path | string | No | — |
full_path | string | No | — |
full_name | string | No | — |
description | string | No | — |
visibility | string | No | — |
parent_id | number | No | — |
web_url | string | No | — |
created_at | string | No | — |
avatar_url | string | No | — |
delete
groups.delete
Delete a group [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
group_id | number | string | Yes | — |
get
groups.get
Get a specific group
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
group_id | number | string | Yes | — |
with_projects | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
path | string | No | — |
full_path | string | No | — |
full_name | string | No | — |
description | string | No | — |
visibility | string | No | — |
parent_id | number | No | — |
web_url | string | No | — |
created_at | string | No | — |
avatar_url | string | No | — |
list
groups.list
List groups
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
search | string | No | — |
owned | boolean | No | — |
top_level_only | boolean | No | — |
statistics | boolean | No | — |
order_by | string | No | — |
sort | asc | desc | No | — |
object[]
Output full type
Output full type
listProjects
groups.listProjects
List projects in a group
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
group_id | number | string | Yes | — |
search | string | No | — |
archived | boolean | No | — |
visibility | public | internal | private | No | — |
order_by | string | No | — |
sort | asc | desc | No | — |
simple | boolean | No | — |
object[]
Output full type
Output full type
update
groups.update
Update a group
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
group_id | number | string | Yes | — |
name | string | No | — |
path | string | No | — |
description | string | No | — |
visibility | public | internal | private | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
path | string | No | — |
full_path | string | No | — |
full_name | string | No | — |
description | string | No | — |
visibility | string | No | — |
parent_id | number | No | — |
web_url | string | No | — |
created_at | string | No | — |
avatar_url | string | No | — |
Issues
create
issues.create
Create a new issue
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
title | string | Yes | — |
description | string | No | — |
assignee_ids | number[] | No | — |
milestone_id | number | No | — |
labels | string | No | — |
due_date | string | No | — |
confidential | boolean | No | — |
weight | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | Yes | — |
project_id | number | Yes | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
closed_at | string | No | — |
closed_by | object | No | — |
author | object | No | — |
assignee | object | No | — |
assignees | object[] | No | — |
labels | string[] | No | — |
milestone | object | No | — |
web_url | string | No | — |
confidential | boolean | No | — |
due_date | string | No | — |
weight | number | No | — |
references | object | No | — |
closed_by full type
closed_by full type
author full type
author full type
assignee full type
assignee full type
assignees full type
assignees full type
milestone full type
milestone full type
references full type
references full type
createNote
issues.createNote
Add a comment to an issue
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
issue_iid | number | Yes | — |
body | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
body | string | Yes | — |
author | object | No | — |
created_at | string | No | — |
updated_at | string | No | — |
system | boolean | No | — |
noteable_id | number | No | — |
noteable_type | string | No | — |
noteable_iid | number | No | — |
resolvable | boolean | No | — |
author full type
author full type
delete
issues.delete
Delete an issue [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
issue_iid | number | Yes | — |
get
issues.get
Get a specific issue
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
issue_iid | number | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | Yes | — |
project_id | number | Yes | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
closed_at | string | No | — |
closed_by | object | No | — |
author | object | No | — |
assignee | object | No | — |
assignees | object[] | No | — |
labels | string[] | No | — |
milestone | object | No | — |
web_url | string | No | — |
confidential | boolean | No | — |
due_date | string | No | — |
weight | number | No | — |
references | object | No | — |
closed_by full type
closed_by full type
author full type
author full type
assignee full type
assignee full type
assignees full type
assignees full type
milestone full type
milestone full type
references full type
references full type
list
issues.list
List issues in a project
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
state | opened | closed | all | No | — |
labels | string | No | — |
milestone | string | No | — |
search | string | No | — |
assignee_id | number | No | — |
author_id | number | No | — |
order_by | string | No | — |
sort | asc | desc | No | — |
confidential | boolean | No | — |
object[]
Output full type
Output full type
listNotes
issues.listNotes
List comments on an issue
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
issue_iid | number | Yes | — |
order_by | created_at | updated_at | No | — |
sort | asc | desc | No | — |
object[]
Output full type
Output full type
update
issues.update
Update an existing issue
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
issue_iid | number | Yes | — |
title | string | No | — |
description | string | No | — |
assignee_ids | number[] | No | — |
milestone_id | number | No | — |
labels | string | No | — |
state_event | close | reopen | No | — |
due_date | string | No | — |
confidential | boolean | No | — |
weight | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | Yes | — |
project_id | number | Yes | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
closed_at | string | No | — |
closed_by | object | No | — |
author | object | No | — |
assignee | object | No | — |
assignees | object[] | No | — |
labels | string[] | No | — |
milestone | object | No | — |
web_url | string | No | — |
confidential | boolean | No | — |
due_date | string | No | — |
weight | number | No | — |
references | object | No | — |
closed_by full type
closed_by full type
author full type
author full type
assignee full type
assignee full type
assignees full type
assignees full type
milestone full type
milestone full type
references full type
references full type
Labels
create
labels.create
Create a new label
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
name | string | Yes | — |
color | string | Yes | — |
description | string | No | — |
priority | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
color | string | No | — |
text_color | string | No | — |
description | string | No | — |
open_issues_count | number | No | — |
closed_issues_count | number | No | — |
open_merge_requests_count | number | No | — |
subscribed | boolean | No | — |
is_project_label | boolean | No | — |
delete
labels.delete
Delete a label [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
label_id | number | Yes | — |
list
labels.list
List labels in a project
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
search | string | No | — |
object[]
Output full type
Output full type
update
labels.update
Update a label
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
label_id | number | Yes | — |
new_name | string | No | — |
color | string | No | — |
description | string | No | — |
priority | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
color | string | No | — |
text_color | string | No | — |
description | string | No | — |
open_issues_count | number | No | — |
closed_issues_count | number | No | — |
open_merge_requests_count | number | No | — |
subscribed | boolean | No | — |
is_project_label | boolean | No | — |
Merge Requests
approve
mergeRequests.approve
Approve a merge request
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
merge_request_iid | number | Yes | — |
sha | string | No | — |
create
mergeRequests.create
Create a new merge request
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
source_branch | string | Yes | — |
target_branch | string | Yes | — |
title | string | Yes | — |
description | string | No | — |
assignee_id | number | No | — |
assignee_ids | number[] | No | — |
reviewer_ids | number[] | No | — |
labels | string | No | — |
milestone_id | number | No | — |
remove_source_branch | boolean | No | — |
squash | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | Yes | — |
project_id | number | Yes | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
source_branch | string | No | — |
target_branch | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
merged_at | string | No | — |
closed_at | string | No | — |
merged_by | object | No | — |
author | object | No | — |
assignee | object | No | — |
assignees | object[] | No | — |
reviewers | object[] | No | — |
labels | string[] | No | — |
milestone | object | No | — |
merge_commit_sha | string | No | — |
sha | string | No | — |
web_url | string | No | — |
detailed_merge_status | string | No | — |
has_conflicts | boolean | No | — |
draft | boolean | No | — |
changes_count | string | No | — |
references | object | No | — |
merged_by full type
merged_by full type
author full type
author full type
assignee full type
assignee full type
assignees full type
assignees full type
reviewers full type
reviewers full type
milestone full type
milestone full type
references full type
references full type
createNote
mergeRequests.createNote
Add a comment to a merge request
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
merge_request_iid | number | Yes | — |
body | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
body | string | Yes | — |
author | object | No | — |
created_at | string | No | — |
updated_at | string | No | — |
system | boolean | No | — |
noteable_id | number | No | — |
noteable_type | string | No | — |
noteable_iid | number | No | — |
resolvable | boolean | No | — |
author full type
author full type
delete
mergeRequests.delete
Delete a merge request [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
merge_request_iid | number | Yes | — |
get
mergeRequests.get
Get a specific merge request
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
merge_request_iid | number | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | Yes | — |
project_id | number | Yes | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
source_branch | string | No | — |
target_branch | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
merged_at | string | No | — |
closed_at | string | No | — |
merged_by | object | No | — |
author | object | No | — |
assignee | object | No | — |
assignees | object[] | No | — |
reviewers | object[] | No | — |
labels | string[] | No | — |
milestone | object | No | — |
merge_commit_sha | string | No | — |
sha | string | No | — |
web_url | string | No | — |
detailed_merge_status | string | No | — |
has_conflicts | boolean | No | — |
draft | boolean | No | — |
changes_count | string | No | — |
references | object | No | — |
merged_by full type
merged_by full type
author full type
author full type
assignee full type
assignee full type
assignees full type
assignees full type
reviewers full type
reviewers full type
milestone full type
milestone full type
references full type
references full type
list
mergeRequests.list
List merge requests in a project
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
state | opened | closed | merged | all | No | — |
labels | string | No | — |
milestone | string | No | — |
search | string | No | — |
author_id | number | No | — |
assignee_id | number | No | — |
reviewer_id | number | No | — |
source_branch | string | No | — |
target_branch | string | No | — |
order_by | string | No | — |
sort | asc | desc | No | — |
scope | created_by_me | assigned_to_me | all | No | — |
object[]
Output full type
Output full type
listNotes
mergeRequests.listNotes
List comments on a merge request
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
merge_request_iid | number | Yes | — |
order_by | created_at | updated_at | No | — |
sort | asc | desc | No | — |
object[]
Output full type
Output full type
merge
mergeRequests.merge
Merge a merge request
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
merge_request_iid | number | Yes | — |
merge_commit_message | string | No | — |
squash_commit_message | string | No | — |
squash | boolean | No | — |
should_remove_source_branch | boolean | No | — |
merge_when_pipeline_succeeds | boolean | No | — |
sha | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | Yes | — |
project_id | number | Yes | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
source_branch | string | No | — |
target_branch | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
merged_at | string | No | — |
closed_at | string | No | — |
merged_by | object | No | — |
author | object | No | — |
assignee | object | No | — |
assignees | object[] | No | — |
reviewers | object[] | No | — |
labels | string[] | No | — |
milestone | object | No | — |
merge_commit_sha | string | No | — |
sha | string | No | — |
web_url | string | No | — |
detailed_merge_status | string | No | — |
has_conflicts | boolean | No | — |
draft | boolean | No | — |
changes_count | string | No | — |
references | object | No | — |
merged_by full type
merged_by full type
author full type
author full type
assignee full type
assignee full type
assignees full type
assignees full type
reviewers full type
reviewers full type
milestone full type
milestone full type
references full type
references full type
update
mergeRequests.update
Update a merge request
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
merge_request_iid | number | Yes | — |
title | string | No | — |
description | string | No | — |
assignee_id | number | No | — |
assignee_ids | number[] | No | — |
reviewer_ids | number[] | No | — |
labels | string | No | — |
milestone_id | number | No | — |
state_event | close | reopen | No | — |
remove_source_branch | boolean | No | — |
squash | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | Yes | — |
project_id | number | Yes | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
source_branch | string | No | — |
target_branch | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
merged_at | string | No | — |
closed_at | string | No | — |
merged_by | object | No | — |
author | object | No | — |
assignee | object | No | — |
assignees | object[] | No | — |
reviewers | object[] | No | — |
labels | string[] | No | — |
milestone | object | No | — |
merge_commit_sha | string | No | — |
sha | string | No | — |
web_url | string | No | — |
detailed_merge_status | string | No | — |
has_conflicts | boolean | No | — |
draft | boolean | No | — |
changes_count | string | No | — |
references | object | No | — |
merged_by full type
merged_by full type
author full type
author full type
assignee full type
assignee full type
assignees full type
assignees full type
reviewers full type
reviewers full type
milestone full type
milestone full type
references full type
references full type
Milestones
create
milestones.create
Create a new milestone
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
title | string | Yes | — |
description | string | No | — |
due_date | string | No | — |
start_date | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | No | — |
project_id | number | No | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
due_date | string | No | — |
start_date | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
web_url | string | No | — |
delete
milestones.delete
Delete a milestone [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
milestone_id | number | Yes | — |
get
milestones.get
Get a specific milestone
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
milestone_id | number | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | No | — |
project_id | number | No | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
due_date | string | No | — |
start_date | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
web_url | string | No | — |
list
milestones.list
List milestones in a project
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
state | active | closed | No | — |
search | string | No | — |
object[]
Output full type
Output full type
update
milestones.update
Update a milestone
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
milestone_id | number | Yes | — |
title | string | No | — |
description | string | No | — |
due_date | string | No | — |
start_date | string | No | — |
state_event | close | activate | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | No | — |
project_id | number | No | — |
title | string | Yes | — |
description | string | No | — |
state | string | No | — |
due_date | string | No | — |
start_date | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
web_url | string | No | — |
Pipelines
cancel
pipelines.cancel
Cancel a running pipeline
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
pipeline_id | number | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | No | — |
project_id | number | No | — |
status | string | No | — |
source | string | No | — |
ref | string | No | — |
sha | string | No | — |
web_url | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
started_at | string | No | — |
finished_at | string | No | — |
name | string | No | — |
user | object | No | — |
user full type
user full type
create
pipelines.create
Create a new pipeline
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
ref | string | Yes | — |
variables | object[] | No | — |
variables full type
variables full type
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | No | — |
project_id | number | No | — |
status | string | No | — |
source | string | No | — |
ref | string | No | — |
sha | string | No | — |
web_url | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
started_at | string | No | — |
finished_at | string | No | — |
name | string | No | — |
user | object | No | — |
user full type
user full type
delete
pipelines.delete
Delete a pipeline [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
pipeline_id | number | Yes | — |
get
pipelines.get
Get a specific pipeline
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
pipeline_id | number | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | No | — |
project_id | number | No | — |
status | string | No | — |
source | string | No | — |
ref | string | No | — |
sha | string | No | — |
web_url | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
started_at | string | No | — |
finished_at | string | No | — |
name | string | No | — |
user | object | No | — |
user full type
user full type
list
pipelines.list
List pipelines for a project
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
status | string | No | — |
ref | string | No | — |
sha | string | No | — |
source | string | No | — |
order_by | string | No | — |
sort | asc | desc | No | — |
object[]
Output full type
Output full type
listJobs
pipelines.listJobs
List jobs in a pipeline
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
pipeline_id | number | Yes | — |
scope | string[] | No | — |
object[]
Output full type
Output full type
retry
pipelines.retry
Retry a failed pipeline
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
pipeline_id | number | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
iid | number | No | — |
project_id | number | No | — |
status | string | No | — |
source | string | No | — |
ref | string | No | — |
sha | string | No | — |
web_url | string | No | — |
created_at | string | No | — |
updated_at | string | No | — |
started_at | string | No | — |
finished_at | string | No | — |
name | string | No | — |
user | object | No | — |
user full type
user full type
Projects
create
projects.create
Create a new project
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
path | string | No | — |
namespace_id | number | No | — |
description | string | No | — |
visibility | public | internal | private | No | — |
initialize_with_readme | boolean | No | — |
default_branch | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
path | string | No | — |
path_with_namespace | string | No | — |
description | string | No | — |
default_branch | string | No | — |
visibility | string | No | — |
ssh_url_to_repo | string | No | — |
http_url_to_repo | string | No | — |
web_url | string | No | — |
archived | boolean | No | — |
created_at | string | No | — |
last_activity_at | string | No | — |
creator_id | number | No | — |
namespace | object | No | — |
owner | object | No | — |
star_count | number | No | — |
forks_count | number | No | — |
open_issues_count | number | No | — |
topics | string[] | No | — |
empty_repo | boolean | No | — |
namespace full type
namespace full type
owner full type
owner full type
delete
projects.delete
Delete a project [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
fork
projects.fork
Fork a project
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
namespace_id | number | No | — |
namespace_path | string | No | — |
name | string | No | — |
path | string | No | — |
visibility | public | internal | private | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
path | string | No | — |
path_with_namespace | string | No | — |
description | string | No | — |
default_branch | string | No | — |
visibility | string | No | — |
ssh_url_to_repo | string | No | — |
http_url_to_repo | string | No | — |
web_url | string | No | — |
archived | boolean | No | — |
created_at | string | No | — |
last_activity_at | string | No | — |
creator_id | number | No | — |
namespace | object | No | — |
owner | object | No | — |
star_count | number | No | — |
forks_count | number | No | — |
open_issues_count | number | No | — |
topics | string[] | No | — |
empty_repo | boolean | No | — |
namespace full type
namespace full type
owner full type
owner full type
get
projects.get
Get a specific project
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
statistics | boolean | No | — |
license | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
path | string | No | — |
path_with_namespace | string | No | — |
description | string | No | — |
default_branch | string | No | — |
visibility | string | No | — |
ssh_url_to_repo | string | No | — |
http_url_to_repo | string | No | — |
web_url | string | No | — |
archived | boolean | No | — |
created_at | string | No | — |
last_activity_at | string | No | — |
creator_id | number | No | — |
namespace | object | No | — |
owner | object | No | — |
star_count | number | No | — |
forks_count | number | No | — |
open_issues_count | number | No | — |
topics | string[] | No | — |
empty_repo | boolean | No | — |
namespace full type
namespace full type
owner full type
owner full type
list
projects.list
List projects
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
search | string | No | — |
owned | boolean | No | — |
membership | boolean | No | — |
starred | boolean | No | — |
archived | boolean | No | — |
visibility | public | internal | private | No | — |
order_by | string | No | — |
sort | asc | desc | No | — |
simple | boolean | No | — |
object[]
Output full type
Output full type
update
projects.update
Update an existing project
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
name | string | No | — |
description | string | No | — |
visibility | public | internal | private | No | — |
default_branch | string | No | — |
archived | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
name | string | Yes | — |
path | string | No | — |
path_with_namespace | string | No | — |
description | string | No | — |
default_branch | string | No | — |
visibility | string | No | — |
ssh_url_to_repo | string | No | — |
http_url_to_repo | string | No | — |
web_url | string | No | — |
archived | boolean | No | — |
created_at | string | No | — |
last_activity_at | string | No | — |
creator_id | number | No | — |
namespace | object | No | — |
owner | object | No | — |
star_count | number | No | — |
forks_count | number | No | — |
open_issues_count | number | No | — |
topics | string[] | No | — |
empty_repo | boolean | No | — |
namespace full type
namespace full type
owner full type
owner full type
Releases
create
releases.create
Create a new release
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
tag_name | string | Yes | — |
name | string | No | — |
description | string | No | — |
ref | string | No | — |
released_at | string | No | — |
milestones | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
tag_name | string | Yes | — |
name | string | No | — |
description | string | No | — |
created_at | string | No | — |
released_at | string | No | — |
upcoming_release | boolean | No | — |
author | object | No | — |
commit | object | No | — |
milestones | object[] | No | — |
author full type
author full type
commit full type
commit full type
milestones full type
milestones full type
delete
releases.delete
Delete a release [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
tag_name | string | Yes | — |
get
releases.get
Get a specific release
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
tag_name | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
tag_name | string | Yes | — |
name | string | No | — |
description | string | No | — |
created_at | string | No | — |
released_at | string | No | — |
upcoming_release | boolean | No | — |
author | object | No | — |
commit | object | No | — |
milestones | object[] | No | — |
author full type
author full type
commit full type
commit full type
milestones full type
milestones full type
list
releases.list
List releases in a project
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
order_by | string | No | — |
sort | asc | desc | No | — |
object[]
Output full type
Output full type
update
releases.update
Update a release
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
tag_name | string | Yes | — |
name | string | No | — |
description | string | No | — |
released_at | string | No | — |
milestones | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
tag_name | string | Yes | — |
name | string | No | — |
description | string | No | — |
created_at | string | No | — |
released_at | string | No | — |
upcoming_release | boolean | No | — |
author | object | No | — |
commit | object | No | — |
milestones | object[] | No | — |
author full type
author full type
commit full type
commit full type
milestones full type
milestones full type
Repository
compare
repository.compare
Compare branches, tags, or commits
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
from | string | Yes | — |
to | string | Yes | — |
straight | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
commit | object | No | — |
commits | object[] | No | — |
diffs | object[] | No | — |
compare_timeout | boolean | No | — |
compare_same_ref | boolean | No | — |
commit full type
commit full type
commits full type
commits full type
diffs full type
diffs full type
getFile
repository.getFile
Get a file from the repository
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
project_id | number | string | Yes | — |
file_path | string | Yes | — |
ref | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
file_name | string | Yes | — |
file_path | string | Yes | — |
size | number | No | — |
encoding | string | No | — |
content | string | No | — |
content_sha256 | string | No | — |
ref | string | No | — |
blob_id | string | No | — |
commit_id | string | No | — |
last_commit_id | string | No | — |
getTree
repository.getTree
List repository tree (files and directories)
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
project_id | number | string | Yes | — |
path | string | No | — |
ref | string | No | — |
recursive | boolean | No | — |
object[]
Output full type
Output full type
Users
getCurrentUser
users.getCurrentUser
Get the authenticated user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
username | string | Yes | — |
name | string | No | — |
state | string | No | — |
avatar_url | string | No | — |
web_url | string | No | — |
email | string | No | — |
bio | string | No | — |
location | string | No | — |
created_at | string | No | — |
is_admin | boolean | No | — |
bot | boolean | No | — |
two_factor_enabled | boolean | No | — |
getUser
users.getUser
Get a specific user by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
user_id | number | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
username | string | Yes | — |
name | string | No | — |
state | string | No | — |
avatar_url | string | No | — |
web_url | string | No | — |
list
users.list
List users
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
search | string | No | — |
username | string | No | — |
active | boolean | No | — |
blocked | boolean | No | — |
object[]
Output full type
Output full type