diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-20 12:03:50 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-20 12:03:50 +0400 |
commit | 3bab1bd4c162239dcf582a82360cf94d4953ef69 (patch) | |
tree | 8fa6edb9dd9ebc7dbf40dfe59abf9b0fb4251831 /doc/api/repositories.md | |
parent | 33eae33423d224e10a3a9aeefd70d632d70b20fe (diff) |
Improve consistency: use file_path for API create/update/delete files
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc/api/repositories.md')
-rw-r--r-- | doc/api/repositories.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md index af760795d00..af7b82ca76d 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -379,8 +379,7 @@ POST /projects/:id/repository/files Parameters: -+ `file_name` (required) - The name of new file. Ex. class.rb -+ `file_path` (optional) - The path to new file. Ex. lib/ ++ `file_path` (optional) - Full path to new file. Ex. lib/class.rb + `branch_name` (required) - The name of branch + `content` (required) - File content + `commit_message` (required) - Commit message |