OSDN Git Service

Mention base64 encoding for files API
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 16 Jan 2014 16:09:58 +0000 (18:09 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 16 Jan 2014 16:09:58 +0000 (18:09 +0200)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
doc/api/repositories.md

index 35f7ad7..0160726 100644 (file)
@@ -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