From 13c8c88c59c829c59ac882e27c5bc399259097b3 Mon Sep 17 00:00:00 2001 From: Niels van der Veer Date: Wed, 30 Mar 2016 23:08:53 +0200 Subject: [PATCH] Add documentation for repository archive This PR adds a documentation for the usage of the Get repository Archive --- doc/repo/contents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/repo/contents.md b/doc/repo/contents.md index 56947c5e318..ccc6c12d509 100644 --- a/doc/repo/contents.md +++ b/doc/repo/contents.md @@ -46,7 +46,7 @@ $fileInfo = $client->api('repo')->contents()->rm('knp-labs', 'php-github-api', $ ### Get repository archive ```php -// @todo Document +$archive = $client->api('repo')->contents()->archive('knp-labs', 'php-github-api', $format, $reference); ``` ### Download a file