addFileShare

open fun addFileShare(fileId: String, entityId: String, shareType: String): RestRequest

Build a request that will add a file share for the specified fileId to the specified entityId.

Return

A new RestRequest that be used to create this share.

Parameters

fileId

The Id of the file being shared.

entityId

The Id of the entity to share the file to (e.g. a user or a group).

shareType

The type of share (V - View, C - Collaboration).