Skip to content

Returns information about a gitignore template

GET
/gitignore/templates/{name}
name
required
string

Name of the template

GitignoreTemplateInfo

Media type application/json

GitignoreTemplateInfo name and text of a gitignore template

object
name
string
source
string
Example generated
{
"name": "example",
"source": "example"
}

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}