diff options
author | Mark Fletcher <mark@gitlab.com> | 2018-01-04 12:50:34 +0000 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2018-01-04 12:50:34 +0000 |
commit | d6bd608b354928196142f5bec65f29b80960cd30 (patch) | |
tree | 579e2f9aa0fe37e42c002e0a0e88fdd9d1970913 | |
parent | 4780e747711c74fbd7824f3209ccb2779b89cb88 (diff) | |
download | gitlab-ce-d6bd608b354928196142f5bec65f29b80960cd30.tar.gz |
Specifies the accepted refs for downloading an archive via the API
-rw-r--r-- | doc/api/repositories.md | 2 |
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 |