interface NextCloudNodeParameters {
additionalFields?: { displayName?: string };
authentication?: "oAuth2" | "accessToken";
binaryDataUpload?: boolean;
binaryPropertyName?: string;
circleId?: string;
email?: string;
fileContent?: string;
groupId?: string;
limit?: number;
operation?:
| "create"
| "get"
| "getAll"
| "update"
| "list"
| "delete"
| "upload"
| "move"
| "copy"
| "download"
| "share";
options?: | {
password?: string;
permissions?: 1
| 2
| 4
| 8
| 31;
}
| { offset?: number; search?: string };
path?: string;
resource?: "file" | "user" | "folder";
returnAll?: boolean;
shareType?: 0 | 1 | 3 | 4 | 7;
toPath?: string;
updateFields?: {
field: {
key?:
| "twitter"
| "address"
| "email"
| "website"
| "password"
| "displayname";
value?: string;
};
};
user?: string;
userId?: string;
}Properties§
§§§§§§§§§§§§§§§§
readonly additional Fields?: { ... }§
readonly authentication?: "oAuth2" | "accessToken"Default: "accessToken"
readonly binary Data Upload?: boolean§readonly binary Property Name?: stringDefault: "data"
readonly circle Id?: stringThe ID of the circle to share with
readonly email?: stringThe Email address to share with
readonly file Content?: stringThe text content of the file to upload
readonly group Id?: stringThe ID of the group to share with
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "list"
| "delete"
| "upload"
| "move"
| "copy"
| "download"
| "share"Default: "upload"
readonly options?:
| {
password?: string;
permissions?: 1
| 2
| 4
| 8
| 31;
}
| { offset?: number; search?: string }Default: {}
readonly path?: stringThe path of file or folder to copy. The path should start with "/".
readonly resource?: "file" | "user" | "folder"Default: "file"
readonly return All?: booleanWhether to return all results or only up to a given limit
The share permissions to set
readonly to Path?: stringThe destination path of file or folder. The path should start with "/".
readonly update Fields?: { ... }Default: {} Type options: {"multipleValues":false}
readonly user?: stringThe user to share with
readonly user Id?: stringUsername the user will have
Default: {}