- Site
- Session
- User
- Callback
- Workflow
- File
- Share
- VAS
- Group
- WebDAV
List my share links
GET
/share
Auth: JWT Required
Request
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Query Params
page_size
integer
required
>= 10<= 100
Example:
10
order_by
enum<string>
optional
Allowed values:
viewsdownloadspriceremain_downloadsid
order_direction
enum<string>
optional
Allowed values:
ascdesc
Example:
asc
next_page_token
string
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/share?page_size=10&order_by=&order_direction=asc&next_page_token='
Responses
🟢200Success
application/json
Body
data
object (ListShareResponse)
optional
shares
array[object (Share) {16}]
required
pagination
object
required
code
integer
required
0
- Success.Default:
0
Example:
0
msg
string
optional
error
string | null
optional
correlation_id
string <uuid> | null
optional
Example:
b4351ecc-ee1a-4455-bc94-2c3dbcc58538
Example
{
"code": 0,
"data": {
"shares": [
{
"id": "g2guA",
"name": "Inspirations",
"visited": 0,
"price": 20,
"expires": "2025-06-17T16:16:39+08:00",
"unlocked": true,
"source_type": 1,
"owner": {
"id": "bnUn",
"email": "luke@skywalker.com",
"nickname": "Luke Skywalker",
"avatar": "file",
"created_at": "2023-08-06T19:21:59+08:00"
},
"created_at": "2025-06-10T16:16:39+08:00",
"expired": false,
"url": "http://localhost:5173/s/g2guA/gcqzfaze",
"permission_setting": {
"same_group": null,
"everyone": "AQ==",
"other": null,
"anonymous": "BQ==",
"group_explicit": {},
"user_explicit": {}
},
"is_private": true,
"password": "gcqzfaze",
"share_view": true
},
{
"id": "8X9FD",
"name": "新文件2.txt",
"visited": 17,
"downloaded": 2,
"unlocked": true,
"source_type": 0,
"owner": {
"id": "bnUn",
"email": "luke@skywalker.com",
"nickname": "Luke Skywalker",
"avatar": "file",
"created_at": "2023-08-06T19:21:59+08:00"
},
"created_at": "2025-06-05T10:27:18+08:00",
"expired": false,
"url": "http://localhost:5173/s/8X9FD",
"permission_setting": {
"same_group": null,
"everyone": "AQ==",
"other": null,
"anonymous": "AQ==",
"group_explicit": {},
"user_explicit": {}
}
}
],
"pagination": {
"page": 0,
"page_size": 50,
"is_cursor": true
}
},
"msg": ""
}
Modified at 2025-06-27 03:17:48