All Products
Search
Document Center

Drive and Photo Service:GetShareLinkByAnonymous

Last Updated:Mar 26, 2026

Queries the information about a share link anonymously.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /v2/share_link/get_by_anonymous HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request parameters.

share_id

string

Yes

The share ID.

7JQX1FswpQ8

Response elements

Element

Type

Description

Example

object

The response parameters.

creator_id

string

The ID of the user who created the share link.

c9b7a5aa04d14ae3867fdc886fa01da4

creator_name

string

The name of the user who created the share link. The value is masked.

AB***CD

creator_phone

string

The mobile number of the user who created the share link. The value is masked.

136****00

expiration

string

The time when the share link expires.

2020-08-20T06:51:27.292Z

updated_at

string

The time when the share link was last modified.

2019-08-20T06:51:27.292Z

avatar

string

The profile picture of the user who created the share link.

https://aliyunpds.com/a.jpg

share_name

string

The name of the share link.

Lecture Room-1.MP4

preview_count

integer

The number of times that the shared files are previewed.

80

save_count

integer

The number of times that the shared files are saved.

2

download_count

integer

The number of times that the shared files are downloaded.

50

report_count

integer

The number of times that the shared files are reported.

0

video_preview_count

integer

The number of times that the videos are previewed in the shared files.

5

access_count

integer

The number of times that the shared files are visited.

30

disable_preview

boolean

Indicates whether the previews of the shared files are prohibited.

false

disable_save

boolean

Indicates whether the saves of the shared files are prohibited.

false

disable_download

boolean

Indicates whether the downloads of the shared files are prohibited.

false

preview_limit

integer

The maximum number of times that the shared files can be previewed.

100

save_limit

integer

The maximum number of times that the shared files can be saved.

100

download_limit

integer

The maximum number of times that the shared files can be downloaded.

100

save_download_limit

integer

The maximum number of times that the shared files can be saved and downloaded.

200

has_pwd

boolean

Indicates whether a password is specified for the share link.

true

Examples

Success response

JSON format

{
  "creator_id": "c9b7a5aa04d14ae3867fdc886fa01da4",
  "creator_name": "AB***CD",
  "creator_phone": "136****00",
  "expiration": "2020-08-20T06:51:27.292Z",
  "updated_at": "2019-08-20T06:51:27.292Z",
  "avatar": "https://aliyunpds.com/a.jpg",
  "share_name": "Lecture Room-1.MP4",
  "preview_count": 80,
  "save_count": 2,
  "download_count": 50,
  "report_count": 0,
  "video_preview_count": 5,
  "access_count": 30,
  "disable_preview": false,
  "disable_save": false,
  "disable_download": false,
  "preview_limit": 100,
  "save_limit": 100,
  "download_limit": 100,
  "save_download_limit": 200,
  "has_pwd": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.