Skip to content

Retrieve a GitLab CI/CD YAML template

GET
/api/v4/templates/gitlab_ci_ymls/{name}

Retrieves a specified GitLab CI/CD YAML template.

name
required
string

The name of the GitLab CI/CD YAML template

OK

Media type application/json
object
name
string
content
string
Example
{
"name": "Ruby",
"content": "# Ruby gitignore template"
}

Bad Request

Not Found