Interface ISharedLinkPermissions

Defines the shared link permissions.

interface ISharedLinkPermissions {
    actions: SharedLinkAction[];
    expiresAt?: string;
    password?: string;
    passwordProtected?: boolean;
}

Properties

actions: SharedLinkAction[]

Defines what actions are allowed to be performed on a file from shared link:

  • read - The ability to read file description, geometry data and properties.
  • readSourceFile - The ability to download source file.
  • readViewpoint - The ability to read file viewpoints.

At least one action must be defined.

expiresAt?: string

Link expiration time (UTC) in the format specified in ISO 8601.

password?: string

Password to get access to the file.

passwordProtected?: boolean

true if the shared link is password protected.