GitLab · JSON Structure

Gitlab Api V4 Admin Api_Entities_Ci_Variable Structure

API_Entities_Ci_Variable model

Type: object Properties: 7
CodePlatformSoftware DevelopmentSource Control

API_Entities_Ci_Variable is a JSON Structure definition published by GitLab, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

variable_type key value protected masked raw environment_scope

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-structure/gitlab-api-v4-admin-api_entities_ci_variable-structure.json",
  "name": "API_Entities_Ci_Variable",
  "description": "API_Entities_Ci_Variable model",
  "type": "object",
  "properties": {
    "variable_type": {
      "type": "string",
      "example": "env_var"
    },
    "key": {
      "type": "string",
      "example": "TEST_VARIABLE_1"
    },
    "value": {
      "type": "string",
      "example": "TEST_1"
    },
    "protected": {
      "type": "boolean",
      "example": true
    },
    "masked": {
      "type": "boolean",
      "example": true
    },
    "raw": {
      "type": "boolean",
      "example": true
    },
    "environment_scope": {
      "type": "string",
      "example": "*"
    }
  }
}