summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-01-31 09:29:40 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-01-31 09:29:40 +0000
commit3241690688216e22efb65e6be267bd2ded1eea79 (patch)
treec803ef8789bcdaaf93ee99e83f165b567becaa6c /doc/api
parent120c79020ddd3097ae64149c75864353276aaa5f (diff)
parent9c10a71e13bedb78be8da0cfdf4f0c6250b8d190 (diff)
downloadgitlab-ce-3241690688216e22efb65e6be267bd2ded1eea79.tar.gz
Merge branch 'docs-42499-api-repo-archive-format-param' into 'master'
Document format parameter for Repository Archive endpoint Closes #42499 See merge request gitlab-org/gitlab-ce!16766
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/repositories.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md
index 5fb25e40ed7..96609cd530f 100644
--- a/doc/api/repositories.md
+++ b/doc/api/repositories.md
@@ -114,6 +114,7 @@ Parameters:
- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user
- `sha` (optional) - The commit SHA to download. A tag, branch reference or sha can be used. This defaults to the tip of the default branch if not specified
+- `format` (optional) - The archive format. Default is `tar.gz`. Options are `tar.gz`, `tar.bz2`, `tbz`, `tbz2`, `tb2`, `bz2`, `tar`, `zip`
## Compare branches, tags or commits