GitLabConfigRead
Fields
GET/PUT response for /projects/{id}/integrations/gitlab.
8 fields
base_url- string
commit_status_enabled- boolean
enabled- boolean
has_token- boolean
last_error- string or null
last_error_at- string (date-time) or null
mr_comment_mode- string
project_path- string
Raw schema (JSON)
{
"description": "GET/PUT response for ``/projects/{id}/integrations/gitlab``.\n\nStructurally token-free — the PAT can never leak through this model;\n``has_token`` is the only token signal. ``mr_comment_mode`` is a plain\n``str`` on the read side (GitHub-sibling pattern): the column is an\nunconstrained ``String(20)``, and a drifted row value must degrade\ngracefully instead of turning GET into a ResponseValidationError 500.",
"properties": {
"base_url": {
"default": "https://gitlab.com",
"maxLength": 500,
"title": "Base Url",
"type": "string"
},
"commit_status_enabled": {
"default": true,
"title": "Commit Status Enabled",
"type": "boolean"
},
"enabled": {
"default": false,
"title": "Enabled",
"type": "boolean"
},
"has_token": {
"default": false,
"title": "Has Token",
"type": "boolean"
},
"last_error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Error"
},
"last_error_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Error At"
},
"mr_comment_mode": {
"default": "failures_only",
"title": "Mr Comment Mode",
"type": "string"
},
"project_path": {
"default": "",
"maxLength": 500,
"title": "Project Path",
"type": "string"
}
},
"title": "GitLabConfigRead",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/projects/{project_id}/integrations/gitlab— Get Gitlab IntegrationPUT/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