From 9c10a71e13bedb78be8da0cfdf4f0c6250b8d190 Mon Sep 17 00:00:00 2001 From: Mark Fletcher Date: Mon, 29 Jan 2018 15:22:53 +0000 Subject: Document format parameter for Repository Archive endpoint --- doc/api/repositories.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/repositories.md b/doc/api/repositories.md index 5fb25e40ed7..96609cd530f 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -114,6 +114,7 @@ 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. A tag, branch reference or sha can be used. This defaults to the tip of the default branch if not specified +- `format` (optional) - The archive format. Default is `tar.gz`. Options are `tar.gz`, `tar.bz2`, `tbz`, `tbz2`, `tb2`, `bz2`, `tar`, `zip` ## Compare branches, tags or commits -- cgit v1.2.1