Commit 1d497a12 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Mention base64 encoding for files API

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 21bc41c6
...@@ -400,6 +400,7 @@ Parameters: ...@@ -400,6 +400,7 @@ Parameters:
+ `file_path` (optional) - Full path to new file. Ex. lib/class.rb + `file_path` (optional) - Full path to new file. Ex. lib/class.rb
+ `branch_name` (required) - The name of branch + `branch_name` (required) - The name of branch
+ `encoding` (optional) - 'text' or 'base64'. Text is default.
+ `content` (required) - File content + `content` (required) - File content
+ `commit_message` (required) - Commit message + `commit_message` (required) - Commit message
...@@ -413,6 +414,7 @@ Parameters: ...@@ -413,6 +414,7 @@ Parameters:
+ `file_path` (required) - Full path to file. Ex. lib/class.rb + `file_path` (required) - Full path to file. Ex. lib/class.rb
+ `branch_name` (required) - The name of branch + `branch_name` (required) - The name of branch
+ `encoding` (optional) - 'text' or 'base64'. Text is default.
+ `content` (required) - New file content + `content` (required) - New file content
+ `commit_message` (required) - Commit message + `commit_message` (required) - Commit message
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment