Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
07e6c0e7
Commit
07e6c0e7
authored
Oct 05, 2018
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Dockerfile a proper noun in the docs
parent
1f3c58a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
doc/api/project_templates.md
doc/api/project_templates.md
+1
-1
doc/api/templates/dockerfiles.md
doc/api/templates/dockerfiles.md
+5
-5
No files found.
doc/api/project_templates.md
View file @
07e6c0e7
...
...
@@ -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 |
|
`fullname`
| string | no | The full name of the copyright holder to use when expanding placeholders in the template. Only affects licenses |
Example response (
d
ockerfile):
Example response (
D
ockerfile):
```
json
...
...
doc/api/templates/dockerfiles.md
View file @
07e6c0e7
# Dockerfiles API
## List
d
ockerfile templates
## List
D
ockerfile templates
Get all
d
ockerfile templates.
Get all
D
ockerfile templates.
```
GET /templates/dockerfiles
...
...
@@ -87,9 +87,9 @@ Example response:
]
```
## Single
d
ockerfile template
## Single
D
ockerfile template
Get a single
d
ockerfile template.
Get a single
D
ockerfile template.
```
GET /templates/dockerfiles/:key
...
...
@@ -97,7 +97,7 @@ GET /templates/dockerfiles/:key
| Attribute | Type | Required | Description |
| ---------- | ------ | -------- | ----------- |
|
`key`
| string | yes | The key of the
d
ockerfile template |
|
`key`
| string | yes | The key of the
D
ockerfile template |
```
bash
curl https://gitlab.example.com/api/v4/templates/dockerfiles/Binary
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment