Commit a8bae47b authored by Alexis Sánchez's avatar Alexis Sánchez Committed by Evan Read

Documentation: Update and improve templates/gitignores.html

parent 83a9ea15
......@@ -12,10 +12,12 @@ information on `gitignore`, see the
Get all `.gitignore` templates.
```
```plaintext
GET /templates/gitignores
```
Example request:
```bash
curl https://gitlab.example.com/api/v4/templates/gitignores
```
......@@ -111,14 +113,16 @@ Example response:
Get a single `.gitignore` template.
```
```plaintext
GET /templates/gitignores/:key
```
| Attribute | Type | Required | Description |
| ---------- | ------ | -------- | ----------- |
| ---------- | ------ | -------- | ------------------------------------ |
| `key` | string | yes | The key of the `.gitignore` template |
Example request:
```bash
curl https://gitlab.example.com/api/v4/templates/gitignores/Ruby
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment