diff options
author | Rémy Coutable <remy@rymai.me> | 2018-10-01 08:35:39 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-10-01 08:35:39 +0000 |
commit | 1b5c0b475ec0860368e6ff4be4127e0b89d733d3 (patch) | |
tree | 4ee34e60d500e871e65fa8573432c6e1cf400919 /doc | |
parent | 01c7a6752c94f87bd371e3ccba1a4852a1ed0523 (diff) | |
parent | 736a5d3709278a5ec9ba68494fb5674552938f74 (diff) | |
download | gitlab-ce-1b5c0b475ec0860368e6ff4be4127e0b89d733d3.tar.gz |
Merge branch 'patch-29' into 'master'
Add notes about commits API to repository files documentation
See merge request gitlab-org/gitlab-ce!21876
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/repository_files.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/repository_files.md b/doc/api/repository_files.md index 49fb9bc141d..0623a6b02ae 100644 --- a/doc/api/repository_files.md +++ b/doc/api/repository_files.md @@ -90,6 +90,8 @@ Like [Get file from repository](repository_files.md#get-file-from-repository) yo ## Create new file in repository +This allows you to create a single file. For creating multiple files with a single request see the [commits API](commits.html#create-a-commit-with-multiple-files-and-actions). + ``` POST /projects/:id/repository/files/:file_path ``` @@ -120,6 +122,8 @@ Parameters: ## Update existing file in repository +This allows you to update a single file. For updating multiple files with a single request see the [commits API](commits.html#create-a-commit-with-multiple-files-and-actions). + ``` PUT /projects/:id/repository/files/:file_path ``` @@ -160,6 +164,8 @@ Currently gitlab-shell has a boolean return code, preventing GitLab from specify ## Delete existing file in repository +This allows you to delete a single file. For deleting multiple files with a singleh request see the [commits API](commits.html#create-a-commit-with-multiple-files-and-actions). + ``` DELETE /projects/:id/repository/files/:file_path ``` |