mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 07:01:55 +00:00
21 lines
1.0 KiB
Markdown
21 lines
1.0 KiB
Markdown
# ChangeFileOperation
|
|
|
|
## Properties
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**content** | **String** | new or updated file content, it must be base64 encoded | [optional]
|
|
**fromPath** | **String** | old path of the file to move | [optional]
|
|
**operation** | [**OperationEnum**](#OperationEnum) | indicates what to do with the file: \"create\" for creating a new file, \"update\" for updating an existing file, \"upload\" for creating or updating a file, \"rename\" for renaming a file, and \"delete\" for deleting an existing file. |
|
|
**path** | **String** | path to the existing or new file |
|
|
**sha** | **String** | the blob ID (SHA) for the file that already exists, required for changing existing files | [optional]
|
|
|
|
<a name="OperationEnum"></a>
|
|
## Enum: OperationEnum
|
|
Name | Value
|
|
---- | -----
|
|
CREATE | "create"
|
|
UPDATE | "update"
|
|
UPLOAD | "upload"
|
|
RENAME | "rename"
|
|
DELETE | "delete"
|