Parameter | Type | Description | Example |
---|---|---|---|
object | The information about a share. | ||
share_id | string | The share ID. | |
share_pwd | string | The access code. An access code can be up to 64 characters in length. If you do not specify a value, files can be accessed without an access code. | |
drive_id | string | The drive ID. | |
file_id_list | string | The IDs of the files to share in the parent path. | |
expiration | string | The time when the share URL expires. The value of this parameter follows the RFC 3339 standard. Example: "2020-06-28T11:33:00.000+08:00". If you set the value to "", the share URL never expires. | |
expired | boolean | Specifies whether the share is expired. | |
created_at | string | The time when the share was created. | |
updated_at | string | The time when the share was last modified. | |
description | string | The description of the share. | |
share_name | string | The name of the share. By default, the file name that corresponds to the first ID in the file ID list is used. | |
creator | string | The user who created the share. | |
status | string | The status of the share. Valid values:
| |
preview_count | long | The number of times that the shared files are previewed. | |
save_count | long | The number of times that the shared files are saved. | |
download_count | long | The number of times that the shared files are downloaded. | |
report_count | long | The number of times that the shared files are reported. | |
video_preview_count | long | The number of times that the shared audio and video files are played. | |
access_count | long | The number of times that the shared files are visited. | |
disable_preview | boolean | Specifies whether to disable the preview feature. | |
disable_save | boolean | Specifies whether to disable the save feature. | |
disable_download | boolean | Specifies whether to disable the download feature. | |
preview_limit | long | The limit on the number of times that the shared files can be previewed. | |
save_limit | long | The limit on the number of times that the shared files can be saved. | |
download_limit | long | The limit on the number of times that the shared files can be downloaded. | |
share_all_files | boolean | Specifies whether to share all files in the drive. |