Use this API to view and manage groups and the resources they contain, including:
- Group settings, members, and security settings.
- Group issues and issue statistics.
- Markdown uploads referenced in epics or wiki pages.
- Bulk reassignment of placeholder users after an import.
Endpoint responses might vary based on the permissions
of the authenticated user in the group. If a user isn’t a member of a private group, requests to
that group return a 404 Not Found status code.
For project members, use the project members API.
List all groups
GET /api/v4/groups
Lists all visible groups for the authenticated user. Unauthenticated requests return only public groups. Unauthenticated requests also support keyset pagination. For unauthenticated requests, offset pagination is unavailable beyond the maximum allowed offset. Use keyset pagination to request consecutive pages.
Parameters
| Name | Type | Description |
|---|---|---|
statisticsQuery | Boolean | If true,root_.root_ introduced in GitDefault: false |
archivedQuery | Boolean | If true, |
skip_Query | Array of integers | Skip the specified group IDs |
all_Query | Boolean | If true,false,owned and min_ attributes take precedence |
visibilityQuery | String | Return groups with the specified visibility Allowed values: private,internal,public |
searchQuery | String | Return the list of authorized groups matching the search criteria. |
ownedQuery | Boolean | If true,Default: false |
order_Query | String | Sort results by the specified field Allowed values: name,path,id,similarityDefault: name |
sortQuery | String | Sort results in ascending or descending order Allowed values: asc,descDefault: asc |
min_Query | Integer | Return groups where the current user has at least the specified access level. Allowed values: 10,15,20,25,30,40,50 |
top_Query | Boolean | If true, |
marked_Query | String (date) | Return groups that are marked for deletion on this date. |
activeQuery | Boolean | If true, |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
with_Query | Boolean | If true,Default: false |
custom_Query | Object | Filter by custom attributes that match all of the specified key and value pairs. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
Create a group
POST /api/v4/groups
Creates a project group. Available only for users who can create groups. On GitLab.com, top-level groups cannot be created with the API.
Request body (multipart/form-data)
| Property | Type | Description |
|---|---|---|
auto_ | Boolean | Default to Auto Dev |
avatar | String (binary) | Avatar image for the group. |
crm_ | Boolean | Enable Customer Relations Management for this group |
default_ | String | The default branch of group’s projects Example: main |
default_ | Integer | Determine if developers can push to default branch.0:1:2:3:4:default_ insteadAllowed values: 0,3,1,2,4 |
default_ | Object | Determine if developers can push to default branch. |
default_ | Boolean | Allow force push for all users with push access |
default_ | Array of objects | An array of access levels allowed to merge |
default_Required | Integer | A valid access level Allowed values: 30,40,60,0 |
default_ | Array of objects | An array of access levels allowed to push |
default_Required | Integer | A valid access level Allowed values: 30,40,60,0 |
default_ | Boolean | Require approval from code owners |
default_ | Boolean | Allow developers to initial push |
description | String | The description of the group |
emails_ | Boolean | Disable email notifications.emails_ instead |
emails_ | Boolean | Enable email notifications |
enabled_ | String | Allow only the selected protocols to be used for Git access Allowed values: ssh,http,all |
lfs_ | Boolean | Enable/ |
lock_ | Boolean | Prevent subgroups from overriding the access token expiry notification setting |
mentions_ | Boolean | Disable a group from getting mentioned |
nameRequired | String | The name of the group |
organization_ | Integer | The organization id for the group.parent_ is provided, |
parent_ | Integer | The parent group id for creating nested group |
pathRequired | String | The path of the group |
project_ | String | Determine if developers can create projects in the group Allowed values: noone,owner,maintainer,developer,administrator |
request_ | Boolean | Allow users to request member access |
require_ | Boolean | Require all users in this group to setup Two- |
resource_ | Boolean | Send access token expiry notifications to all inherited members of the group |
share_ | Boolean | Prevent sharing a project with another group within this group |
show_ | Boolean | Include the code diff preview in merge request notification emails |
subgroup_ | String | Allowed to create subgroups Allowed values: owner,maintainer |
two_ | Integer | Time before Two- |
visibility | String | The visibility of the group Allowed values: private,internal,public |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
Retrieve a group
GET /api/v4/groups/{id}
Retrieves a specified group by ID or path. Public groups can be retrieved without authentication. The runners_token attribute is returned only to administrators and users with the Owner role for the group. The enabled_git_access_protocol attribute is returned only to those users, and only for top-level groups. The projects and shared_projects attributes are deprecated and scheduled for removal in API v5. Each returns at most 100 projects.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
with_Query | Boolean | If true,Default: false |
custom_Query | Object | Filter by custom attributes that match all of the specified key and value pairs. |
with_Query | Boolean | If true,Default: true |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Update group attributes
PUT /api/v4/groups/{id}
Updates the attributes for a specified group. You must be an administrator or have the Owner role for the group. The projects and shared_projects attributes in the response are deprecated and scheduled for removal in API v5. Each returns at most 100 projects.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Request body (multipart/form-data)
| Property | Type | Description |
|---|---|---|
auto_ | Boolean | Default to Auto Dev |
avatar | String (binary) | Avatar image for the group. |
crm_ | Boolean | Enable Customer Relations Management for this group |
default_ | String | The default branch of group’s projects Example: main |
default_ | Integer | Determine if developers can push to default branch.0:1:2:3:4:default_ insteadAllowed values: 0,3,1,2,4 |
default_ | Object | Determine if developers can push to default branch. |
default_ | Boolean | Allow force push for all users with push access |
default_ | Array of objects | An array of access levels allowed to merge |
default_Required | Integer | A valid access level Allowed values: 30,40,60,0 |
default_ | Array of objects | An array of access levels allowed to push |
default_Required | Integer | A valid access level Allowed values: 30,40,60,0 |
default_ | Boolean | Require approval from code owners |
default_ | Boolean | Allow developers to initial push |
description | String | The description of the group |
emails_ | Boolean | Disable email notifications.emails_ instead |
emails_ | Boolean | Enable email notifications |
enabled_ | String | Allow only the selected protocols to be used for Git access Allowed values: ssh,http,all |
lfs_ | Boolean | Enable/ |
lock_ | Boolean | Indicates if math rendering limits are locked for all descendent groups |
lock_ | Boolean | Enforce the require_ |
lock_ | Boolean | Prevent subgroups from overriding the access token expiry notification setting |
math_ | Boolean | Indicates if math rendering limits are used for this group |
max_ | Integer | Set the maximum file size, |
mentions_ | Boolean | Disable a group from getting mentioned |
name | String | The name of the group |
path | String | The path of the group |
prevent_ | Boolean | Prevent sharing groups within this namespace with any groups outside the namespace. |
project_ | String | Determine if developers can create projects in the group Allowed values: noone,owner,maintainer,developer,administrator |
request_ | Boolean | Allow users to request member access |
require_ | Boolean | Indicates whether merge requests in this group require a valid commit SHA for calls to the merge a merge request endpoint. |
require_ | Boolean | Require all users in this group to setup Two- |
resource_ | Boolean | Send access token expiry notifications to all inherited members of the group |
share_ | Boolean | Prevent sharing a project with another group within this group |
shared_ | String | Enable/enabled enables instance runners for all projects and subgroups in the group.disabled_ disables them,disabled_ disables them,Allowed values: disabled_,disabled_,enabled |
show_ | Boolean | Include the code diff preview in merge request notification emails |
step_ | String | OAuth provider required for step-omniauth_, |
subgroup_ | String | Allowed to create subgroups Allowed values: owner,maintainer |
two_ | Integer | Time before Two- |
visibility | String | The visibility of the group Allowed values: private,internal,public |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Schedule a group for deletion
DELETE /api/v4/groups/{id}
Schedules a group for deletion. Groups are deleted at the end of the retention period (30 days by default). Use the permanently_remove param to override the retention period. On GitLab.com, groups are retained for 30 days. On GitLab Self-Managed, the retention period is set in the instance settings. A group that is linked to a subscription cannot be deleted. You must be an administrator or have the Owner role for the group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Responses
| Code | Description | Schema |
|---|---|---|
202 | Accepted | — |
400 | Bad Request | — |
404 | Not Found | — |
Archive a group
POST /api/v4/groups/{id}/archive
Archives a specified group. You must be an administrator or have the Owner role for the group. This feature was introduced in GitLab 18.0.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
403 | Unauthenticated | — |
404 | Not Found | — |
List all descendant groups
GET /api/v4/groups/{id}/descendant_groups
Lists all descendant groups for a specified group. Unauthenticated requests return only public groups.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
statisticsQuery | Boolean | If true,root_.root_ introduced in GitDefault: false |
archivedQuery | Boolean | If true, |
skip_Query | Array of integers | Skip the specified group IDs |
all_Query | Boolean | If true,false,owned and min_ attributes take precedence |
visibilityQuery | String | Return groups with the specified visibility Allowed values: private,internal,public |
searchQuery | String | Return the list of authorized groups matching the search criteria. |
ownedQuery | Boolean | If true,Default: false |
order_Query | String | Sort results by the specified field Allowed values: name,path,id,similarityDefault: name |
sortQuery | String | Sort results in ascending or descending order Allowed values: asc,descDefault: asc |
min_Query | Integer | Return groups where the current user has at least the specified access level. Allowed values: 10,15,20,25,30,40,50 |
top_Query | Boolean | If true, |
marked_Query | String (date) | Return groups that are marked for deletion on this date. |
activeQuery | Boolean | If true, |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
with_Query | Boolean | If true,Default: false |
custom_Query | Object | Filter by custom attributes that match all of the specified key and value pairs. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
List all shared groups
GET /api/v4/groups/{id}/groups/shared
Lists all groups shared with a specified group. Unauthenticated requests return only public shared groups.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
skip_Query | Array of integers | Skip the specified group IDs |
visibilityQuery | String | Return groups with the specified visibility Allowed values: private,internal,public |
searchQuery | String | Return the list of authorized groups matching the search criteria |
min_Query | Integer | Return groups where the current user has at least the specified access level. Allowed values: 10,15,20,25,30,40,50 |
order_Query | String | Sort results by the specified field Allowed values: name,path,id,similarityDefault: name |
sortQuery | String | Sort results in ascending or descending order Allowed values: asc,descDefault: asc |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
with_Query | Boolean | If true,Default: false |
custom_Query | Object | Filter by custom attributes that match all of the specified key and value pairs. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
List all invited groups
GET /api/v4/groups/{id}/invited_groups
Lists all groups invited to a specified group. Unauthenticated requests return only public invited groups. By default, this endpoint is rate-limited to 60 requests per minute for each user, or for each IP address for unauthenticated requests.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
relationQuery | Array of strings | Filter groups by relation |
searchQuery | String | Return the list of authorized groups matching the search criteria |
min_Query | Integer | Return groups where the current user has at least the specified access level. Allowed values: 10,15,20,25,30,40,50 |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
with_Query | Boolean | If true,Default: false |
custom_Query | Object | Filter by custom attributes that match all of the specified key and value pairs. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
List all issues for a group
GET /api/v4/groups/{id}/issues
Lists all issues for a specified group. If the group is private, you must provide credentials to authorize. In most cases, you should authenticate with a personal access token.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
with_Query | Boolean | If true,name,color,description,description_,text_Default: false |
stateQuery | String | Filter issues by state Allowed values: opened,closed,allDefault: all |
closed_Query | Integer | Return issues closed by the user with the given ID |
order_Query | String | Sort results by the specified field Allowed values: created_,due_,label_,milestone_,popularity,priority,relative_,title,updated_,blocking_Default: created_ |
sortQuery | String | Sort results in ascending or descending order Allowed values: asc,descDefault: desc |
due_Query | String | Return issues that have no due date, Allowed values: 0,any,today,tomorrow,overdue,week,month,next_, |
issue_Query | String | The type of the issue. Allowed values: issue,incident,test_,requirement,task,ticket |
labelsQuery | Array of strings | Comma-None means no labels are assigned.Any means at least one label is assigned.No+Label (deprecated) means no labels are assigned. |
milestoneQuery | String | Milestone title.None lists all issues with no milestone.Any lists all issues that have an assigned milestone.None and Any is planned for removal.milestone_ attribute instead.milestone_ |
milestone_Query | String | Return issues assigned to milestones with a given timebox value.None lists all issues with no milestone.Any lists all issues that have an assigned milestone.Upcoming lists all issues assigned to milestones due in the future.Started lists all issues assigned to open,Upcoming and Started differs from the logic used in the GraphmilestoneAllowed values: Any,None,Upcoming,Started |
iidsQuery | Array of integers | Return only the issues having the given iid |
searchQuery | String | Search issues against their title and description |
inQuery | String | Modify the scope of the search attribute to title,description,title,.title, |
author_Query | Integer | Return issues created by the given user ID.scope=all or scope=assigned_.author_ |
author_Query | String | Return issues created by the given username.author_ |
assignee_Query | Integer or string | Return issues assigned to the given user id.None returns unassigned issues and Any returns issues with an assignee.assignee_ |
assignee_Query | Array of strings | Return issues assigned to the given username.assignee_ |
created_Query | String (date- | Return issues created on or after the specified time |
created_Query | String (date- | Return issues created on or before the specified time |
updated_Query | String (date- | Return issues updated on or after the specified time |
updated_Query | String (date- | Return issues updated on or before the specified time |
notQuery | Object | Return issues that do not match the specified parameters |
not[labels]Query | Array of strings | Comma- |
not[milestone]Query | String | Milestone title.not[milestone_ |
not[milestone_Query | String | Return issues assigned to milestones without the specified timebox value.not[milestone]Allowed values: Any,None,Upcoming,Started |
not[iids]Query | Array of integers | Internal IDs of issues to exclude |
not[author_Query | Integer | Return issues not authored by the user with the given ID.not[author_ |
not[author_Query | String | Return issues not authored by the user with the given username.not[author_ |
not[assignee_Query | Integer | Return issues not assigned to the user with the given ID.not[assignee_ |
not[assignee_Query | Array of strings | Return issues not assigned to the user with the given username.not[assignee_ |
scopeQuery | String | Return issues for the given scope Allowed values: created-,assigned-,created_,assigned_,all |
my_Query | String | Return issues reacted to by the authenticated user with the given emoji.None returns issues with no reaction and Any returns issues with at least one reaction |
confidentialQuery | Boolean | If true,false, |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
non_Query | Boolean | If true,false,Default: true |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Retrieve issues statistics for a group
GET /api/v4/groups/{id}/issues_statistics
Retrieves statistics for issues in a specified group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
labelsQuery | Array of strings | Comma-None means no labels are assigned.Any means at least one label is assigned.No+Label (deprecated) means no labels are assigned. |
milestoneQuery | String | Milestone title.None lists all issues with no milestone.Any lists all issues that have an assigned milestone.None and Any is planned for removal.milestone_ attribute instead.milestone_ |
milestone_Query | String | Return issues assigned to milestones with a given timebox value.None lists all issues with no milestone.Any lists all issues that have an assigned milestone.Upcoming lists all issues assigned to milestones due in the future.Started lists all issues assigned to open,Upcoming and Started differs from the logic used in the GraphmilestoneAllowed values: Any,None,Upcoming,Started |
iidsQuery | Array of integers | Return only the issues having the given iid |
searchQuery | String | Search issues against their title and description |
inQuery | String | Modify the scope of the search attribute to title,description,title,.title, |
author_Query | Integer | Return issues created by the given user ID.scope=all or scope=assigned_.author_ |
author_Query | String | Return issues created by the given username.author_ |
assignee_Query | Integer or string | Return issues assigned to the given user id.None returns unassigned issues and Any returns issues with an assignee.assignee_ |
assignee_Query | Array of strings | Return issues assigned to the given username.assignee_ |
created_Query | String (date- | Return issues created on or after the specified time |
created_Query | String (date- | Return issues created on or before the specified time |
updated_Query | String (date- | Return issues updated on or after the specified time |
updated_Query | String (date- | Return issues updated on or before the specified time |
notQuery | Object | Return issues that do not match the specified parameters |
not[labels]Query | Array of strings | Comma- |
not[milestone]Query | String | Milestone title.not[milestone_ |
not[milestone_Query | String | Return issues assigned to milestones without the specified timebox value.not[milestone]Allowed values: Any,None,Upcoming,Started |
not[iids]Query | Array of integers | Internal IDs of issues to exclude |
not[author_Query | Integer | Return issues not authored by the user with the given ID.not[author_ |
not[author_Query | String | Return issues not authored by the user with the given username.not[author_ |
not[assignee_Query | Integer | Return issues not assigned to the user with the given ID.not[assignee_ |
not[assignee_Query | Array of strings | Return issues not assigned to the user with the given username.not[assignee_ |
scopeQuery | String | Return issues for the given scope Allowed values: created-,assigned-,created_,assigned_,all |
my_Query | String | Return issues reacted to by the authenticated user with the given emoji.None returns issues with no reaction and Any returns issues with at least one reaction |
confidentialQuery | Boolean | If true,false, |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
404 | Not Found | — |
Retrieve pending reassignments
GET /api/v4/groups/{id}/placeholder_reassignments
Retrieves a CSV file with a list of pending reassignments. The CSV file has the columns Source host, Import type, Source user identifier, Source user name, Source username, GitLab username, and GitLab public email. This feature was introduced in GitLab 17.10.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | String (text/) |
400 | Bad Request | — |
404 | Not Found | — |
Reassign placeholders
POST /api/v4/groups/{id}/placeholder_reassignments
Reassigns placeholder users with an uploaded CSV file.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Request body (multipart/form-data)
| Property | Type | Description |
|---|---|---|
fileRequired | String (binary) | The CSV file containing the reassignments |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
404 | Not Found | — |
Workhorse authorization for the reassignment CSV file
POST /api/v4/groups/{id}/placeholder_reassignments/authorize
Authorizes Workhorse to handle CSV file uploads for placeholder reassignments. This feature was introduced in GitLab 17.10
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
404 | Not Found | — |
List all projects in a group
GET /api/v4/groups/{id}/projects
Lists all projects in a specified group accessible to the authenticated user. Unauthenticated requests return only public projects with a limited subset of attributes.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
activeQuery | Boolean | If true,false, |
archivedQuery | Boolean | If true, |
visibilityQuery | String | Return projects with the specified visibility Allowed values: private,internal,public |
searchQuery | String | Return the list of authorized projects matching the search criteria |
order_Query | String | Sort results by the specified field.similarity,search and sort is ignored.search,similarity orders results by nameAllowed values: id,name,path,created_,updated_,last_,similarity,star_Default: created_ |
sortQuery | String | Sort results in ascending or descending order Allowed values: asc,descDefault: desc |
simpleQuery | Boolean | If true,Default: false |
ownedQuery | Boolean | If true,Default: false |
starredQuery | Boolean | If true,Default: false |
with_Query | Boolean | If true,Default: false |
with_Query | Boolean | If true,Default: false |
with_Query | Boolean | If true,Default: true |
include_Query | Boolean | If true,Default: false |
include_Query | Boolean | If true,Default: false |
min_Query | Integer | Return projects where the current user has at least the specified access level. Allowed values: 10,15,20,25,30,40,50 |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
with_Query | Boolean | If true,Default: false |
custom_Query | Object | Filter by custom attributes that match all of the specified key and value pairs. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
List all shared projects
GET /api/v4/groups/{id}/projects/shared
Lists all projects shared with a specified group. Unauthenticated requests return only public shared projects.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
archivedQuery | Boolean | If true, |
visibilityQuery | String | Return projects with the specified visibility Allowed values: private,internal,public |
searchQuery | String | Return the list of authorized projects matching the search criteria |
order_Query | String | Sort results by the specified field Allowed values: id,name,path,created_,updated_,last_,star_Default: created_ |
sortQuery | String | Sort results in ascending or descending order Allowed values: asc,descDefault: desc |
simpleQuery | Boolean | If true,Default: false |
starredQuery | Boolean | If true,Default: false |
with_Query | Boolean | If true,Default: false |
with_Query | Boolean | If true,Default: false |
min_Query | Integer | Return projects where the current user has at least the specified access level. Allowed values: 10,15,20,25,30,40,50 |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
with_Query | Boolean | If true,Default: false |
custom_Query | Object | Filter by custom attributes that match all of the specified key and value pairs. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Transfer a project to a group
POST /api/v4/groups/{id}/projects/{project_id}
Transfers a specified project to another group. Administrators only. To transfer a project to any namespace, use PUT /projects/:id/transfer instead. The transfer can fail if image tags are present in the project’s container registry.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
project_Path, | String | ID or URL- |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Restore a group
POST /api/v4/groups/{id}/restore
Restores a specified group that was previously scheduled for deletion. Can not restore groups outside of the retention period (30 days by default).
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
404 | Not Found | — |
List all runners in a group
GET /api/v4/groups/{id}/runners
Lists all runners available in a specified group and any ancestor groups, including any allowed instance runners. You must be an administrator or auditor, or have the Security Manager, Maintainer, or Owner role in the group, or a custom role with the admin_runners permission in the group. Requires a token with the api or read_api scope.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
typeQuery | String | Type of runners to return Allowed values: instance_,group_,project_ |
pausedQuery | Boolean | If true,false, |
statusQuery | String | Status of runners to return.active and paused values are deprecated.paused parameter instead.offline runners might also return stale runners,stale is included in offlineAllowed values: active,paused,online,offline,never_,stale |
tag_Query | Array of strings | List of runner tags Example: ["macos", |
version_Query | String | Version prefix of runners to return Pattern: (?<=^|\n(?!$))[\d+.Example: 15. |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Scope contains invalid value | — |
403 | Forbidden | — |
404 | Not Found | — |
Reset runner registration token
POST /api/v4/groups/{id}/runners/reset_registration_token
FE version
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | The ID of a group |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Group Not Found | — |
Add a group to a group
POST /api/v4/groups/{id}/share
Adds a group to a group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
expires_ | String (date) | Date when the share expires |
group_Required | Integer | Access level to grant to the invited group.10 (Guest),15 (Planner),20 (Reporter),25 (Security Manager),30 (Developer),40 (Maintainer),50 (Owner).5 (Minimal access) is also valid when id is a top-Allowed values: 10,15,20,25,30,40,50 |
group_Required | Integer | ID of the group to invite |
member_ | Integer | ID of a custom role to assign to the invited group.group_ must match the base role used to create the custom role |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Remove a group from a group
DELETE /api/v4/groups/{id}/share/{group_id}
Removes a group from a group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
group_Path, | Integer | ID of the shared group |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Resource deleted | — |
400 | Bad Request | — |
404 | Not Found | — |
Remove a shared project from a group
DELETE /api/v4/groups/{id}/shared_projects/{project_id}
Removes a shared project targeting this group. The group Owner can remove a shared project without access to the source project. You must be an administrator or have the Owner role for the group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
project_Path, | Integer | ID of the shared project |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad request | — |
403 | Forbidden | — |
404 | Not found | — |
List all subgroups
GET /api/v4/groups/{id}/subgroups
Lists the visible direct subgroups of a specified group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
statisticsQuery | Boolean | If true,root_.root_ introduced in GitDefault: false |
archivedQuery | Boolean | If true, |
skip_Query | Array of integers | Skip the specified group IDs |
all_Query | Boolean | If true,false,owned and min_ attributes take precedence |
visibilityQuery | String | Return groups with the specified visibility Allowed values: private,internal,public |
searchQuery | String | Return the list of authorized groups matching the search criteria. |
ownedQuery | Boolean | If true,Default: false |
order_Query | String | Sort results by the specified field Allowed values: name,path,id,similarityDefault: name |
sortQuery | String | Sort results in ascending or descending order Allowed values: asc,descDefault: asc |
min_Query | Integer | Return groups where the current user has at least the specified access level. Allowed values: 10,15,20,25,30,40,50 |
top_Query | Boolean | If true, |
marked_Query | String (date) | Return groups that are marked for deletion on this date. |
activeQuery | Boolean | If true, |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
with_Query | Boolean | If true,Default: false |
custom_Query | Object | Filter by custom attributes that match all of the specified key and value pairs. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Transfer a group
POST /api/v4/groups/{id}/transfer
Transfers a group to another parent group or transforms a subgroup into a top-level group. You must be an administrator or have the Owner role for the group. To transfer the group to a new parent group, you must be able to create subgroups in it. To make a subgroup a top-level group, you must be able to create top-level groups. The transfer runs asynchronously. To confirm it, retrieve the group until its parent_id matches the ID of the new parent group, or is null for a top-level group. If the transfer fails, the user who requested it gets a to-do item with the transfer_failed action.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
group_ | Integer | ID of the new parent group. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
404 | Not Found | — |
List all transfer locations for a group
GET /api/v4/groups/{id}/transfer_locations
Lists all groups that a specified source group can be transferred to.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
searchQuery | String | Group name to search for |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Transfer a group to an organization
POST /api/v4/groups/{id}/transfer_to_organization
Transfers a group to another organization asynchronously. Requires the Owner role.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
organization_Required | Integer | ID of the organization to transfer the group to |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Group or Organization not found | — |
422 | Unprocessable entity | — |
Unarchive a group
POST /api/v4/groups/{id}/unarchive
Unarchives a specified group. You must be an administrator or have the Owner role for the group. This feature was introduced in GitLab 18.0.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String | ID or URL- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
403 | Unauthenticated | — |
404 | Not Found | — |
List all uploads for a group
GET /api/v4/groups/{id}/uploads
Lists all uploads for a specified group sorted by created_at in descending order. You must have the Maintainer or Owner role for the group. This feature was introduced in GitLab 17.2.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | ID or URL- |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
403 | Unauthenticated | — |
404 | Not found | — |
Upload a file to a group
POST /api/v4/groups/{id}/uploads
Uploads a file to the specified group. Returns a markdown-formatted link to the file. This feature was introduced in GitLab 19.0.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | ID or URL- |
Request body (multipart/form-data)
| Property | Type | Description |
|---|---|---|
fileRequired | String (binary) | The file to upload |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
403 | Forbidden | — |
404 | Not found | — |
429 | Too many requests | — |
Workhorse authorize the file upload
POST /api/v4/groups/{id}/uploads/authorize
This feature was introduced in GitLab 19.0
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | ID or URL- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
403 | Forbidden | — |
404 | Not found | — |
429 | Too many requests | — |
Download an uploaded file by secret and filename
GET /api/v4/groups/{id}/uploads/{secret}/{filename}
Downloads an uploaded file with a specified secret and filename. You must have the Guest, Planner, Reporter, Developer, Maintainer, or Owner role for the group. For a file linked from a description or comment, take the secret and filename from the link. On a rendered page, the link has the format https://gitlab.example.com/-/group/<group_id>/uploads/<secret>/<filename>. To get the API URL, replace /-/group/ with /api/v4/groups/. In raw Markdown, the link is /uploads/<secret>/<filename> and does not include the project or group. Files that belong to a project, for example in an issue or merge request, use the project uploads endpoint. Use the filename from the link, not from the original file. GitLab can change the filename on upload, for example by replacing spaces with underscores. This feature was introduced in GitLab 17.4.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | ID or URL- |
secretPath, | String | 32- |
filenamePath, | String | Filename of the upload |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | String (binary) (application/) |
400 | Bad Request | — |
403 | Unauthenticated | — |
404 | Not found | — |
Delete an uploaded file by secret and filename
DELETE /api/v4/groups/{id}/uploads/{secret}/{filename}
Deletes an uploaded file with a specified secret and filename. You must have the Maintainer or Owner role for the group. This feature was introduced in GitLab 17.4.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | ID or URL- |
secretPath, | String | 32- |
filenamePath, | String | Filename of the upload |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad request | — |
403 | Unauthenticated | — |
404 | Not found | — |
Download an uploaded file by ID
GET /api/v4/groups/{id}/uploads/{upload_id}
Downloads an uploaded file with a specified ID. You must have the Maintainer or Owner role for the group. This feature was introduced in GitLab 17.2.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | ID or URL- |
upload_Path, | Integer | ID of the upload |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | String (binary) (application/) |
400 | Bad Request | — |
403 | Unauthenticated | — |
404 | Not found | — |
Delete an uploaded file by ID
DELETE /api/v4/groups/{id}/uploads/{upload_id}
Deletes an uploaded file with a specified ID. You must have the Maintainer or Owner role for the group. This feature was introduced in GitLab 17.2.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | ID or URL- |
upload_Path, | Integer | ID of the upload |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad request | — |
403 | Unauthenticated | — |
404 | Not found | — |
Get the users list of a group
GET /api/v4/groups/{id}/users
Parameters
| Name | Type | Description |
|---|---|---|
searchQuery | String | Return list of users matching the search criteria Example: user |
pageQuery | Integer | Page number of results to retrieve Default: 1Example: 1 |
per_Query | Integer | Number of items to list per page Default: 20Example: 20 |
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
403 | Unauthenticated | — |
404 | Not found | — |
List all groups available to invite to a project
GET /api/v4/projects/{id}/share_locations
Lists all groups that can be invited to a project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | Integer | ID of the project |
searchQuery | String | Return groups matching the search criteria |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | Array of APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Reset the runner registration token for the instance
POST /api/v4/runners/reset_registration_token
Resets the runner registration token for the GitLab instance. Registering runners with a registration token is deprecated. Create runners with POST /user/runners and use their authentication token instead.
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
403 | Forbidden | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesBasicProjectDetails
| Property | Type | Description |
|---|---|---|
avatar_ | String | Example:http: |
created_ | String (date- | Example:2020- |
custom_ | APIEntities | — |
default_ | String | Example:main |
description | String | Example:desc |
forks_ | Integer | Example:1 |
http_ | String | Example:https: |
id | Integer (int64) | Example:1 |
last_ | String (date- | Example:2013- |
license | APIEntities | — |
license_ | String | Example:https: |
name | String | Example:project1 |
name_ | String | Example:John Doe / |
namespace | APIEntities | — |
path | String | Example:project1 |
path_ | String | Example:namespace1/ |
readme_ | String | Example:https: |
repository_ | String | Example:default |
ssh_ | String | Example:git@gitlab. |
star_ | Integer | Example:1 |
tag_ | Array of strings | Example:["tag"] |
topics | Array of strings | Example:["topic"] |
visibility | String | Example:public |
web_ | String | Example:https: |
APIEntitiesCiResetTokenResult
| Property | Type | Description |
|---|---|---|
token | String | Example:your_ |
token_ | String (date- | Example:2025- |
APIEntitiesCiRunnerWithUuid
| Property | Type | Description |
|---|---|---|
active | Boolean | If true,paused insteadExample: true |
created_ | String (date- | Example:2025- |
created_ | APIEntities | — |
description | String | Example:test- |
id | Integer (int64) | Example:8 |
ip_ | String | Always null.Example: 127. |
is_ | Boolean | Example:true |
job_ | String | Allowed values:active,idleExample: idle |
name | String | Example:test |
online | Boolean | Example:true |
paused | Boolean | Example:false |
runner_ | String | Allowed values:instance_,group_,project_Example: instance_ |
status | String | Example:online |
uuid | String | UUID of the runner. Example: 01966aa0- |
APIEntitiesContainerExpirationPolicy
| Property | Type | Description |
|---|---|---|
cadence | String | How often the cleanup policy runs,1d or 7dExample: 7d |
enabled | Boolean | If true, |
keep_ | Integer | Number of tags to keep for each image Example: 10 |
name_ | String | Regular expression of tag names to remove Example: . |
name_ | String | Regular expression of tag names to keep |
next_ | String (date- | Date and time of the next scheduled policy run |
older_ | String | Tags older than this value are removed,90dExample: 90d |
APIEntitiesCustomAttribute
| Property | Type | Description |
|---|---|---|
key | String | Example:foo |
value | String | Example:bar |
APIEntitiesGroup
| Property | Type | Description |
|---|---|---|
archived | Boolean | — |
auto_ | String | — |
avatar_ | String | — |
created_ | String | — |
crm_ | Boolean | — |
custom_ | Array of APIEntities | — |
default_ | String | — |
default_ | Integer | — |
default_ | String | — |
description | String | — |
emails_ | Boolean | — |
emails_ | Boolean | — |
full_ | String | — |
full_ | String | — |
id | Integer (int64) | ID of the group |
lfs_ | Boolean | — |
lock_ | Boolean | — |
lock_ | Boolean | — |
marked_ | String | — |
math_ | Boolean | — |
max_ | Integer | — |
mentions_ | String | — |
name | String | Name of the group Example: Diaspora |
organization_ | Integer (int64) | — |
parent_ | String | — |
path | String | — |
project_ | String | — |
request_ | Boolean | — |
require_ | Boolean | If true, |
resource_ | Boolean | — |
root_ | APIEntities | Storage statistics for a top-statistics is true and the user is an administrator. |
share_ | Boolean | — |
shared_ | String | — |
show_ | Boolean | — |
statistics | Object | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
subgroup_ | String | — |
two_ | Integer | — |
visibility | String | — |
web_ | String | URL to access the group in a browser Example: http: |
APIEntitiesGroupDetail
| Property | Type | Description |
|---|---|---|
archived | Boolean | — |
auto_ | String | — |
avatar_ | String | — |
created_ | String | — |
crm_ | Boolean | — |
custom_ | Array of APIEntities | — |
default_ | String | — |
default_ | Integer | — |
default_ | String | — |
description | String | — |
emails_ | Boolean | — |
emails_ | Boolean | — |
enabled_ | String | Example:ssh |
full_ | String | — |
full_ | String | — |
id | Integer (int64) | ID of the group |
lfs_ | Boolean | — |
lock_ | Boolean | — |
lock_ | Boolean | — |
lock_ | Boolean | — |
marked_ | String | — |
math_ | Boolean | — |
max_ | Integer | — |
mentions_ | String | — |
name | String | Name of the group Example: Diaspora |
organization_ | Integer (int64) | — |
parent_ | String | — |
path | String | — |
prevent_ | Boolean | If true, |
project_ | String | — |
projects | Array of APIEntities | — |
request_ | Boolean | — |
require_ | Boolean | — |
require_ | Boolean | If true, |
require_ | Boolean | Whether an ancestor group requires all users to set up two- |
resource_ | Boolean | — |
root_ | APIEntities | Storage statistics for a top-statistics is true and the user is an administrator. |
runners_ | String | Example:b8bc4a7a29eb76ea83cf |
share_ | Boolean | — |
shared_ | Array of APIEntities | — |
shared_ | String | — |
shared_ | Array of objects | — |
show_ | Boolean | — |
statistics | Object | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
statistics. | String | — |
step_ | String | OAuth provider required for step- |
subgroup_ | String | — |
two_ | Integer | — |
visibility | String | — |
web_ | String | URL to access the group in a browser Example: http: |
APIEntitiesGroupUpload
| Property | Type | Description |
|---|---|---|
alt | String | The name of the file |
full_ | String | The full path to the file |
id | Integer (int64) | The ID of the file |
markdown | String | A markdown- |
url | String | The URL to access the file |
APIEntitiesIssuableReferences
| Property | Type | Description |
|---|---|---|
full | String | Example:test&6 |
relative | String | Example:&6 |
short | String | Example:&6 |
APIEntitiesIssuableTimeStats
| Property | Type | Description |
|---|---|---|
human_ | String | Example:3h 30m |
human_ | String | Example:1h |
time_ | Integer | Example:12600 |
total_ | Integer | Example:3600 |
APIEntitiesIssue
| Property | Type | Description |
|---|---|---|
_ | Object | — |
_ | String | Example:http: |
_ | String | Example:http: |
_ | String | Example:http: |
_ | String | Example:http: |
_ | String | Example:http: |
assignee | APIEntities | — |
assignees | Array of APIEntities | — |
author | APIEntities | — |
closed_ | String (date- | Example:2022- |
closed_ | APIEntities | — |
confidential | Boolean | — |
created_ | String (date- | Example:2022- |
description | String | Example:Repellendus impedit et vel velit dignissimos. |
discussion_ | Boolean | — |
downvotes | Integer | — |
due_ | String (date) | Example:2022- |
has_ | Boolean | Example:true |
id | Integer (int64) | Example:84 |
iid | Integer | Example:14 |
imported | Boolean | Example:false |
imported_ | String | Example:github |
issue_ | String | Example:issue |
labels | Array of strings | Example:["bug"] |
merge_ | Integer | — |
milestone | APIEntities | — |
moved_ | Integer (int64) | Example:1 |
project_ | Integer (int64) | Example:4 |
references | APIEntities | — |
service_ | String | Example:user@example. |
severity | String | The severity of the issue Allowed values: UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL |
start_ | String (date) | Example:2022- |
state | String | Example:closed |
subscribed | Boolean | Example:false |
task_ | APIEntities | — |
task_ | String | Example:2 of 4 tasks completed |
time_ | APIEntities | — |
title | String | Example:Impedit et ut et dolores vero provident ullam est |
type | String | The type of the issue Allowed values: ISSUE,INCIDENT,TEST_,REQUIREMENT,TASK,TICKETExample: ISSUE |
updated_ | String (date- | Example:2022- |
upvotes | Integer | — |
user_ | Integer | — |
web_ | String | Example:http: |
APIEntitiesLicenseBasic
| Property | Type | Description |
|---|---|---|
html_ | String | Example:http: |
key | String | Example:gpl- |
name | String | Example:GNU General Public License v3. |
nickname | String | Example:GNU GPLv3 |
source_ | String | — |
APIEntitiesMarkdownUploadAdmin
| Property | Type | Description |
|---|---|---|
created_ | String (date- | Example:2012- |
filename | String | Example:image. |
id | Integer (int64) | Example:1 |
size | Integer | Example:1024 |
uploaded_ | APIEntities | — |
APIEntitiesMilestone
| Property | Type | Description |
|---|---|---|
created_ | String | — |
description | String | — |
due_ | String | — |
expired | Boolean | — |
group_ | String | — |
id | Integer (int64) | — |
iid | Integer (int64) | — |
project_ | Integer (int64) | — |
start_ | String | — |
state | String | — |
title | String | — |
updated_ | String | — |
web_ | String | — |
APIEntitiesNamespaceBasic
| Property | Type | Description |
|---|---|---|
avatar_ | String | URL of the namespace avatar.null if no avatar is setExample: https: |
full_ | String | Full path of the namespace, Example: group/ |
id | Integer (int64) | ID of the namespace Example: 2 |
kind | String | Type of the namespace:user,group,projectExample: project |
name | String | Name of the namespace Example: project |
parent_ | Integer (int64) | ID of the parent namespace.null for top-Example: 1 |
path | String | Path of the namespace Example: my_ |
web_ | String | Web URL of the namespace. Example: https: |
APIEntitiesNamespaceRootStorageStatistics
| Property | Type | Description |
|---|---|---|
build_ | Integer | CI artifacts size in bytes |
container_ | Integer | container registry size in bytes |
container_ | Boolean | Indicates whether the deduplicated container registry size for the namespace is an estimated value or not |
dependency_ | Integer | Dependency Proxy sizes in bytes |
lfs_ | Integer | LFS objects size in bytes |
packages_ | Integer | Packages size in bytes |
pipeline_ | Integer | CI pipeline artifacts size in bytes |
repository_ | Integer | Git repository size in bytes |
snippets_ | Integer | Snippets size in bytes |
storage_ | Integer | Total storage in bytes |
uploads_ | Integer | Uploads size in bytes |
wiki_ | Integer | Wiki size in bytes |
APIEntitiesProject
| Property | Type | Description |
|---|---|---|
_ | Object | — |
_ | String | Example:https: |
_ | String | Example:https: |
_ | String | Example:https: |
_ | String | Example:https: |
_ | String | Example:https: |
_ | String | Example:https: |
_ | String | Example:https: |
_ | String | Example:https: |
allow_ | Boolean | — |
allow_ | Boolean | — |
analytics_ | String | Example:enabled |
archived | Boolean | — |
auto_ | String | Example:enabled |
auto_ | String | Example:continuous |
auto_ | Boolean | — |
autoclose_ | Boolean | — |
automatic_ | Boolean | — |
avatar_ | String | Example:http: |
build_ | String | Example:fetch |
build_ | Integer | Example:3600 |
builds_ | String | Example:enabled |
can_ | Boolean | — |
ci_ | Boolean | — |
ci_ | String | Example: |
ci_ | Integer | Example:20 |
ci_ | Integer | Example:86400 |
ci_ | Boolean | — |
ci_ | Boolean | — |
ci_ | Boolean | — |
ci_ | Array of strings | — |
ci_ | Boolean | — |
ci_ | String | — |
ci_ | Boolean | — |
ci_ | Boolean | — |
ci_ | Boolean | — |
container_ | APIEntities | — |
container_ | String | Example:enabled |
container_ | Boolean | — |
container_ | String | Example:registry. |
created_ | String (date- | Example:2020- |
creator_ | Integer (int64) | Example:1 |
custom_ | APIEntities | — |
default_ | String | Example:main |
description | String | Example:desc |
description_ | String | — |
emails_ | Boolean | — |
emails_ | Boolean | — |
empty_ | Boolean | — |
enforce_ | Boolean | — |
environments_ | String | Example:enabled |
fe_ | Object | — |
feature_ | String | Example:enabled |
forked_ | APIEntities | Project this project was forked from. |
forking_ | String | Example:enabled |
forks_ | Integer | Example:1 |
group_ | Boolean | — |
http_ | String | Example:https: |
id | Integer (int64) | Example:1 |
import_ | String | Example:Import error |
import_ | String | Example:none |
import_ | String | Example:git |
import_ | String | Example:https: |
infrastructure_ | String | Example:enabled |
issue_ | String | Example:%(title) |
issues_ | String | Example:enabled |
issues_ | Boolean | — |
jaga_ | Boolean | — |
jobs_ | Boolean | — |
keep_ | Boolean | — |
last_ | String (date- | Example:2013- |
lfs_ | Boolean | — |
license | APIEntities | — |
license_ | String | Example:https: |
marked_ | String (date- | Example:2020- |
marked_ | String (date- | Example:2020- |
max_ | Integer | — |
max_ | Integer | — |
merge_ | String | Example:%(title) |
merge_ | String | Example:merge |
merge_ | Boolean | — |
merge_ | String | — |
merge_ | String | — |
merge_ | String | Example:enabled |
merge_ | Boolean | — |
merge_ | Boolean | — |
merge_ | Boolean | — |
merge_ | Boolean | — |
model_ | String | Example:enabled |
model_ | String | Example:enabled |
monitor_ | String | Example:enabled |
mr_ | Boolean | — |
mr_ | String | Example:%(source_ |
name | String | Example:project1 |
name_ | String | Example:John Doe / |
namespace | APIEntities | — |
only_ | Boolean | — |
only_ | Boolean | — |
open_ | Integer | Example:1 |
owner | APIEntities | — |
package_ | String | Example:enabled |
packages_ | Boolean | — |
pages_ | String | Example:enabled |
path | String | Example:project1 |
path_ | String | Example:namespace1/ |
printing_ | Boolean | — |
protect_ | Boolean | — |
public_ | Boolean | — |
readme_ | String | Example:https: |
releases_ | String | Example:enabled |
remove_ | Boolean | — |
repository_ | String | Example:enabled |
repository_ | String | Example:sha1 |
repository_ | String | Example:default |
request_ | Boolean | — |
resolve_ | Boolean | — |
resource_ | String | Example:unordered |
restrict_ | Boolean | — |
runner_ | Integer | Example:3600 |
runners_ | String | Example:b8547b1dc37721d05889 |
security_ | String | Example:enabled |
service_ | String | Example:address@example. |
service_ | Boolean | — |
shared_ | Boolean | — |
shared_ | Array of objects | — |
show_ | Boolean | — |
snippets_ | String | Example:enabled |
snippets_ | Boolean | — |
squash_ | String | Example:%(source_ |
squash_ | String | Example:default_ |
ssh_ | String | Example:git@gitlab. |
star_ | Integer | Example:1 |
statistics | APIEntities | — |
suggestion_ | String | Example:Suggestion message |
tag_ | Array of strings | Example:["tag"] |
topics | Array of strings | Example:["topic"] |
updated_ | String (date- | Example:2020- |
visibility | String | Example:public |
warn_ | Boolean | — |
web_ | String | Example:https: |
wiki_ | String | Example:enabled |
wiki_ | Boolean | — |
APIEntitiesProjectStatistics
| Property | Type | Description |
|---|---|---|
commit_ | Integer | Example:37 |
container_ | Integer | Example:0 |
job_ | Integer | Example:0 |
lfs_ | Integer | Example:0 |
packages_ | Integer | Example:0 |
pipeline_ | Integer | Example:0 |
repository_ | Integer | Example:1. |
snippets_ | Integer | Example:0 |
storage_ | Integer | Example:1. |
uploads_ | Integer | Example:0 |
wiki_ | Integer | Example:0 |
APIEntitiesPublicGroupDetails
| Property | Type | Description |
|---|---|---|
avatar_ | String | URL of the group’s avatar image Example: http: |
full_ | String | Full name of the group Example: Foobar Group |
full_ | String | Full path of the group Example: foo- |
id | Integer (int64) | ID of the group |
name | String | Name of the group Example: Diaspora |
web_ | String | URL to access the group in a browser Example: http: |
APIEntitiesTaskCompletionStatus
| Property | Type | Description |
|---|---|---|
completed_ | Integer | Example:3 |
count | Integer | Example:5 |
APIEntitiesUserBasic
| Property | Type | Description |
|---|---|---|
avatar_ | String | Example:/ |
avatar_ | String | URL of the user’s avatar Example: https: |
custom_ | Array of APIEntities | — |
id | Integer (int64) | ID of the user Example: 1 |
locked | Boolean | If true, |
name | String | Name of the user.**** if the current user cannot read the bot’s project or groupExample: Administrator |
public_ | String | Public email address of the user Example: john@example. |
state | String | State of the user account.active,blocked,ldap_,blocked_,banned,deactivatedExample: active |
username | String | Username of the user Example: admin |
web_ | String | URL of the user’s profile Example: https: |
APIEntitiesUserSafe
| Property | Type | Description |
|---|---|---|
id | Integer (int64) | ID of the user Example: 1 |
name | String | Name of the user.**** if the current user cannot read the bot’s project or groupExample: Administrator |
public_ | String | Public email address of the user Example: john@example. |
username | String | Username of the user Example: admin |