From 1d497a127b2a54953e783375d1f9e6fd728abdb8 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 16 Jan 2014 18:09:58 +0200 Subject: [PATCH] Mention base64 encoding for files API Signed-off-by: Dmitriy Zaporozhets --- doc/api/repositories.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/repositories.md b/doc/api/repositories.md index 35f7ad7ae..016072630 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -400,6 +400,7 @@ Parameters: + `file_path` (optional) - Full path to new file. Ex. lib/class.rb + `branch_name` (required) - The name of branch ++ `encoding` (optional) - 'text' or 'base64'. Text is default. + `content` (required) - File content + `commit_message` (required) - Commit message @@ -413,6 +414,7 @@ Parameters: + `file_path` (required) - Full path to file. Ex. lib/class.rb + `branch_name` (required) - The name of branch ++ `encoding` (optional) - 'text' or 'base64'. Text is default. + `content` (required) - New file content + `commit_message` (required) - Commit message -- 2.11.0