summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2018-01-29 15:22:53 +0000
committerMark Fletcher <mark@gitlab.com>2018-01-29 15:22:53 +0000
commit9c10a71e13bedb78be8da0cfdf4f0c6250b8d190 (patch)
tree8e6b29c041d62afcd0a02a1e72c886df130205c6 /doc
parentd2564dbcab5b716e3c327c5697204815c61795c0 (diff)
downloadgitlab-ce-9c10a71e13bedb78be8da0cfdf4f0c6250b8d190.tar.gz
Document format parameter for Repository Archive endpoint
Diffstat (limited to 'doc')
-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