an object with query parameters
Optional
allowInternalFiles?: booleanIf set to false, do not return data files with internal extensions else return all the data files.
Optional
appId?: stringOnly return files scoped to the specified app. If this parameter is not specified, only files that are not scoped to any app are returned. "*" implies all app-scoped files are returned.
Optional
baseNameWildcard?: stringIf present, return only items whose base name matches the given wildcard. Wildcards include '*' and '?' characters to allow for multiple matches. The base name is the actual file or folder name without any folder pathing included.
Optional
connectionId?: stringReturn files and folders that reside in the space referenced by the specified DataFiles connection. If this parameter is not specified, the user's personal space is implied.
Optional
excludeFiles?: booleanIf set to true, exclude files in the returned list (IE, only return folders). If false, include files.
Optional
excludeSubFolders?: booleanIf set to true, exclude folders and files that reside in sub-folders of the root being searched. If false, include all items in full folder hierarchy that recursively reside under the root. That is, setting to true results in only the direct children of the root being returned.
Optional
folderId?: stringIf present, return only items which reside under the folder specified by the given ID. If not present, items that live at the root of the space are returned. This property is mutually exclusive with 'folderPath'.
Optional
folderPath?: stringIf present, return only items which reside under the specified folder path. If not present, items that live at the root of the space are returned. This property is mutually exclusive with 'folderId'.
Optional
includeAllSpaces?: booleanIf set to true, and connectionId is not specified, return files and folders from all spaces the given user has access to (including the personal space). If connectionId is specified, this parameter is ignored.
Optional
includeFolders?: booleanIf set to true, include folders in the returned list. If false, only return data files.
Optional
includeFolderStats?: booleanIf set to true, include computed folder statistics for folders in the returned list. If false, this information is not returned.
Optional
limit?: numberIf present, the maximum number of data files to return.
Optional
name?: stringFilter the list of files returned to the given file name.
Optional
notOwnerId?: stringIf present, fetch the data files whose owner is not the specified owner. If a connectionId is specified in this case, the returned list is constrained to the specified space. If connectionId is not specified, then the returned list is constrained to the calling user's personal space. If includeAllSpaces is set to true, and connectionId is not specified, the returned list is from all spaces the given user has access to (including the personal space).
Optional
ownerId?: stringIf present, fetch the data files for the specified owner. If a connectionId is specified in this case, the returned list is constrained to the specified space. If connectionId is not specified, then all files owned by the specified user are returned regardless of the personal space that a given file resides in.
Optional
page?: stringIf present, the cursor that starts the page of data that is returned.
Optional
sort?: GetDataFileInfosSortFieldThe name of the field used to sort the result. By default, the sort order is ascending. Putting a '+' prefix on the sort field name explicitly indicates ascending sort order. A '-' prefix indicates a descending sort order.
Optional
options: ApiCallOptionsgetDataFiles(
{
allowInternalFiles: false,
appId: "f34b91a1-0dc3-44ac-a847-51cb84122c84",
baseNameWildcard: "*SomeFileName*",
connectionId: "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc",
excludeFiles: false,
excludeSubFolders: false,
folderId: "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc",
folderPath: "some/folder",
includeAllSpaces: false,
includeFolders: false,
includeFolderStats: false,
limit: 5,
name: "MyFile.csv",
notOwnerId: "lDL4DIINndhL_iJkcbqWyJenuwizP-2D",
ownerId: "lDL4DIINndhL_iJkcbqWyJenuwizP-2D",
page: "NzlmNzI5NWMtZGJlZC00Y2Y4LThkNDAtMzQ5ZDU3YzNjMzQ1"
}
)
Get descriptive info for the specified data files.