Interface NextCloudNodeParameters

Source
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 additionalFields?: { ... }

Default: {}

§readonly authentication?: "oAuth2" | "accessToken"

Default: "accessToken"

§readonly binaryDataUpload?: boolean
§readonly binaryPropertyName?: string

Default: "data"

§readonly circleId?: string

The ID of the circle to share with

§readonly email?: string

The Email address to share with

§readonly fileContent?: string

The text content of the file to upload

§readonly groupId?: string

The ID of the group to share with

§readonly limit?: number

Max 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?: string

The path of file or folder to copy. The path should start with "/".

§readonly resource?: "file" | "user" | "folder"

Default: "file"

§readonly returnAll?: boolean

Whether to return all results or only up to a given limit

§readonly shareType?: 0 | 1 | 3 | 4 | 7

The share permissions to set

§readonly toPath?: string

The destination path of file or folder. The path should start with "/".

§readonly updateFields?: { ... }

Default: {} Type options: {"multipleValues":false}

§readonly user?: string

The user to share with

§readonly userId?: string

Username the user will have