Skip to content
Utilerio
All endpoints

.gitignore Generator

POST/api/v1/tools/gitignore-generator

Pick your languages, frameworks and editors, merge their common .gitignore rules into one file.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/tools/gitignore-generator

Parameters

templatesstringrequired

Template ids to include (array), e.g. node, python, macos.

Request body

{
  "templates": [
    "node",
    "env",
    "macos"
  ]
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/tools/gitignore-generator \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"templates":["node","env","macos"]}'

Response

{ "gitignore": "# Node.js\nnode_modules/\n...\n\n# Environment / secrets\n.env\n...\n\n# macOS\n.DS_Store\n..." }