Dominio de acciones
ci_variable
Todas las acciones que este dominio expone vía gitlab_execute_action, del manifiesto gitlab://tools. Cada entrada se despliega a su descripción completa y sus parámetros obligatorios.
15 · acciones3 · destructivas6 · solo lectura
Contado con un token Free de GitLab. El catálogo depende del token que pregunta, así que el recuento se mueve con su tier y con sus permisos: los tiers superiores exponen más acciones, y los dominios de administración solo aparecen a tokens autorizados a usarlos.
Volver a la ficha del servidor
ci_variable.createCI Variable CreateCreate a CI/CD variable in a project with type, environment scope, and protected/masked/raw/masked_and_hidden flags. Returns: the created variable's key, value (redacted when masked or hidden), type, flags, environment scope, and description. See also: ci_variable.list, ci_variable.get, ci_variable.update.
Parámetros obligatorios:
key (string),project_id (string),value (string)ci_variable.deleteCI Variable DeletedestructivaDelete a CI/CD variable by key, selecting an environment-scoped instance via the filter. Returns: a success confirmation message. See also: ci_variable.list, ci_variable.get.
Parámetros obligatorios:
key (string),project_id (string)ci_variable.getCI Variable Getsolo lecturaGet a single CI/CD variable by key, optionally selecting an environment-scoped instance via the filter. Returns: the variable's key, value (redacted when masked or hidden), type, protected/masked/hidden/raw flags, environment scope, and description. See also: ci_variable.list, ci_variable.update, ci_variable.delete.
Parámetros obligatorios:
key (string),project_id (string)ci_variable.group_createGroup Variable CreateCreate a CI/CD variable in a group with type, environment scope, and protected/masked/raw/masked_and_hidden flags. Returns: the created variable's key, value, type, flags, environment scope, and description. See also: ci_variable.group_list, ci_variable.group_get, ci_variable.group_update.
Parámetros obligatorios:
group_id (string),key (string)ci_variable.group_deleteGroup Variable DeletedestructivaDelete a group CI/CD variable by key, selecting an environment-scoped instance via the filter. Returns: a success confirmation message. See also: ci_variable.group_list, ci_variable.group_get.
Parámetros obligatorios:
group_id (string),key (string)ci_variable.group_getGroup Variable Getsolo lecturaGet a single group CI/CD variable by key, optionally selecting an environment-scoped instance via the filter. Returns: the variable's key, value, type, protected/masked/hidden/raw flags, environment scope, and description. See also: ci_variable.group_list, ci_variable.group_update, ci_variable.group_delete.
Parámetros obligatorios:
group_id (string),key (string)ci_variable.group_listGroup Variable Listsolo lecturaList a group's CI/CD variables with order_by, sort, and offset or keyset pagination. Returns: each variable's key, value, type, protected/masked/hidden/raw flags, environment scope, description, and pagination metadata. See also: ci_variable.group_get, ci_variable.group_create, ci_variable.group_update.
Parámetros obligatorios:
group_id (string)ci_variable.group_updateGroup Variable UpdateUpdate a group CI/CD variable, selecting an environment-scoped instance via the filter. Returns: the updated variable's key, value, type, protected/masked/hidden/raw flags, environment scope, and description. See also: ci_variable.group_get, ci_variable.group_list, ci_variable.group_delete.
Parámetros obligatorios:
group_id (string),key (string)ci_variable.instance_createInstance Variable CreateCreate an instance-level CI/CD variable with type and protected/masked/raw flags (admin-only). Returns: the created variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, flags, and description. See also: ci_variable.instance_list, ci_variable.instance_get, ci_variable.instance_update.
Parámetros obligatorios:
key (string)ci_variable.instance_deleteInstance Variable DeletedestructivaDelete an instance-level CI/CD variable by key (admin-only). Returns: a success confirmation message. See also: ci_variable.instance_list, ci_variable.instance_get.
Parámetros obligatorios:
key (string)ci_variable.instance_getInstance Variable Getsolo lecturaGet a single instance-level CI/CD variable by key (admin-only). Returns: the variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, and description. See also: ci_variable.instance_list, ci_variable.instance_update, ci_variable.instance_delete.
Parámetros obligatorios:
key (string)ci_variable.instance_listInstance Variable Listsolo lecturaList instance-level CI/CD variables with order_by, sort, and offset or keyset pagination (admin-only). Returns: each variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, description, and pagination metadata. See also: ci_variable.instance_get, ci_variable.instance_create, ci_variable.instance_update, ci_variable.instance_delete.
Parámetros obligatorios: Sin parámetros obligatorios
ci_variable.instance_updateInstance Variable UpdateUpdate an instance-level CI/CD variable by key, with type and protected/masked/raw flags (admin-only). Returns: the updated variable's key, value (raw even when masked, because masking redacts CI job logs, not this API), type, protected/masked/raw flags, and description. See also: ci_variable.instance_get, ci_variable.instance_list, ci_variable.instance_delete.
Parámetros obligatorios:
key (string)ci_variable.listCI Variable Listsolo lecturaList a project's CI/CD variables with order_by, sort, and offset or keyset pagination. Returns: each variable's key, type, protected/masked/hidden/raw flags, environment scope, description, and pagination metadata. See also: ci_variable.get, ci_variable.create, ci_variable.update.
Parámetros obligatorios:
project_id (string)ci_variable.updateCI Variable UpdateUpdate a CI/CD variable, selecting an environment-scoped instance via the filter. Returns: the updated variable's key, value (redacted when masked or hidden), type, protected/masked/hidden/raw flags, environment scope, and description. See also: ci_variable.get, ci_variable.list, ci_variable.delete.
Parámetros obligatorios:
key (string),project_id (string)