API

Open JSON API for integrating with gitignore.io

get
Get All Templates

https://www.gitignore.io/api/list?format=:format:
This endpoint allows you to get free cakes.
Request
Response
Query Parameters
format
optional
string
The format of the list response lines (default) or json
200: OK
Cake successfully retrieved.
{
"jboss4": {
"key": "jboss4",
"name": "JBoss4",
"contents": "\n### JBoss4 ###\n# gitignore for JBoss v4 projects\n\n\/server\/all\/data\n\/server\/all\/log\n\/server\/all\/tmp\n\/server\/all\/work\n\/server\/default\/data\n\/server\/default\/log\n\/server\/default\/tmp\n\/server\/default\/work\n\/server\/minimal\/data\n\/server\/minimal\/log\n\/server\/minimal\/tmp\n\/server\/minimal\/work\n\n# Note:\n# there may be other directories that contain *.xml.failed or *.war.failed files\n\/server\/default\/deploy\/*.xml.failed\n\/server\/default\/deploy\/*.war.failed\n",
"fileName": "JBoss4.gitignore"
},
"extjs": {
"key": "extjs",
"name": "ExtJs",
"contents": "\n### ExtJs ###\n.architect\nbootstrap.css\nbootstrap.js\nbootstrap.json\nbootstrap.jsonp\nbuild\/\nclassic.json\nclassic.jsonp\next\/\nmodern.json\nmodern.jsonp\nresources\/sass\/.sass-cache\/\nresources\/.arch-internal-preview.css\n.arch-internal-preview.css\n",
"fileName": "ExtJs.gitignore"
}
...
}

‚Äč