GET
/gitignore/templates/{name}Get a gitignore template
Retrieves the content of a gitignore template by name. Supply name to identify the template you want to retrieve. The response provides the template name and its source content.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
namestringrequired
The name of the gitignore template to retrieve.
200Returns a gitignore template object containing its `name` and `source` content.
namestringrequired
sourcestringrequired
304Returned when the requested representation has not changed.
Error handling
name is required and must be a string identifying an available gitignore template. Use the template name as the path value when requesting its source content.