diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-01-09 12:43:39 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-01-09 12:43:39 +0000 |
commit | 01c0d1f6af34d9002b7d8e643d5937811355048f (patch) | |
tree | d22e2d5cb9f945dc316b77783b36c1a05443d2f4 /doc | |
parent | 6d0b5f9bfbdd618920ab011a01c7c411815e45e3 (diff) | |
parent | d6bd608b354928196142f5bec65f29b80960cd30 (diff) | |
download | gitlab-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
Diffstat (limited to 'doc')
-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 |