GitLabConfigWrite
Fields
PUT body for /projects/{id}/integrations/gitlab.
6 fields
base_url- string
commit_status_enabled- boolean
enabled- boolean
mr_comment_mode- string
project_path- string
token- string or null
Raw schema (JSON)
{
"description": "PUT body for ``/projects/{id}/integrations/gitlab``.\n\n``token`` is the optional write-only field: ``None`` leaves the stored\nsecret alone, ``\"\"`` clears it, any value sets/rotates it. The PAT is\nNEVER present on the read side (see ``GitLabConfigRead``).",
"properties": {
"base_url": {
"default": "https://gitlab.com",
"maxLength": 500,
"pattern": "^https?://",
"title": "Base Url",
"type": "string"
},
"commit_status_enabled": {
"default": true,
"title": "Commit Status Enabled",
"type": "boolean"
},
"enabled": {
"default": false,
"title": "Enabled",
"type": "boolean"
},
"mr_comment_mode": {
"default": "failures_only",
"enum": [
"off",
"failures_only",
"always"
],
"title": "Mr Comment Mode",
"type": "string"
},
"project_path": {
"default": "",
"maxLength": 500,
"title": "Project Path",
"type": "string"
},
"token": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"title": "Token"
}
},
"title": "GitLabConfigWrite",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
PUT/api/v1/projects/{project_id}/integrations/gitlab— Upsert Gitlab Integration
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON