Toggle menu

sharepointToFilestore

Description

Downloads a file from SharePoint and adds it to the file store.

Parameters

NameTypeDescription
sharepointFileNameString, requiredThe name of the file to download
sharepointFolderString, requiredThe folder/folder path in SharePoint the file is in
authDetailsObject, optionalThe authDetails set in the worker configuration to use. If not set the request will use the default authDetail
authDetails.identifierStringThe identifier of authDetails set in the worker configuration
authDetails.authTypeStringThe authType of authDetails set in the worker configuration
retrieveMetadataBoolean, optionalWhether or not to retrieve the metadata
filestoreFileNameString, optionalA name for the file when added to the file store. If not supplied the name of the file in SharePoint will be used
filestoreApiKeyString, optionalAn API Key to access the file store

Example

{
    "id": "123",
    "jsonrpc": "2.0",
    "method": "sharepointtofilestore",
    "params": {
        "authDetails": {
            "identifier": "GossTest",
            "authType": "SAML"
        },
        "sharepointFileName" : "Test 4k Image.jpg",
        "sharepointFolder" : "Shared Documents",
        "retrieveMetadata" : true
    }
}

Last modified on 25 September 2024

Share this page

Facebook icon Twitter icon email icon

Print

print icon