PutFileRequest
class PutFileRequest
Types
Properties
Link copied to clipboard
The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.
Link copied to clipboard
A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.
Link copied to clipboard
The content of the file, in binary object format.
Link copied to clipboard
The file mode permissions of the blob. Valid file mode permissions are listed here.
Link copied to clipboard
The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.
Link copied to clipboard
The name of the repository where you want to add or update the file.