Use this API to manage deploy keys, deploy tokens, and code deployments to GitLab environments.
List all deploy keys
GET /api/v4/deploy_keys
Lists all deploy keys for the instance.
Parameters
| Name | Type | Description |
|---|---|---|
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
publicQuery | Boolean | Only return deploy keys that are public Default: false |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
Create a deploy key
POST /api/v4/deploy_keys
Creates a deploy key for the GitLab instance. Requires administrator access.
Request body (application/json)
| Property | Type | Description |
|---|---|---|
expires_ | String (date- | The expiration date of the SSH key in ISO 8601 format (YYYY- |
keyRequired | String | New deploy key |
titleRequired | String | New deploy key’s title |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
List all deploy tokens
GET /api/v4/deploy_tokens
Lists all deploy tokens for the instance.
Parameters
| Name | Type | Description |
|---|---|---|
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
activeQuery | Boolean | Limit by active status |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
List all group deploy tokens
GET /api/v4/groups/{id}/deploy_tokens
Lists all group deploy tokens.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | Integer or string | The ID or URL- |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
activeQuery | Boolean | Limit by active status |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not found | — |
Create a group deploy token
POST /api/v4/groups/{id}/deploy_tokens
Creates a group deploy token.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | Integer or string | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
expires_ | String (date- | Expiration date for the deploy token.2019-) |
nameRequired | String | New deploy token’s name |
scopesRequired | Array of strings | Indicates the deploy token scopes.read_,read_,write_,read_,write_ |
username | String | Username for deploy token.gitlab+deploy- |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Retrieve a group deploy token
GET /api/v4/groups/{id}/deploy_tokens/{token_id}
Get a single group’s deploy token by ID. This feature was introduced in GitLab 14.9.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | Integer or string | The ID or URL- |
token_Path, | Integer | The ID of the deploy token |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
Delete a group deploy token
DELETE /api/v4/groups/{id}/deploy_tokens/{token_id}
Deletes a group deploy token.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | Integer or string | The ID or URL- |
token_Path, | Integer | The ID of the deploy token |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Resource deleted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
List all deploy keys for project
GET /api/v4/projects/{id}/deploy_keys
Lists all deploy keys for a specified project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
Add a deploy key for a project
POST /api/v4/projects/{id}/deploy_keys
Adds a deploy key for a specified project. If the deploy key already exists in another project, it is joined to the current project only if the original one is accessible by the same user.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
can_ | Boolean | Can deploy key push to the project’s repository |
expires_ | String (date- | The expiration date of the SSH key in ISO 8601 format (YYYY- |
keyRequired | String | New deploy key |
titleRequired | String | New deploy key’s title |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Retrieve a deploy key
GET /api/v4/projects/{id}/deploy_keys/{key_id}
Retrieves a specified deploy key.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
key_Path, | Integer | The ID of the deploy key |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
Update a deploy key
PUT /api/v4/projects/{id}/deploy_keys/{key_id}
Updates a deploy key for a project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
key_Path, | Integer | The ID of the deploy key |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
can_ | Boolean | Can deploy key push to the project’s repository |
title | String | New deploy key’s title |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not found | — |
Delete deploy key
DELETE /api/v4/projects/{id}/deploy_keys/{key_id}
FE version
Removes a deploy key from the project. If the deploy key is used only for this project, it’s deleted from the system.
Parameters
| Name | Type | Description |
|---|---|---|
key_Path, | Integer | The ID of the deploy key |
idPath, | String or integer | The ID or URL- Example: 11 |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
Enable a deploy key
POST /api/v4/projects/{id}/deploy_keys/{key_id}/enable
Enables a deploy key for a project so this can be used. Returns the enabled key, with a status code 201 when successful.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
key_Path, | Integer | The ID of the deploy key |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
List all project deploy tokens
GET /api/v4/projects/{id}/deploy_tokens
Lists all project deploy tokens.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
activeQuery | Boolean | Limit by active status |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not found | — |
Create a project deploy token
POST /api/v4/projects/{id}/deploy_tokens
Creates a project deploy token.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
expires_ | String (date- | Expiration date for the deploy token.2019-) |
nameRequired | String | New deploy token’s name |
scopesRequired | Array of strings | Indicates the deploy token scopes.read_,read_,write_,read_,write_,read_,write_ |
username | String | Username for deploy token.gitlab+deploy- |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Retrieve a project deploy token
GET /api/v4/projects/{id}/deploy_tokens/{token_id}
Retrieves a project deploy token.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
token_Path, | Integer | The ID of the deploy token |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
Delete a project deploy token
DELETE /api/v4/projects/{id}/deploy_tokens/{token_id}
Deletes a project deploy token.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
token_Path, | Integer | The ID of the deploy token |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Resource deleted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
List all project deployments
GET /api/v4/projects/{id}/deployments
Lists all deployments in a project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
order_Query | String | Return deployments ordered by either one of id,iid,created_,updated_ or ref fields.idAllowed values: id,iid,created_,updated_,finished_Default: id |
sortQuery | String | Return deployments sorted in asc or desc order.ascAllowed values: asc,descDefault: asc |
updated_Query | String (date- | Return deployments updated after the specified date.2019-) |
updated_Query | String (date- | Return deployments updated before the specified date.2019-) |
finished_Query | String (date- | Return deployments finished after the specified date.2019-) |
finished_Query | String (date- | Return deployments finished before the specified date.2019-) |
environmentQuery | String | The name of the environment to filter deployments by |
statusQuery | String | The status to filter deployments by.created,running,success,failed,canceled,blockedAllowed values: created,running,success,failed,canceled,skipped,blocked |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Create a deployment
POST /api/v4/projects/{id}/deployments
Creates a deployment.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
environmentRequired | String | The name of the environment to create the deployment for |
refRequired | String | The name of the branch or tag that is deployed |
shaRequired | String | The SHA of the commit that is deployed |
statusRequired | String | The status of the deployment that is created.running,success,failed,canceledAllowed values: running,success,failed,canceledMinimum length: 1 |
tagRequired | Boolean | A boolean that indicates if the deployed ref is a tag (true) or not (false) |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
404 | Not found | — |
Retrieve a deployment
GET /api/v4/projects/{id}/deployments/{deployment_id}
Retrieves a specified deployment.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
deployment_Path, | Integer | The ID of the deployment |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
Update a deployment
PUT /api/v4/projects/{id}/deployments/{deployment_id}
Updates a specified deployment.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
deployment_Path, | Integer | The ID of the deployment |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
statusRequired | String | The new status of the deployment.running,success,failed,canceledAllowed values: running,success,failed,canceledMinimum length: 1 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not found | — |
Delete a deployment
DELETE /api/v4/projects/{id}/deployments/{deployment_id}
Deletes a specified deployment that is not currently the last deployment for an environment or in a running state.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
deployment_Path, | Integer | The ID of the deployment |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Deployment destroyed | — |
400 | “Cannot destroy running deployment” or “Deployment currently deployed to environment” | — |
403 | Forbidden | — |
404 | Not Found | — |
Approve or reject a deployment
POST /api/v4/projects/{id}/deployments/{deployment_id}/approval
Approves or rejects a protected deployment.
Parameters
| Name | Type | Description |
|---|---|---|
deployment_Path, | Integer | The ID of the deployment |
idPath, | String or integer | The ID or URL- Example: 11 |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
comment | String | A comment to go with the approval |
represented_ | String | The user, |
statusRequired | String | The status of the approval Allowed values: approved,rejectedMinimum length: 1 |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not found | — |
List all merge requests associated with a deployment
GET /api/v4/projects/{id}/deployments/{deployment_id}/merge_requests
Lists all merge requests shipped with a specified deployment.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
deployment_Path, | Integer | The ID of the deployment |
author_Query | Integer | Returns merge requests created by the given user id.scope=all or scope=assigned_.author_ |
author_Query | String | Returns merge requests created by the given username.author_ |
assignee_Query | Integer or string | Returns merge requests assigned to the given user id.None returns unassigned merge requests.Any returns merge requests with an assignee.assignee_ |
assignee_Query | Array of strings | Returns merge requests created by the given username.assignee_ |
reviewer_Query | String | Returns merge requests which have the user as a reviewer with the given username.None returns merge requests with no reviewers.Any returns merge requests with any reviewer.reviewer_ |
labelsQuery | Array of strings | Returns merge requests matching a comma-None lists all merge requests with no labels.Any lists all merge requests with at least one label. |
milestoneQuery | String | Returns merge requests for a specific milestone.None returns merge requests with no milestone.Any returns merge requests that have an assigned milestone |
my_Query | String | Returns merge requests reacted by the authenticated user by the given emoji.None returns issues not given a reaction.Any returns issues given at least one reaction |
reviewer_Query | Integer or string | Returns merge requests which have the user as a reviewer with the given user id.None returns merge requests with no reviewers.Any returns merge requests with any reviewer.reviewer_ |
stateQuery | String | Returns all merge requests or just those that are opened,closed,locked,mergedAllowed values: opened,closed,locked,merged,allDefault: all |
order_Query | String | Returns merge requests ordered by created_,label_,milestone_,popularity,priority,title,updated_ or merged_ fields.Allowed values: created_,label_,milestone_,popularity,priority,title,updated_,merged_Default: created_ |
sortQuery | String | Returns merge requests sorted in asc or desc orderAllowed values: asc,descDefault: desc |
with_Query | Boolean | If true,:,:,:,:,:Default: false |
with_Query | Boolean | If true,merge_ field be recalculated asynchronously.Default: false |
created_Query | String (date- | Returns merge requests created on or after the given time. Example: 2019- |
created_Query | String (date- | Returns merge requests created on or before the given time. Example: 2019- |
updated_Query | String (date- | Returns merge requests updated on or after the given time. Example: 2019- |
updated_Query | String (date- | Returns merge requests updated on or before the given time. Example: 2019- |
merged_Query | String (date- | Returns merge requests merged on or after the given time. Example: 2019- |
merged_Query | String (date- | Returns merge requests merged on or before the given time. Example: 2019- |
viewQuery | String | If simple,iid,Allowed values: simple |
scopeQuery | String | Returns merge requests for the given scope:created_,assigned_,reviews_ or allAllowed values: created-,assigned-,created_,assigned_,reviews_,all |
source_Query | String | Returns merge requests with the given source branch |
source_Query | Integer | Returns merge requests with the given source project id |
target_Query | String | Returns merge requests with the given target branch |
searchQuery | String | Search merge requests against their title and description |
inQuery | String | Modify the scope of the search attribute.title,description,Example: title, |
wipQuery | String | Deprecated.draft instead.wip status.yes to return only draft merge requests,no to return non-draftAllowed values: yes,no |
draftQuery | Boolean | Filter merge requests against their draft status.true to return only draft merge requests,false to return non-wip |
notQuery | Object | Returns merge requests that do not match the parameters supplied |
not[author_Query | Integer | <Negated> Returns merge requests created by the given user id.scope=all or scope=assigned_.not[author_ |
not[author_Query | String | <Negated> Returns merge requests created by the given username.not[author_ |
not[assignee_Query | Integer or string | <Negated> Returns merge requests assigned to the given user id.None returns unassigned merge requests.Any returns merge requests with an assignee.not[assignee_ |
not[assignee_Query | Array of strings | <Negated> Returns merge requests created by the given username.not[assignee_ |
not[reviewer_Query | String | <Negated> Returns merge requests which have the user as a reviewer with the given username.None returns merge requests with no reviewers.Any returns merge requests with any reviewer.not[reviewer_ |
not[labels]Query | Array of strings | <Negated> Returns merge requests matching a comma-None lists all merge requests with no labels.Any lists all merge requests with at least one label. |
not[milestone]Query | String | <Negated> Returns merge requests for a specific milestone.None returns merge requests with no milestone.Any returns merge requests that have an assigned milestone |
not[my_Query | String | <Negated> Returns merge requests reacted by the authenticated user by the given emoji.None returns issues not given a reaction.Any returns issues given at least one reaction |
not[reviewer_Query | Integer | <Negated> Returns merge requests which have the user as a reviewer with the given user id.None returns merge requests with no reviewers.Any returns merge requests with any reviewer.not[reviewer_ |
deployed_Query | String (date- | Returns merge requests deployed before the given date/ Example: 2019- |
deployed_Query | String (date- | Returns merge requests deployed after the given date/ Example: 2019- |
environmentQuery | String | Returns merge requests deployed to the given environment Example: production |
merge_Query | Integer | Returns merge requests which have been merged by the user with the given user id.merge_ |
merge_Query | String | Returns merge requests which have been merged by the user with the given username.merge_ |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
404 | Not found | — |
List all project deploy keys for a user
GET /api/v4/users/{user_id}/project_deploy_keys
Lists all project deploy keys accessible to a specified user.
Parameters
| Name | Type | Description |
|---|---|---|
user_Path, | String | The ID or username of the user |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
404 | Not Found | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesCiJob
| Property | Type | Description |
|---|---|---|
allow_ | Boolean | — |
archived | Boolean | Example:false |
artifacts | Array of APIEntities | — |
artifacts_ | String (date- | Example:2016- |
artifacts_ | APIEntities | — |
commit | APIEntities | — |
coverage | Number (float) | Example:98. |
created_ | String (date- | Example:2015- |
duration | Number (float) | Time spent running Example: 0. |
erased_ | String (date- | Example:2015- |
failure_ | String | Example:script_ |
finished_ | String (date- | Example:2015- |
id | Integer (int64) | Example:1 |
name | String | Example:deploy_ |
pipeline | APIEntities | — |
project | Object | — |
project. | String | Example:false |
queued_ | Number (float) | Time spent enqueued Example: 0. |
ref | String | Example:main |
runner | APIEntities | — |
runner_ | APIEntities | — |
stage | String | Example:deploy |
started_ | String (date- | Example:2015- |
status | String | Example:waiting_ |
tag | Boolean | — |
tag_ | Array of strings | Example:["ubuntu18", |
user | APIEntities | — |
web_ | String | Example:https: |
APIEntitiesCiJobArtifact
| Property | Type | Description |
|---|---|---|
file_ | String | Allowed values:raw,zip,gzipExample: zip |
file_ | String | Allowed values:archive,metadata,trace,junit,sast,dependency_,container_,dast,codequality,license_,performance,metrics,metrics_,network_,lsif,dotenv,cobertura,terraform,accessibility,cluster_,secret_,requirements,coverage_,browser_,load_,api_,cluster_,cyclonedx,requirements_,annotations,repository_,jacoco,sarifExample: archive |
filename | String | Example:artifacts. |
size | Integer | Example:1000 |
APIEntitiesCiJobArtifactFile
| Property | Type | Description |
|---|---|---|
filename | String | Example:artifacts. |
size | Integer | Example:1000 |
APIEntitiesCiPipelineBasic
| Property | Type | Description |
|---|---|---|
created_ | String (date- | Example:2022- |
id | Integer (int64) | Example:1 |
iid | Integer | Example:2 |
project_ | Integer (int64) | Example:3 |
ref | String | Example:feature- |
sha | String | Example:0ec9e58fdfca6cdd6652 |
source | String | Example:push |
status | String | Example:success |
updated_ | String (date- | Example:2022- |
web_ | String | Example:https: |
APIEntitiesCiRunner
| Property | Type | Description |
|---|---|---|
active | Boolean | Example:true |
created_ | String (date- | Example:2025- |
created_ | APIEntities | — |
description | String | Example:test- |
id | Integer (int64) | Example:8 |
ip_ | String | 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 |
APIEntitiesCiRunnerManager
| Property | Type | Description |
|---|---|---|
architecture | String | Example:amd64 |
contacted_ | String | Example:2023- |
created_ | String | Example:2023- |
id | Integer (int64) | Example:8 |
ip_ | String | Example:127. |
job_ | String | Allowed values:active,idleExample: idle |
platform | String | Example:linux |
revision | String | Example:91a27b2a |
status | String | Example:online |
system_ | String | Example:runner- |
version | String | Example:16. |
APIEntitiesCommit
| Property | Type | Description |
|---|---|---|
author_ | String | Example:john@example. |
author_ | String | Example:John Smith |
authored_ | String (date- | Example:2012- |
committed_ | String (date- | Example:2012- |
committer_ | String | Example:jack@example. |
committer_ | String | Example:Jack Smith |
created_ | String (date- | Example:2017- |
extended_ | Object | Example:{"Signed- |
id | String | Example:2695effb5807a22ff3d1 |
message | String | Example:Initial commit |
parent_ | Array of strings | Example:["2a4b78934375d7f53875 |
short_ | String | Example:2695effb |
title | String | Example:Initial commit |
trailers | Object | Example:{"Merged- |
web_ | String | Example:https: |
APIEntitiesCustomAttribute
| Property | Type | Description |
|---|---|---|
key | String | Example:foo |
value | String | Example:bar |
APIEntitiesDeployKey
| Property | Type | Description |
|---|---|---|
created_ | String (date- | Example:2015- |
expires_ | String (date- | Example:2020- |
fingerprint | String | Example:4a: |
fingerprint_ | String | Example:SHA256: |
id | Integer (int64) | Example:1 |
key | String | Example:ssh- |
last_ | String (date- | Example:2020- |
projects_ | APIEntities | — |
projects_ | APIEntities | — |
title | String | Example:Sample key 25 |
usage_ | String | Example:auth |
APIEntitiesDeployKeysProject
| Property | Type | Description |
|---|---|---|
can_ | Boolean | — |
created_ | String (date- | Example:2015- |
expires_ | String (date- | Example:2020- |
fingerprint | String | Example:4a: |
fingerprint_ | String | Example:SHA256: |
id | Integer (int64) | Example:1 |
key | String | Example:ssh- |
last_ | String (date- | Example:2020- |
projects_ | APIEntities | — |
projects_ | APIEntities | — |
title | String | Example:Sample key 25 |
usage_ | String | Example:auth |
APIEntitiesDeployment
| Property | Type | Description |
|---|---|---|
created_ | String (date- | Example:2016- |
deployable | APIEntities | — |
environment | APIEntities | — |
id | Integer (int64) | Example:41 |
iid | Integer | Example:1 |
ref | String | Example:main |
sha | String | Example:99d03678b90d914dbb1b |
status | String | Example:created |
updated_ | String (date- | Example:2016- |
user | APIEntities | — |
APIEntitiesDeploymentApproval
| Property | Type | Description |
|---|---|---|
comment | String | Example:Looks good to me |
created_ | String (date- | Example:2022- |
status | String | Example:approved |
user | APIEntities | — |
APIEntitiesDeploymentApprovalSummary
| Property | Type | Description |
|---|---|---|
rules | Array of APIEntities | — |
APIEntitiesDeploymentApprovalSummaryRule
| Property | Type | Description |
|---|---|---|
access_ | Integer | Example:40 |
access_ | String | Example:Maintainers |
deployment_ | Array of APIEntities | — |
group_ | Integer (int64) | Example:3 |
required_ | Integer | Example:1 |
user_ | Integer (int64) | Example:2 |
APIEntitiesDeploymentExtended
| Property | Type | Description |
|---|---|---|
approval_ | APIEntities | — |
approvals | Array of APIEntities | — |
created_ | String (date- | Example:2016- |
deployable | APIEntities | — |
environment | APIEntities | — |
id | Integer (int64) | Example:41 |
iid | Integer | Example:1 |
pending_ | Integer | Example:0 |
ref | String | Example:main |
sha | String | Example:99d03678b90d914dbb1b |
status | String | Example:created |
updated_ | String (date- | Example:2016- |
user | APIEntities | — |
APIEntitiesDeployToken
| Property | Type | Description |
|---|---|---|
expired | Boolean | — |
expires_ | String (date- | Example:2020- |
id | Integer (int64) | Example:1 |
name | String | Example:My |
revoked | Boolean | — |
scopes | Array | Example:["read_ |
username | String | Example:gitlab+deploy- |
APIEntitiesDeployTokenWithToken
| Property | Type | Description |
|---|---|---|
expired | Boolean | — |
expires_ | String (date- | Example:2020- |
id | Integer (int64) | Example:1 |
name | String | Example:My |
revoked | Boolean | — |
scopes | Array | Example:["read_ |
token | String | Example:j |
username | String | Example:gitlab+deploy- |
APIEntitiesEnvironmentBasic
| Property | Type | Description |
|---|---|---|
created_ | String (date- | Example:2019- |
external_ | String | Example:https: |
id | Integer (int64) | Example:1 |
name | String | Example:deploy |
slug | String | Example:deploy |
updated_ | String (date- | Example:2019- |
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 |
APIEntitiesMergeRequestBasic
| Property | Type | Description |
|---|---|---|
allow_ | Boolean | — |
allow_ | Boolean | — |
assignee | APIEntities | — |
assignees | APIEntities | — |
author | APIEntities | — |
blocking_ | Boolean | — |
closed_ | String (date- | Example:2022- |
closed_ | APIEntities | — |
created_ | String (date- | Example:2022- |
description | String | Example:Repellendus impedit et vel velit dignissimos. |
description_ | String | — |
detailed_ | String | Example:mergeable |
discussion_ | Boolean | — |
downvotes | Integer | — |
draft | Boolean | — |
force_ | Boolean | — |
has_ | Boolean | — |
id | Integer (int64) | Example:84 |
iid | Integer | Example:14 |
imported | Boolean | — |
imported_ | String | Example:bitbucket |
labels | Array of strings | — |
merge_ | String (date- | Example:2022- |
merge_ | String | Example:1234abcd |
merge_ | String | Example:unchecked |
merge_ | APIEntities | — |
merge_ | Boolean | — |
merged_ | String (date- | Example:2022- |
merged_ | APIEntities | — |
milestone | APIEntities | — |
prepared_ | String (date- | Example:2022- |
project_ | Integer (int64) | Example:4 |
reference | String | Example:!1 |
references | APIEntities | — |
reviewers | APIEntities | — |
sha | String | Example:1234abcd |
should_ | Boolean | — |
source_ | String | — |
source_ | Integer (int64) | — |
squash | Boolean | — |
squash_ | String | Example:1234abcd |
squash_ | Boolean | — |
state | String | Example:closed |
target_ | String | — |
target_ | Integer (int64) | — |
task_ | APIEntities | — |
time_ | APIEntities | — |
title | String | Example:Impedit et ut et dolores vero provident ullam est |
title_ | String | — |
updated_ | String (date- | Example:2022- |
upvotes | Integer | — |
user_ | Integer | — |
web_ | String | Example:https: |
work_ | Boolean | — |
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 | — |
APIEntitiesProjectIdentity
| Property | Type | Description |
|---|---|---|
created_ | String (date- | Example:2020- |
description | String | Example:desc |
id | Integer (int64) | Example:1 |
name | String | Example:project1 |
name_ | String | Example:John Doe / |
path | String | Example:project1 |
path_ | String | Example:namespace1/ |
APIEntitiesTaskCompletionStatus
| Property | Type | Description |
|---|---|---|
completed_ | Integer | Example:3 |
count | Integer | Example:5 |
APIEntitiesUser
| Property | Type | Description |
|---|---|---|
avatar_ | String | Example:/ |
avatar_ | String | Example:https: |
bio | String | — |
bot | Boolean | — |
created_ | String | — |
custom_ | Array of APIEntities | — |
discord | String | — |
followers | String | — |
following | String | — |
github | String | — |
id | Integer (int64) | Example:1 |
is_ | String | — |
job_ | String | — |
linkedin | String | — |
local_ | String | — |
location | String | — |
locked | Boolean | — |
name | String | Example:Administrator |
organization | String | — |
pronouns | String | — |
public_ | String | Example:john@example. |
state | String | Example:active |
twitter | String | — |
username | String | Example:admin |
web_ | String | Example:https: |
website_ | String | — |
work_ | String | — |
APIEntitiesUserBasic
| Property | Type | Description |
|---|---|---|
avatar_ | String | Example:/ |
avatar_ | String | Example:https: |
custom_ | Array of APIEntities | — |
id | Integer (int64) | Example:1 |
locked | Boolean | — |
name | String | Example:Administrator |
public_ | String | Example:john@example. |
state | String | Example:active |
username | String | Example:admin |
web_ | String | Example:https: |