Skip to content

SharesResource

Defined in: libs/ccs-files-user-client/src/core/resources/sharing.ts:64

Share links on files and folders.

create(item, input): Promise<CreatedShare>

Defined in: libs/ccs-files-user-client/src/core/resources/sharing.ts:68

Creates a link (share on the item); the answer carries token and url this once. Carries an Idempotency-Key.

ItemRef

CreateShareInput

Promise<CreatedShare>


list(item): Promise<{ items: Share[]; }>

Defined in: libs/ccs-files-user-client/src/core/resources/sharing.ts:80

The item’s links, without tokens (all of them with share, otherwise your own).

ItemRef

Promise<{ items: Share[]; }>


revoke(shareId): Promise<void>

Defined in: libs/ccs-files-user-client/src/core/resources/sharing.ts:88

Revokes a link (its creator, share on the target, or files.manage).

string

Promise<void>