Skip to content
Snippets Groups Projects
Verified Commit 1d497a12 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Mention base64 encoding for files API

parent 21bc41c6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -400,6 +400,7 @@ Parameters:
 
+ `file_path` (optional) - Full path to new file. Ex. lib/class.rb
+ `branch_name` (required) - The name of branch
+ `encoding` (optional) - 'text' or 'base64'. Text is default.
+ `content` (required) - File content
+ `commit_message` (required) - Commit message
 
Loading
Loading
@@ -413,6 +414,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.
+ `content` (required) - New file content
+ `commit_message` (required) - Commit message
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment