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§

Source§

readonly additionalFields?: { displayName?: string }

Default: {}

Source§

readonly authentication?: "oAuth2" | "accessToken"

Default: "accessToken"

Source§

readonly binaryDataUpload?: boolean

Source§

readonly binaryPropertyName?: string

Default: "data"

Source§

readonly circleId?: string

The ID of the circle to share with

Source§

readonly email?: string

The Email address to share with

Source§

readonly fileContent?: string

The text content of the file to upload

Source§

readonly groupId?: string

The ID of the group to share with

Source§

readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "list"
    | "delete"
    | "upload"
    | "move"
    | "copy"
    | "download"
    | "share"

Default: "upload"

Source§

readonly options?:
    | {
        password?: string;
        permissions?: 1
        | 2
        | 4
        | 8
        | 31;
    }
    | { offset?: number; search?: string }

Default: {}

Source§

readonly path?: string

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

Source§

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

Default: "file"

Source§

readonly returnAll?: boolean

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

Source§

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

The share permissions to set

Source§

readonly toPath?: string

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

Source§

readonly updateFields?: {
    field: {
        key?:
            | "twitter"
            | "address"
            | "email"
            | "website"
            | "password"
            | "displayname";
        value?: string;
    };
}

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

Source§

readonly user?: string

The user to share with

Source§

readonly userId?: string

Username the user will have