IPWorks Cloud 2020 Python Edition

Questions / Feedback?

on_shared_link_list Event

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

Syntax

class DropboxSharedLinkListEventParams(object):
  @property
  def url() -> str: ...
  @property
  def name() -> str: ...
  @property
  def id() -> str: ...
  @property
  def path() -> str: ...
  @property
  def resource_type() -> int: ...
  @property
  def visibility() -> int: ...
  @property
  def expires() -> str: ...

# In class Dropbox:
@property
def on_shared_link_list() -> Callable[[DropboxSharedLinkListEventParams], None]: ...
@on_shared_link_list.setter
def on_shared_link_list(event_hook: Callable[[DropboxSharedLinkListEventParams], None]) -> None: ...

Remarks

This event fires once for each shared link returned when list_shared_links 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 Python Edition - Version 20.0 [Build 8265]