生成分享id
开发中POST
/api/v1/vis/plugin/share请求参数
Body 参数application/json
id
string
必需
share_type
string
必需
console 和dashboard 二选一
示例
{
"id": "string",
"share_type": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
dashboard_id
string
必需
share_id
string
必需
device_list
string
必需
created_at
string
必需
share_type
string
必需
示例
成功示例
{
"code": 200,
"message": "Get list successfully",
"data": {
"list": [
{
"create_at": 1716218874,
"files": [
{
"file_name": "微信图片_20231217221753.jpg",
"file_size": "315616",
"file_url": "./files/visplugin/2024-05-20/a9fc845d84fef77e87cb0969775b7fea.jpg"
},
{
"file_name": "123.jpg",
"file_size": "20100",
"file_url": "./files/visplugin/2024-05-20/b3838ba141e8e666d852ee9845411c21.jpg"
},
{
"file_name": "234.jpg",
"file_size": "26888",
"file_url": "./files/visplugin/2024-05-20/b703b43180dd5da8d4cce3a33072e476.jpg"
}
],
"id": "09e8dace-47d4-6b8f-f34c-84ff626cf3f8",
"plugin_name": "test"
}
],
"total": 1
}
}
最后修改时间: 8 months ago