diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-19 18:33:38 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-19 18:33:38 +0400 |
commit | 32d7332d2c9fe21db74073e65d1317c11dc2c861 (patch) | |
tree | c3e8ab67364b3b462490c7c947c1696f53c0790f /doc/api/repositories.md | |
parent | bd20ec1a3415a9f945b5052a8f0f83cbd2806837 (diff) |
API: delete file from repository
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'doc/api/repositories.md')
-rw-r--r-- | doc/api/repositories.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md index 9ec6ba74125..af760795d00 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -397,3 +397,15 @@ Parameters: + `branch_name` (required) - The name of branch + `content` (required) - New file content + `commit_message` (required) - Commit message + +## Delete existing file in repository + +``` +DELETE /projects/:id/repository/files +``` + +Parameters: + ++ `file_path` (required) - Full path to file. Ex. lib/class.rb ++ `branch_name` (required) - The name of branch ++ `commit_message` (required) - Commit message |