python-gitea/docs/UpdateFileOptions.md
2025-10-21 21:45:29 +02:00

1.2 KiB

UpdateFileOptions

Properties

Name Type Description Notes
author Identity [optional]
branch str branch (optional) to base this file from. if not given, the default branch is used [optional]
committer Identity [optional]
content str content must be base64 encoded
dates CommitDateOptions [optional]
from_path str from_path (optional) is the path of the original file which will be moved/renamed to the path in the URL [optional]
message str message (optional) for the commit of this file. if not supplied, a default message will be used [optional]
new_branch str new_branch (optional) will make a new branch from `branch` before creating the file [optional]
sha str sha is the SHA for the file that already exists
signoff bool Add a Signed-off-by trailer by the committer at the end of the commit log message. [optional]

[Back to Model list] [Back to API list] [Back to README]