GitLab (Independent Publisher)
A connector for GitLab DevOps platform. Create projects, repositories, CICD pipelines, forks, branches, and merge requests.
This connector is available in the following products and regions:
Service | Class | Regions |
---|---|---|
Logic Apps | Standard | All Logic Apps regions except the following: - Azure Government regions - Azure China regions - US Department of Defense (DoD) |
Power Automate | Premium | All Power Automate regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Power Apps | Premium | All Power Apps regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Contact | |
---|---|
Name | Roy Paar |
roypaar@microsoft.com |
Connector Metadata | |
---|---|
Publisher | Roy Paar |
Website | https://about.gitlab.com/ |
Privacy policy | https://about.gitlab.com/privacy/ |
Categories | IT Operations |
The connector supports the following authentication types:
Default | Parameters for creating connection. | All regions | Not shareable |
Applicable: All regions
Parameters for creating connection.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
API Key | securestring | The Key for this API | True |
Name | Calls | Renewal Period |
---|---|---|
API calls per connection | 100 | 60 seconds |
compare |
Compare a branch, tag, or commit. |
create |
Create a new branch. |
create |
Create a new commit. |
create |
Create a new project. |
create |
Create a trigger for a project |
enable |
Enable a runner in project. |
fork |
Fork a project. |
get |
Get a File from a Repository. |
get |
Retrieve version information for this GitLab instance. |
merge |
Merge a merge request. |
merge |
Create a merge request. |
trigger |
Trigger a CICD Pipeline. |
update |
Update a merge request. |
Compare a branch, tag, or commit.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project owned by the authenticated user.
|
id | True | integer |
The ID or URL-encoded path of the project owned by the authenticated user. |
The commit SHA or branch name.
|
from | True | string |
The commit SHA or branch name. |
The commit SHA or branch name.
|
to | True | string |
The commit SHA or branch name. |
The ID from which to compare.
|
from_project_id | integer |
The ID from which to compare. |
Returns
- Body
- CompareResponse
Create a new branch.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
ID or URL-encoded path of the project owned by the authenticated user.
|
id | True | integer |
ID or URL-encoded path of the project owned by the authenticated user. |
The name of the branch.
|
branch | True | string |
The name of the branch. |
Branch name or commit SHA from which to create a branch.
|
ref | True | string |
Branch name or commit SHA from which to create a branch. |
Returns
- Body
- BranchResponse
Create a new commit.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project
|
id | True | integer |
The ID or URL-encoded path of the project |
Name of the branch to commit into.
|
branch | True | string |
Name of the branch to commit into. |
Commit message
|
commit_message | True | string |
Commit message |
|
object |
Returns
- Body
- CommitResponse
Create a new project.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The name of the new project.
|
name | True | string |
The name of the new project. |
Repository name for the new project.
|
namespace_id | integer |
Repository name for the new project. |
|
Initialize the repository with a readme.
|
initialize_with_readme | boolean |
Initialize the repository with a readme. |
Returns
- Body
- ProjectResponse
Create a trigger for a project
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project owned by the authenticated user.
|
id | True | integer |
The ID or URL-encoded path of the project owned by the authenticated user. |
The trigger name.
|
description | True | string |
The trigger name. |
Returns
Enable a runner in project.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project owned by the authenticated user.
|
id | True | integer |
The ID or URL-encoded path of the project owned by the authenticated user. |
The ID of a runner.
|
runner_id | True | integer |
The ID of a runner. |
Returns
- Body
- EnableRunnerResponse
Fork a project.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project.
|
id | True | integer |
The ID or URL-encoded path of the project. |
The path assigned to the resultant project after forking.
|
path | string |
The path assigned to the resultant project after forking. |
|
The name assigned to the resultant project after forking.
|
name | string |
The name assigned to the resultant project after forking. |
Returns
- Body
- ProjectResponse
Get a File from a Repository.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project owned by the authenticated user
|
id | True | integer |
The ID or URL-encoded path of the project owned by the authenticated user |
URL encoded full path to new file.
|
file_path | True | string |
URL encoded full path to new file. |
The name of branch tag or commit
|
ref | True | string |
The name of branch tag or commit |
Returns
- Body
- GetFileResponse
Merge a merge request.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project owned by the authenticated user.
|
id | True | integer |
The ID or URL-encoded path of the project owned by the authenticated user. |
The internal ID of the merge request.
|
merge_request_iid | True | integer |
The internal ID of the merge request. |
Custom merge commit message.
|
merge_commit_message | string |
Custom merge commit message. |
|
If true the commits are squashed into a single commit on merge.
|
squash | boolean |
If true the commits are squashed into a single commit on merge. |
|
If true removes the source branch.
|
should_remove_source_branch | boolean |
If true removes the source branch. |
Returns
- Body
- MergeResponse
Create a merge request.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project owned by the authenticated user
|
id | True | integer |
The ID or URL-encoded path of the project owned by the authenticated user |
The source branch.
|
source_branch | True | string |
The source branch. |
The target branch.
|
target_branch | True | string |
The target branch. |
Title of the merge request.
|
title | True | string |
Title of the merge request. |
Returns
- Body
- MergeResponse
Trigger a CICD Pipeline.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project owned by the authenticated user.
|
id | True | integer |
The ID or URL-encoded path of the project owned by the authenticated user. |
URL encoded full path to new file.
|
token | True | string |
URL encoded full path to new file. |
The name of branch tag or commit.
|
ref | True | string |
The name of branch tag or commit. |
Returns
Update a merge request.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
The ID or URL-encoded path of the project owned by the authenticated user.
|
id | True | integer |
The ID or URL-encoded path of the project owned by the authenticated user. |
The internal ID of the merge request.
|
merge_request_iid | True | integer |
The internal ID of the merge request. |
Update the status of the merge request ie close or reopen.
|
state_event | string |
Update the status of the merge request ie close or reopen. |
Returns
- Body
- MergeResponse
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
statusDetails
|
statusDetails | statusDetails |
Name | Path | Type | Description |
---|---|---|---|
success
|
success | boolean | |
statusCode
|
statusCode | string | |
messages
|
messages | array of messages |
Name | Path | Type | Description |
---|---|---|---|
code
|
code | string | |
description
|
description | string | |
id
|
id | string |