Commit 1d497a127b2a54953e783375d1f9e6fd728abdb8

Authored by Dmitriy Zaporozhets
1 parent 21bc41c6

Mention base64 encoding for files API

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
doc/api/repositories.md
... ... @@ -400,6 +400,7 @@ Parameters:
400 400  
401 401 + `file_path` (optional) - Full path to new file. Ex. lib/class.rb
402 402 + `branch_name` (required) - The name of branch
  403 ++ `encoding` (optional) - 'text' or 'base64'. Text is default.
403 404 + `content` (required) - File content
404 405 + `commit_message` (required) - Commit message
405 406  
... ... @@ -413,6 +414,7 @@ Parameters:
413 414  
414 415 + `file_path` (required) - Full path to file. Ex. lib/class.rb
415 416 + `branch_name` (required) - The name of branch
  417 ++ `encoding` (optional) - 'text' or 'base64'. Text is default.
416 418 + `content` (required) - New file content
417 419 + `commit_message` (required) - Commit message
418 420  
... ...