Commit 1d497a127b2a54953e783375d1f9e6fd728abdb8
1 parent
21bc41c6
Exists in
spb-stable
and in
3 other branches
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,6 +400,7 @@ Parameters: | ||
400 | 400 | ||
401 | + `file_path` (optional) - Full path to new file. Ex. lib/class.rb | 401 | + `file_path` (optional) - Full path to new file. Ex. lib/class.rb |
402 | + `branch_name` (required) - The name of branch | 402 | + `branch_name` (required) - The name of branch |
403 | ++ `encoding` (optional) - 'text' or 'base64'. Text is default. | ||
403 | + `content` (required) - File content | 404 | + `content` (required) - File content |
404 | + `commit_message` (required) - Commit message | 405 | + `commit_message` (required) - Commit message |
405 | 406 | ||
@@ -413,6 +414,7 @@ Parameters: | @@ -413,6 +414,7 @@ Parameters: | ||
413 | 414 | ||
414 | + `file_path` (required) - Full path to file. Ex. lib/class.rb | 415 | + `file_path` (required) - Full path to file. Ex. lib/class.rb |
415 | + `branch_name` (required) - The name of branch | 416 | + `branch_name` (required) - The name of branch |
417 | ++ `encoding` (optional) - 'text' or 'base64'. Text is default. | ||
416 | + `content` (required) - New file content | 418 | + `content` (required) - New file content |
417 | + `commit_message` (required) - Commit message | 419 | + `commit_message` (required) - Commit message |
418 | 420 |