diff options
Diffstat (limited to 'doc/api')
| -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 |
