diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-16 18:09:58 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-16 18:09:58 +0200 |
commit | 1d497a127b2a54953e783375d1f9e6fd728abdb8 (patch) | |
tree | 483366c6839cf136f62010696b227ef67d7c5aad | |
parent | 21bc41c6ee9995a821900378e933e08e4e5214bc (diff) | |
download | gitlab-ce-1d497a127b2a54953e783375d1f9e6fd728abdb8.tar.gz |
Mention base64 encoding for files API
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | doc/api/repositories.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md index 35f7ad7ae95..01607263008 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 |