GitLab API
application/settings
Get the current application settings
GET
Modify application settings
PUT
dockerfiles
Get the list of the available template
GET
Get the text for a specific template present in local filesystem
GET
gitignores
Get the list of the available template
GET
Get the text for a specific template present in local filesystem
GET
gitlab ci ymls
Get the list of the available template
GET
Get the text for a specific template present in local filesystem
GET
groups
{id}
access requests
{user id}
Denies an access request for the given user.
DELETE
Approves an access request for the given user.
PUT
Gets a list of access requests for a group.
GET
Requests access for the authenticated user to a group.
POST
members
{user id}
Removes a user from a group or project.
DELETE
Gets a member of a group or project.
GET
Updates a member of a group or project.
PUT
Gets a list of group or project members viewable by the authenticated user.
GET
Adds a member to a group or project.
POST
notification settings
Get group level notification level settings, defaults to Global
GET
Update group level notification level settings, defaults to Global
PUT
projects
Get a list of projects in this group.
GET
Transfer a project to the group namespace. Available only for admin.
POST
Remove a group.
DELETE
Get a single group, with containing projects.
GET
Update a group. Available only for users who can administrate groups.
PUT
Get a list of group issues
GET
Get a groups list
GET
Create a group. Available only for users who can create groups.
POST
Get list of owned groups for authenticated user
GET
hooks
{id}
Delete a hook
DELETE
Test a hook
GET
Get the list of system hooks
GET
Create a new system hook
POST
internal
post V3Internal Allowed
POST
get V3Internal Broadcast Message
GET
get V3Internal Check
GET
get V3Internal Discover
GET
post V3Internal Lfs Authenticate
POST
get V3Internal Merge Request Urls
GET
post V3Internal Two Factor Recovery Codes
POST
licenses
Get the list of the available license template
GET
Get the text for a specific license
GET
notification settings
Get global notification level settings and email, defaults to Participate
GET
Update global notification level settings and email, defaults to Participate
PUT
projects
{id}
access requests
{user id}
Denies an access request for the given user.
DELETE
Approves an access request for the given user.
PUT
Gets a list of access requests for a project.
GET
Requests access for the authenticated user to a project.
POST
boards
{board id}/lists
{list id}
Delete a board list
DELETE
Get a list of a project board
GET
Moves a board list to a new position
PUT
Get the lists of a project board
GET
Create a new board list
POST
Get all project boards
GET
builds
{build id}
artifacts
Download the artifacts file from build
GET
Keep the artifacts to prevent them from being deleted
POST
Get a specific build of a project
GET
Cancel a specific build of a project
POST
Erase build (remove artifacts and build trace)
POST
Trigger a manual build
POST
Retry a specific build of a project
POST
Get a trace of a specific build of a project
GET
Get a project builds
GET
Download the artifacts file from build
GET
deploy keys
{key id}
Delete deploy key for a project
DELETE
Get single deploy key
GET
Disable a deploy key for a project
DELETE
Enable a deploy key for a project
POST
Get a specific project's deploy keys
GET
Add new deploy key to currently authenticated user
POST
deployments
Get all deployments of the project
GET
Gets a specific deployment
GET
environments
{environment id}
Deletes an existing environment
DELETE
Updates an existing environment
PUT
Get all environments of the project
GET
Creates a new environment
POST
fork
Remove a forked_from relationship
DELETE
Mark this project as forked from another
POST
hooks
{hook id}
Deletes project hook
DELETE
Get a project hook
GET
Update an existing project hook
PUT
Get project hooks
GET
Add hook to project
POST
issues
{issue id}
award emoji
{award id}
Delete a +awardables+ award emoji
DELETE
Get a specific award emoji
GET
Get a list of project +awardable+ award emoji
GET
Award a new Emoji
POST
notes/{note id}/award emoji
{award id}
Delete a +awardables+ award emoji
DELETE
Get a specific award emoji
GET
Get a list of project +awardable+ award emoji
GET
Award a new Emoji
POST
Delete a project issue
DELETE
Get a single project issue
GET
Update an existing issue
PUT
Add spent time for a project issue
POST
Move an existing issue
POST
Reset spent time for a project issue
POST
Reset the time estimate for a project issue
POST
Set a time estimate for a project issue
POST
Show time stats for a project issue
GET
Create a todo on an issuable
POST
{noteable id}/notes
{note id}
Delete a +noteable+ note
DELETE
Get a single +noteable+ note
GET
Update an existing +noteable+ note
PUT
Get a list of project +noteable+ notes
GET
Create a new +noteable+ note
POST
{subscribable id}/subscription
Unsubscribe from a resource
DELETE
Subscribe to a resource
POST
Get a list of project issues
GET
Create a new project issue
POST
keys
{key id}
Delete deploy key for a project
DELETE
Get single deploy key
GET
Disable a deploy key for a project
DELETE
Enable a deploy key for a project
POST
Get a specific project's deploy keys
GET
Add new deploy key to currently authenticated user
POST
labels
{subscribable id}/subscription
Unsubscribe from a resource
DELETE
Subscribe to a resource
POST
Delete an existing label
DELETE
Get all labels of the project
GET
Create a new label
POST
Update an existing label. At least one optional parameter is required.
PUT
members
{user id}
Removes a user from a group or project.
DELETE
Gets a member of a group or project.
GET
Updates a member of a group or project.
PUT
Gets a list of group or project members viewable by the authenticated user.
GET
Adds a member to a group or project.
POST
merge request
{merge request id}
comments
Get the comments of a merge request
GET
Post a comment to a merge request
POST
Get a single merge request
GET
Update a merge request
PUT
Cancel merge if "Merge When Pipeline Succeeds" is enabled
POST
Show the merge request changes
GET
List issues that will be closed on merge
GET
Get the commits of a merge request
GET
Merge a merge request
PUT
{subscribable id}/subscription
Unsubscribe from a resource
DELETE
Subscribe to a resource
POST
merge requests
{merge request id}
award emoji
{award id}
Delete a +awardables+ award emoji
DELETE
Get a specific award emoji
GET
Get a list of project +awardable+ award emoji
GET
Award a new Emoji
POST
comments
Get the comments of a merge request
GET
Post a comment to a merge request
POST
notes/{note id}/award emoji
{award id}
Delete a +awardables+ award emoji
DELETE
Get a specific award emoji
GET
Get a list of project +awardable+ award emoji
GET
Award a new Emoji
POST
versions
Get a list of merge request diff versions
GET
Get a single merge request diff version
GET
Delete a merge request
DELETE
Get a single merge request
GET
Update a merge request
PUT
Add spent time for a project merge_request
POST
Cancel merge if "Merge When Pipeline Succeeds" is enabled
POST
Show the merge request changes
GET
List issues that will be closed on merge
GET
Get the commits of a merge request
GET
Merge a merge request
PUT
Reset spent time for a project merge_request
POST
Reset the time estimate for a project merge_request
POST
Set a time estimate for a project merge_request
POST
Show time stats for a project merge_request
GET
Create a todo on an issuable
POST
{noteable id}/notes
{note id}
Delete a +noteable+ note
DELETE
Get a single +noteable+ note
GET
Update an existing +noteable+ note
PUT
Get a list of project +noteable+ notes
GET
Create a new +noteable+ note
POST
{subscribable id}/subscription
Unsubscribe from a resource
DELETE
Subscribe to a resource
POST
List merge requests
GET
Create a merge request
POST
milestones
{milestone id}
Get a single project milestone
GET
Update an existing project milestone
PUT
Get all issues for a single project milestone
GET
Get a list of project milestones
GET
Create a new project milestone
POST
notification settings
Get project level notification level settings, defaults to Global
GET
Update project level notification level settings, defaults to Global
PUT
pipelines
{pipeline id}
Gets a specific pipeline for the project
GET
Cancel all builds in the pipeline
POST
Retry failed builds in the pipeline
POST
Get all Pipelines of the project
GET
repository
branches
{branch}
Delete a branch
DELETE
Get a single branch
GET
Protect a single branch
PUT
Unprotect a single branch
PUT
Get a project repository branches
GET
Create branch
POST
commits
{sha}
comments
Get a commit's comments
GET
Post comment to commit
POST
Get a specific commit of a project
GET
Get a raw file contents
GET
Get builds for a specific commit of a project
GET
Cherry pick commit into a branch
POST
Get the diff for a specific commit of a project
GET
Get a commit's statuses
GET
Get a project repository commits
GET
Commit multiple file changes as one commit
POST
files
Delete an existing file in repository
DELETE
Get a file from repository
GET
Create new file in repository
POST
Update existing file in repository
PUT
tags
{tag name}
release
Add a release note to a tag
POST
Update a tag's release note
PUT
Delete a repository tag
DELETE
Get a single repository tag
GET
Get a project repository tags
GET
Create a new repository tag
POST
Get an archive of the repository
GET
Get a raw file contents
GET
Compare two branches, tags, or commits
GET
Get repository contributors
GET
delete V3Projects Id Repository Merged Branches
DELETE
Get a raw blob contents by blob sha
GET
Get a project repository tree
GET
runners
Get runners available for project
GET
Enable a runner for a project
POST
Disable project's runner
DELETE
services
{service slug}
Delete a service for project
DELETE
Get the service settings for project
GET
Set asana service for project
PUT
Set assembla service for project
PUT
Set bamboo service for project
PUT
Set bugzilla service for project
PUT
Set buildkite service for project
PUT
Set builds-email service for project
PUT
Set campfire service for project
PUT
Set custom-issue-tracker service for project
PUT
Set drone-ci service for project
PUT
Set emails-on-push service for project
PUT
Set external-wiki service for project
PUT
Set flowdock service for project
PUT
Set gemnasium service for project
PUT
Set hipchat service for project
PUT
Set irker service for project
PUT
Set jira service for project
PUT
Set kubernetes service for project
PUT
Set mattermost service for project
PUT
Set mattermost-slash-commands service for project
PUT
Trigger a slash command for mattermost-slash-commands
POST
Set pipelines-email service for project
PUT
Set pivotaltracker service for project
PUT
Set pushover service for project
PUT
Set redmine service for project
PUT
Set slack service for project
PUT
Set slack-slash-commands service for project
PUT
Trigger a slash command for slack-slash-commands
POST
Set teamcity service for project
PUT
share
Share the project with a group
POST
delete V3Projects Id Share Group Id
DELETE
snippets
{noteable id}/notes
{note id}
Delete a +noteable+ note
DELETE
Get a single +noteable+ note
GET
Update an existing +noteable+ note
PUT
Get a list of project +noteable+ notes
GET
Create a new +noteable+ note
POST
{snippet id}
award emoji
{award id}
Delete a +awardables+ award emoji
DELETE
Get a specific award emoji
GET
Get a list of project +awardable+ award emoji
GET
Award a new Emoji
POST
notes/{note id}/award emoji
{award id}
Delete a +awardables+ award emoji
DELETE
Get a specific award emoji
GET
Get a list of project +awardable+ award emoji
GET
Award a new Emoji
POST
Delete a project snippet
DELETE
Get a single project snippet
GET
Update an existing project snippet
PUT
Get a raw project snippet
GET
Get all project snippets
GET
Create a new project snippet
POST
star
Unstar a project
DELETE
Star a project
POST
triggers
{token}
Delete a trigger
DELETE
Get specific trigger of a project
GET
Get triggers list
GET
Create a trigger
POST
variables
{key}
Delete an existing variable from a project
DELETE
Get a specific variable from a project
GET
Update an existing variable from a project
PUT
Get project variables
GET
Create a new variable in a project
POST
Remove a project
DELETE
Get a single project
GET
Update an existing project
PUT
Trigger a GitLab project build
POST
Archive a project
POST
Get events for a single project
GET
Create a new pipeline
POST
Post status to a commit
POST
Unarchive a project
POST
Upload a file
POST
Get the users list of a project
GET
Get a projects list for authenticated user
GET
Create new project
POST
Get all projects for admin user
GET
Fork new project for the current user or provided namespace.
POST
Get an owned projects list for authenticated user
GET
Search for projects the current user has access to
GET
Gets starred project for the authenticated user
GET
Create new project for a specified user. Only available to admin users.
POST
Get a list of visible projects for authenticated user
GET
runners
{id}
Remove a runner
DELETE
Get runner's details
GET
Update runner's details
PUT
Get runners available for user
GET
Get all runners - shared and specific
GET
sidekiq
Get the Sidekiq Compound metrics. Includes queue, process, and job statistics
GET
Get the Sidekiq job statistics
GET
Get the Sidekiq process metrics
GET
Get the Sidekiq queue metrics
GET
snippets
{id}
Remove snippet
DELETE
Get a single snippet
GET
Update an existing snippet
PUT
Get a raw snippet
GET
Get a snippets list for authenticated user
GET
Create new snippet
POST
List all public snippets current_user has access to
GET
templates
dockerfiles
Get the list of the available template
GET
Get the text for a specific template present in local filesystem
GET
gitignores
Get the list of the available template
GET
Get the text for a specific template present in local filesystem
GET
gitlab ci ymls
Get the list of the available template
GET
Get the text for a specific template present in local filesystem
GET
licenses
Get the list of the available license template
GET
Get the text for a specific license
GET
todos
Mark all todos as done
DELETE
Get a todo list
GET
Mark a todo as done
DELETE
user
emails
{email id}
Delete an email address from the currently authenticated user
DELETE
Get a single email address owned by the currently authenticated user
GET
Get the currently authenticated user's email addresses
GET
Add new email address to the currently authenticated user
POST
keys
{key id}
Delete an SSH key from the currently authenticated user
DELETE
Get a single key owned by currently authenticated user
GET
Get the currently authenticated user's SSH keys
GET
Add a new SSH key to the currently authenticated user
POST
Get the currently authenticated user
GET
users
{id}
emails
Get the emails addresses of a specified user. Available only for admins.
GET
Add an email address to a specified user. Available only for admins.
POST
Delete an email address of a specified user. Available only for admins.
DELETE
keys
Get the SSH keys of a specified user. Available only for admins.
GET
Add an SSH key to a specified user. Available only for admins.
POST
Delete an existing SSH key from a specified user. Available only for admins.
DELETE
Delete a user. Available only for admins.
DELETE
Get a single user
GET
Update a user. Available only for admins.
PUT
Block a user. Available only for admins.
PUT
Get the contribution events of a specified user
GET
Unblock a user. Available only for admins.
PUT
Get the list of users
GET
Create a user. Available only for admins.
POST
Validation of .gitlab-ci.yml content
POST
get V3Deploy Keys
GET
Get currently authenticated user's issues
GET
Get single ssh key by id. Only available to admin users
GET
Get a namespaces list
GET
Login to get token
POST
Get the version information of the GitLab instance.
GET
Get the list of the available template开发中
GET{{baseUrl}}/v3/dockerfiles
创建时间: 2025-05-28 14:50
请求参数
无请求参数
响应示例
成功
HTTP状态码:200
内容格式:JSON
数据结构
未定义
响应示例
{}
最后更新: -