Skip to main content

UploadApiClient

API for uploading content.

Index

Methods

canAppendFileVersion

  • Checks if it is possible to append a version to a existing change.


    Parameters

    Returns boolean

    true if it is possible to upload content and thereby appending a new version (previous version must exist.)

canCreateFileIn

  • Check if it is possible to create a new change (file) in a folder or a file.


    Parameters

    Returns boolean

    true if it is possible to upload content into the folder and create a new file (no previous version may exist.)

canCreateFileInFolder

  • canCreateFileInFolder(permission: DeepImmutableObject<BimFolder>): boolean
  • Check if it is possible to create a new change (file) in a folder.

    @deprecated

    Use canCreateFileIn instead.


    Parameters

    • permission: DeepImmutableObject<BimFolder>

      Folder permissions

    Returns boolean

    true if it is possible to upload content into the folder and create a new file (no previous version may exist.)

createFileSession