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"
Create a new Node
The Nid of the newly created Node
Create a new Node, but only if it did not already exist
The Nid of the newly created Node, of if the Node already existed the Nid of the existing Node
Delete a Node by it's Nid. Will throw an exception if the Node does not exist or was already deleted.
Delete a NodeError by it's id
Will delete the designated Node if is has not already been deleted. Will not throw an exception when there is no such Node.
Delete a Version. In a future version, the requirement to specify the nodeUuid in this method will be dropped
Get a Node by it's path.
Get a Node by a given Vid. This can be useful if you want to quickly go from a known Vid o Node without first resolving the Version object.
Resolve the given Vid to a Version
Resolve the given Vids to an array of Version
Get the Root node of the current authorization context
Get the Nid of the root Node of the current authorization context
List all the known Error on the given Node
List all the known Version on the given Node
List all the direct child Nodes of the given Nid.
List all the child nodes of the Node on the given path
Recursively list all the child Nodes of the given Nid. The Promise will resolve to a flat array of all the nodes.
Whether a Node already exists on the given path
Undelete a given Node.