From ce21d8688d091312f47c547c2900a83fdcaebc75 Mon Sep 17 00:00:00 2001 From: Izaak Alpert Date: Thu, 26 Sep 2013 16:42:49 -0400 Subject: feature API call to download repo archive defaults to HEAD Conflicts: spec/requests/api/repositories_spec.rb Change-Id: Id114aca6c59d75f18e49bf9f33809a04e010bfb6 --- doc/api/repositories.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/api') diff --git a/doc/api/repositories.md b/doc/api/repositories.md index cb0626972e5..1792d2b5edf 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -356,3 +356,16 @@ Parameters: + `id` (required) - The ID of a project + `sha` (required) - The commit or branch name + `filepath` (required) - The path the file + + +## Get file archive + +Get a an archive of the repository + +``` +GET /projects/:id/repository/archive +``` + +Parameters: ++ `id` (required) - The ID of a project ++ `sha` (optional) - The commit or branch name -- cgit v1.2.1