summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-01-09 12:43:39 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-01-09 12:43:39 +0000
commit01c0d1f6af34d9002b7d8e643d5937811355048f (patch)
treed22e2d5cb9f945dc316b77783b36c1a05443d2f4
parent6d0b5f9bfbdd618920ab011a01c7c411815e45e3 (diff)
parentd6bd608b354928196142f5bec65f29b80960cd30 (diff)
downloadgitlab-ce-01c0d1f6af34d9002b7d8e643d5937811355048f.tar.gz
Merge branch 'docs-19843-specify-archive-sha-options' into 'master'
Specifies the accepted refs for downloading an archive via the API Closes #19843 See merge request gitlab-org/gitlab-ce!16222
-rw-r--r--doc/api/repositories.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md
index 03b32577872..5fb25e40ed7 100644
--- a/doc/api/repositories.md
+++ b/doc/api/repositories.md
@@ -113,7 +113,7 @@ GET /projects/:id/repository/archive
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 defaults to the tip of the default branch
+- `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
## Compare branches, tags or commits