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 contra gitlab.com, que es el único host con el que habla este endpoint: para usarlo contra una instancia self-managed, levanta tú el servidor — su documentación lo cubre. 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. Por eso las cifras difieren en otros sitios: el proyecto upstream cuenta 868 operaciones en Community Edition y hasta 1.094 en el tier más alto de GitLab.com, mientras que este despliegue publica 768 porque es solo-OAuth y actúa con tu token, así que los dominios de administración que una cuenta sin admin no puede llamar no aparecen nunca. Las tres describen el mismo catálogo, contado desde tres sitios distintos.

Cada entrada dice también qué necesita un token de acceso personal fine-grained de GitLab para ejecutarla, tal como lo declara GitLab 19.4.1: todos los permisos de una línea, en uno de los ámbitos indicados. Cuando hay alternativas, basta con cualquiera.

Volver a la ficha del servidor

  1. ci_variable.create

    CI Variable Create

    Create 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|integer), value (string)

    Token fine-grained: Variable: Create en proyecto

  2. ci_variable.delete

    CI Variable Deletedestructiva

    Delete 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|integer)

    Token fine-grained: Variable: Delete en proyecto

  3. ci_variable.get

    CI Variable Getsolo lectura

    Get 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|integer)

    Token fine-grained: Variable: Read en proyecto

  4. ci_variable.group_create

    Group Variable Create

    Create 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|integer), key (string)

    Token fine-grained: Variable: Create en grupo

  5. ci_variable.group_delete

    Group Variable Deletedestructiva

    Delete 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|integer), key (string)

    Token fine-grained: Variable: Delete en grupo

  6. ci_variable.group_get

    Group Variable Getsolo lectura

    Get 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|integer), key (string)

    Token fine-grained: Variable: Read en grupo

  7. ci_variable.group_list

    Group Variable Listsolo lectura

    List 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|integer)

    Token fine-grained: Variable: Read en grupo

  8. ci_variable.group_update

    Group Variable Update

    Update 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|integer), key (string)

    Token fine-grained: Variable: Update en grupo

  9. ci_variable.instance_create

    Instance Variable Create

    Create 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)

    Token fine-grained: Variable: Create en instancia

  10. ci_variable.instance_delete

    Instance Variable Deletedestructiva

    Delete 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)

    Token fine-grained: Variable: Delete en instancia

  11. ci_variable.instance_get

    Instance Variable Getsolo lectura

    Get 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)

    Token fine-grained: Variable: Read en instancia

  12. ci_variable.instance_list

    Instance Variable Listsolo lectura

    List 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

    Token fine-grained: Variable: Read en instancia

  13. ci_variable.instance_update

    Instance Variable Update

    Update 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)

    Token fine-grained: Variable: Update en instancia

  14. ci_variable.list

    CI Variable Listsolo lectura

    List 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|integer)

    Token fine-grained: Variable: Read en proyecto

  15. ci_variable.update

    CI Variable Update

    Update 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|integer)

    Token fine-grained: Variable: Update en proyecto