Commit 07e6c0e7 authored by Nick Thomas's avatar Nick Thomas

Make Dockerfile a proper noun in the docs

parent 1f3c58a2
...@@ -95,7 +95,7 @@ GET /projects/:id/templates/:type/:key ...@@ -95,7 +95,7 @@ GET /projects/:id/templates/:type/:key
| `project` | string | no | The project name to use when expanding placeholders in the template. Only affects licenses | | `project` | string | no | The project name to use when expanding placeholders in the template. Only affects licenses |
| `fullname` | string | no | The full name of the copyright holder to use when expanding placeholders in the template. Only affects licenses | | `fullname` | string | no | The full name of the copyright holder to use when expanding placeholders in the template. Only affects licenses |
Example response (dockerfile): Example response (Dockerfile):
```json ```json
......
# Dockerfiles API # Dockerfiles API
## List dockerfile templates ## List Dockerfile templates
Get all dockerfile templates. Get all Dockerfile templates.
``` ```
GET /templates/dockerfiles GET /templates/dockerfiles
...@@ -87,9 +87,9 @@ Example response: ...@@ -87,9 +87,9 @@ Example response:
] ]
``` ```
## Single dockerfile template ## Single Dockerfile template
Get a single dockerfile template. Get a single Dockerfile template.
``` ```
GET /templates/dockerfiles/:key GET /templates/dockerfiles/:key
...@@ -97,7 +97,7 @@ GET /templates/dockerfiles/:key ...@@ -97,7 +97,7 @@ GET /templates/dockerfiles/:key
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| ---------- | ------ | -------- | ----------- | | ---------- | ------ | -------- | ----------- |
| `key` | string | yes | The key of the dockerfile template | | `key` | string | yes | The key of the Dockerfile template |
```bash ```bash
curl https://gitlab.example.com/api/v4/templates/dockerfiles/Binary curl https://gitlab.example.com/api/v4/templates/dockerfiles/Binary
......
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