description:'The ID of folder to copy the file to. If not defined will be copied to the root folder',
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
displayOptions:{
show:{
operation:[
'copy',
],
resource:[
'file',
],
},
},
default:{},
options:[
{
displayName:'Fields',
name:'fields',
type:'string',
default:'',
description:'A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.',
},
{
displayName:'Name',
name:'name',
type:'string',
default:'',
description:'An optional new name for the copied file.',
},
{
displayName:'Version',
name:'version',
type:'string',
default:'',
description:'An optional ID of the specific file version to copy.',
description:'A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.',
description:'The string to search for. This query is matched against item names, descriptions, text content of files, and various other fields of the different item types.',
},
{
displayName:'Return All',
name:'returnAll',
type:'boolean',
displayOptions:{
show:{
operation:[
'search',
],
resource:[
'file',
],
},
},
default:false,
description:'If all results should be returned or only up to a given limit.',
},
{
displayName:'Limit',
name:'limit',
type:'number',
displayOptions:{
show:{
operation:[
'search',
],
resource:[
'file',
],
returnAll:[
false,
],
},
},
typeOptions:{
minValue: 1,
maxValue: 500,
},
default:100,
description:'How many results to return.',
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
displayOptions:{
show:{
operation:[
'search',
],
resource:[
'file',
],
},
},
default:{},
options:[
{
displayName:'Content Types',
name:'contet_types',
type:'string',
default:'',
description:`Limits search results to items with the given content types.</br>
description:'Defines the direction in which search results are ordered. Default value is DESC.',
},
{
displayName:'Fields',
name:'fields',
type:'string',
default:'',
description:'A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.',
},
{
displayName:'File Extensions',
name:'file_extensions',
type:'string',
default:'',
placeholder:'pdf,png,gif',
description:'Limits search results to a comma-separated list of file extensions.',
},
{
displayName:'Folder IDs',
name:'ancestor_folder_ids',
type:'string',
default:'',
description:`Limits search results to items within the given list of folders.</br>