diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-03 12:09:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-03 12:09:33 +0300 |
commit | 544eaa90817fa8595826fbd44f37452c76b56378 (patch) | |
tree | 010190a7a2cbf568b737cd4a8edbc03c955f34f8 /doc/api/templates | |
parent | 9214e550c07793a8deb6d5cd5bb136d0d010a7ca (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/templates')
-rw-r--r-- | doc/api/templates/gitignores.md | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/api/templates/gitignores.md b/doc/api/templates/gitignores.md index 3a2b6386bee..2f489b2d6a7 100644 --- a/doc/api/templates/gitignores.md +++ b/doc/api/templates/gitignores.md @@ -7,13 +7,12 @@ type: reference # .gitignore API -In GitLab, there is an API endpoint available for `.gitignore`. For more -information on `gitignore`, see the -[Git documentation](https://git-scm.com/docs/gitignore). +In GitLab, the `/gitignores` endpoint returns a list of Git `.gitignore` templates. For more information, +see the [Git documentation for `.gitignore`](https://git-scm.com/docs/gitignore). -## List `.gitignore` templates +## Get all `.gitignore` templates -Get all `.gitignore` templates. +Get a list of all `.gitignore` templates: ```plaintext GET /templates/gitignores @@ -112,9 +111,9 @@ Example response: ] ``` -## Single `.gitignore` template +## Get a single `.gitignore` template -Get a single `.gitignore` template. +Get a single `.gitignore` template: ```plaintext GET /templates/gitignores/:key |