Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-20 12:03:50 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-20 12:03:50 +0400
commit3bab1bd4c162239dcf582a82360cf94d4953ef69 (patch)
tree8fa6edb9dd9ebc7dbf40dfe59abf9b0fb4251831 /doc/api/repositories.md
parent33eae33423d224e10a3a9aeefd70d632d70b20fe (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.md3
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