Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2018-01-04 15:50:34 +0300
committerMark Fletcher <mark@gitlab.com>2018-01-04 15:50:34 +0300
commitd6bd608b354928196142f5bec65f29b80960cd30 (patch)
tree579e2f9aa0fe37e42c002e0a0e88fdd9d1970913 /doc/api/repositories.md
parent4780e747711c74fbd7824f3209ccb2779b89cb88 (diff)
Specifies the accepted refs for downloading an archive via the API
Diffstat (limited to 'doc/api/repositories.md')
-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