diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-30 18:10:56 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-30 18:10:56 +0300 |
commit | 2c0d9890e675c8799e76a69f7e432463fa06f996 (patch) | |
tree | c139e457f993241e6242e5d20662e19e0ed2b50c /doc | |
parent | 43c8788e7bd4c705bc8215ea2409b21a19d090f7 (diff) | |
parent | dd5f71138ce98522b1324319fbd60f665b3d1337 (diff) |
Merge branch 'grapify-files-api' into 'master'
Grapify the files API
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/22928
See merge request !7806
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/repository_files.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/repository_files.md b/doc/api/repository_files.md index 1bc6a24e914..b8c9eb2c9a8 100644 --- a/doc/api/repository_files.md +++ b/doc/api/repository_files.md @@ -60,7 +60,7 @@ Parameters: - `file_path` (required) - Full path to new file. Ex. lib/class.rb - `branch_name` (required) - The name of branch -- `encoding` (optional) - 'text' or 'base64'. Text is default. +- `encoding` (optional) - Change encoding to 'base64'. Default is text. - `author_email` (optional) - Specify the commit author's email address - `author_name` (optional) - Specify the commit author's name - `content` (required) - File content @@ -89,7 +89,7 @@ Parameters: - `file_path` (required) - Full path to file. Ex. lib/class.rb - `branch_name` (required) - The name of branch -- `encoding` (optional) - 'text' or 'base64'. Text is default. +- `encoding` (optional) - Change encoding to 'base64'. Default is text. - `author_email` (optional) - Specify the commit author's email address - `author_name` (optional) - Specify the commit author's name - `content` (required) - New file content |