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 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
template.ci_yml_getGet CI Yml Templatesolo lecturaGet 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)template.ci_yml_listList CI Yml Templatessolo lecturaList 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
template.dockerfile_getGet Dockerfile Templatesolo lecturaGet 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)template.dockerfile_listList Dockerfile Templatessolo lecturaList 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
template.gitignore_getGet Gitignore Templatesolo lecturaGet 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)template.gitignore_listList Gitignore Templatessolo lecturaList 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
template.license_getGet License Templatesolo lecturaGet 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)template.license_listList License Templatessolo lecturaList 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
template.lintCI Lintsolo lecturaValidate 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)template.lint_projectCI Lint Projectsolo lecturaValidate 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)template.project_template_getGet Project Templatesolo lecturaReturns: 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)template.project_template_listList Project Templatessolo lecturaList 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)