Commit 01c0d1f6 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

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
parents 6d0b5f9b d6bd608b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment