Skip to content

Retrieve a Dockerfile template

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

Retrieves a specified Dockerfile template.

name
required
string

The name of the Dockerfile template

OK

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

Bad Request

Not Found