mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 23:21:54 +00:00
1.0 KiB
1.0 KiB
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 | 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] |
Enum: OperationEnum
| Name | Value |
|---|---|
| CREATE | "create" |
| UPDATE | "update" |
| UPLOAD | "upload" |
| RENAME | "rename" |
| DELETE | "delete" |