Methods
create Node
create Node( parentNodeUuid: string , name: string , isFolder: boolean ) : Promise < string >
Parameters
parentNodeUuid: string
name: string
isFolder: boolean
Returns Promise < string >
create Node If Not Exists
create Node If Not Exists( parentNodeUuid: string , name: string , isFolder: boolean ) : Promise < string >
Parameters
parentNodeUuid: string
name: string
isFolder: boolean
Returns Promise < string >
delete Node
delete Node( nodeUuid: string ) : Promise < unknown >
Returns Promise < unknown >
delete Node Error
delete Node Error( nodeUuid: string , errorUuid: string ) : Promise < unknown >
Parameters
nodeUuid: string
errorUuid: string
Returns Promise < unknown >
delete Node If Exists
delete Node If Exists( nodeUuid: string ) : Promise < void >
Returns Promise < void >
delete Node Version
delete Node Version( nodeUuid: string , versionUuid: string ) : Promise < unknown >
Parameters
nodeUuid: string
versionUuid: string
Returns Promise < unknown >
get Node By Path
get Node By Path( path: string ) : Promise < Node >
Returns Promise < Node >
get Node By Uuid
get Node By Uuid( nodeUuid: string ) : Promise < Node >
Returns Promise < Node >
get Node By Version Uuid
get Node By Version Uuid( versionUuid: string ) : Promise < Node >
Returns Promise < Node >
get Node Version
get Node Version( versionUuid: string ) : Promise < Version >
Returns Promise < Version >
get Node Versions
get Node Versions( versionUuids: string [] ) : Promise < Version [] >
Returns Promise < Version [] >
get Root Node
get Root Node( ) : Promise < Node >
Returns Promise < Node >
get Root Node Uuid
get Root Node Uuid( ) : Promise < string >
Returns Promise < string >
list Node Errors
list Node Errors( nodeUuid: string ) : Promise < unknown >
Returns Promise < unknown >
list Node Versions
list Node Versions( nodeUuid: string ) : Promise < unknown >
Returns Promise < unknown >
list Nodes
list Nodes( uuid: string ) : Promise < { nodes: Node [] ; } >
Returns Promise < { nodes: Node [] ; } >
list Nodes By Path
list Nodes By Path( path: string ) : Promise < { nodes: Node [] ; } >
Returns Promise < { nodes: Node [] ; } >
list Nodes Recursive
list Nodes Recursive( nodeUuid: string ) : Promise < { nodes: Node [] ; } >
Returns Promise < { nodes: Node [] ; } >
node Exists
node Exists( path: string ) : Promise < unknown >
Returns Promise < unknown >
undelete Node
undelete Node( nodeUuid: string ) : Promise < void >
Returns Promise < void >
API Namespace Fs is used for BIM.works FileSystem related API calls.
A note about "paths" in BIM.works: Paths are relative to your credentials. For example an API Token that has been created on "/My Organization/Sub Folder" will resolve "/" to "/My Organization/Sub Folder"