Dominio de acciones

template

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.

12 · acciones0 · destructivas12 · 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 cataloga 1.006 acciones en 162 dominios, y 851 en la superficie Free/CE, mientras que este despliegue publica 747 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.

Volver a la ficha del servidor

  1. template.ci_yml_get

    Get CI Yml Templatesolo lectura

    Get a single GitLab CI/CD pipeline YAML template by key. Returns: the template name and full YAML content to copy into a .gitlab-ci.yml file. See also: template.ci_yml_list, template.lint, repository.file_create.

    Parámetros obligatorios: key (string)

  2. template.ci_yml_list

    List CI Yml Templatessolo lectura

    List the GitLab-provided CI/CD pipeline YAML templates. Returns: available templates with key and name, plus pagination metadata. See also: template.ci_yml_get, template.lint, repository.file_create.

    Parámetros obligatorios: Sin parámetros obligatorios

  3. template.dockerfile_get

    Get Dockerfile Templatesolo lectura

    Get a single Dockerfile template by key. Returns: the template name and full Dockerfile content ready to commit as a project's Dockerfile. See also: template.dockerfile_list, template.gitignore_get.

    Parámetros obligatorios: key (string)

  4. template.dockerfile_list

    List Dockerfile Templatessolo lectura

    List available Dockerfile templates with pagination and sorting. Returns: matching templates with key and name plus pagination metadata. See also: template.dockerfile_get, template.gitignore_list.

    Parámetros obligatorios: Sin parámetros obligatorios

  5. template.gitignore_get

    Get Gitignore Templatesolo lectura

    Get one .gitignore template by key (e.g. Go, Python, Node). Returns: the template's name and full file content ready to copy into .gitignore. See also: template.gitignore_list, repository.file_create.

    Parámetros obligatorios: key (string)

  6. template.gitignore_list

    List Gitignore Templatessolo lectura

    List available .gitignore templates with order_by, sort, and offset or keyset pagination. Returns: each template's key and name, plus pagination metadata. See also: template.gitignore_get, repository.file_create.

    Parámetros obligatorios: Sin parámetros obligatorios

  7. template.license_get

    Get License Templatesolo lectura

    Get a single license template by key, optionally substituting project and fullname placeholders. Returns: the license's key, name, nickname, featured flag, source/HTML URLs, description, conditions, permissions, limitations, and rendered content. See also: template.license_list, repository.file_create.

    Parámetros obligatorios: key (string)

  8. template.license_list

    List License Templatessolo lectura

    List available license templates with an optional popular filter, order_by/sort, and offset or keyset pagination. Returns: each template's key, name, nickname, featured flag, source/HTML URLs, description, conditions, permissions, limitations, and content, with pagination metadata. See also: template.license_get, repository.file_create.

    Parámetros obligatorios: Sin parámetros obligatorios

  9. template.lint

    CI Lintsolo lectura

    Validate inline .gitlab-ci.yml content within a project namespace. Returns: validity flag, errors, warnings, the merged YAML, and resolved includes. See also: template.lint_project, pipeline.create, ci_catalog.list.

    Parámetros obligatorios: content (string), project_id (string)

  10. template.lint_project

    CI Lint Projectsolo lectura

    Validate a project's committed .gitlab-ci.yml at a branch or tag. Returns: validity flag, errors, warnings, the merged YAML, and resolved includes. See also: template.lint, pipeline.create, repository.file_get.

    Parámetros obligatorios: project_id (string)

  11. template.project_template_get

    Get Project Templatesolo lectura

    Returns: one project template's full content by template_type and key. See also: template.project_template_list, project.create.

    Parámetros obligatorios: key (string), project_id (string), template_type (string)

  12. template.project_template_list

    List Project Templatessolo lectura

    List project templates of a given template_type with optional id/type filters, order_by/sort, and offset or keyset pagination. Returns: each template's key, name, nickname, popularity, and source/HTML URLs. See also: template.project_template_get, project.create.

    Parámetros obligatorios: project_id (string), template_type (string)