IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

SharedLinkList Event

Fires once for each shared link returned when listing shared links.

Syntax

dropbox.on('SharedLinkList', listener: (e: {readonly URL: string, readonly name: string, readonly id: string, readonly path: string, readonly resourceType: number, readonly visibility: number, readonly expires: string}) => void )

Remarks

This event fires once for each shared link returned when ListSharedLinks is called.

URL is the URL of the shared link.

Name is the name of the linked resource.

Id is Id of the linked resource.

Path is the path of the linked resource.

ResourceType reflects the linked resource's type. Possible values are:

0 (lrtFile) A file.
1 (lrtFolder) A folder.

Visibility reflects the visibility of the link. Possible values are:

0 (lvPublic) Anyone with the link can access the linked resource.
1 (lvTeamOnly) Only members of the same team with the link can access the linked resource. (Only applicable to Dropbox Business.)
2 (lvPassword) Anyone with the link and the link's password can access the linked resource.
3 (lvTeamAndPassword) Only members of the same team with the link and the link's password can access the linked resource. (Only applicable to Dropbox Business.)
4 (lvSharedFolderOnly) Only members (with the link) of the shared folder containing the linked resource can access it.

Expires is the expiration timestamp of the link (or empty string, if the link doesn't expire). Timestamps are formatted according to ISO 8601 and are always in UTC time.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 JavaScript Edition - Version 20.0 [Build 8265]