Interface MicrosoftSharePointV2NodeParameters

Source

interface MicrosoftSharePointV2NodeParameters {
    authentication?:
        | "microsoftEntraServicePrincipalApi"
        | "microsoftOAuth2Api";
    binaryPropertyName?: string;
    changeFileContent?: boolean;
    file?: { mode: "id"
    | "list"; value: string };
    fileName?: string;
    filter?: string;
    folder?: { mode: "id" | "list"; value: string };
    item?: { mode: "id" | "list"; value: string };
    limit?: number;
    list?: { mode: "id" | "list"; value: string };
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete"
        | "upsert"
        | "upload"
        | "download";
    options?: {
        fields?: (
            | "id"
            | "fields"
            | "contentType"
            | "createdDateTime"
            | "lastModifiedDateTime"
            | "createdBy"
            | "lastModifiedBy"
            | "parentReference"
            | "webUrl"
        )[];
    };
    resource?: "list"
    | "file"
    | "item";
    returnAll?: boolean;
    simplify?: boolean;
    site?: { mode: "id" | "list" | "url"; value: string };
}

Properties§

§readonly authentication?: "microsoftEntraServicePrincipalApi" | "microsoftOAuth2Api"

Default: "microsoftOAuth2Api"

§readonly binaryPropertyName?: string

Default: "data"

§readonly changeFileContent?: boolean

Whether to replace the file’s contents with the input binary data

§readonly file?: { ... }

Select the file to download Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["site.value","folder.value"]}

§readonly fileName?: string

New name for the file. Leave empty to keep the current name.

§readonly filter?: string

The formula will be evaluated for each record. More info.

§readonly folder?: { ... }

Select the folder the file lives in Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["site.value"]}

§readonly item?: { ... }

Select the item you want to retrieve Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["site.value","list.value"]}

§readonly limit?: number

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

§readonly list?: { ... }

Select the list to create an item in Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["site.value"]}

§readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "upsert"
    | "upload"
    | "download"

Default: "upload"

§readonly options?: { ... }

Default: {}

§readonly resource?: "list" | "file" | "item"

Default: "list"

§readonly returnAll?: boolean

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

§readonly simplify?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

§readonly site?: { ... }

Select the site to download from Default: {"mode":"list","value":""}