- API使用说明
- 1 鉴权
- 2 设备
- 3 接口
- 4 屏幕
- 5 图层
- 6. 场景
- 7 图库
6.1 获取场景详细信息列表
开发中
GET
/v1/preset
请求参数
Query 参数
limit
string
单页数量
page
string
查询page页
type
string
指定场景类型查询
Header 参数
Content-Type
string
必需
示例值:
application/json
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://prod-cn.your-api-server.com/v1/preset' \
--header 'Content-Type: application/json'
返回响应
🟢200成功
application/json
Body
code
integer
响应码
message
string
响应消息内容
data
object
必需
list
array [object {9}]
必需
count
integer
当前页数据条数
page
integer
当前页码
totalCount
integer
数据总条数
totalPage
integer
总页数
示例
{
"code": 0,
"message": "string",
"data": {
"list": [
{
"guid": "string",
"serial": 0,
"name": "string",
"type": 0,
"loadType": 0,
"sourceRegion": 0,
"switchEffect": {
"time": 0,
"type": 0,
"wipe": {
"image": 0,
"symmetry": 0,
"posX": 0,
"posY": 0,
"frameW": 0,
"frameS": 0,
"direction": 0,
"source": {
"general": {
"sourceId": 0,
"sourceType": 0
}
}
},
"dve": {
"type": 0,
"image": 0,
"brightness": 0,
"softness": 0,
"directionDev": 0,
"directionEffect": "string",
"keySource": {
"general": {
"sourceId": 0,
"sourceType": 0
}
},
"KeySourceReverse": 0,
"source": {
"general": {
"sourceId": 0,
"sourceType": 0
}
}
},
"stinger": {
"playStartTime": 0,
"mixtureTime": 0,
"mixtureStartTime": 0,
"matting": 0,
"brightness": 0,
"softness": 0,
"source": {
"general": {
"sourceId": 0,
"sourceType": 0
}
}
},
"dip": {
"source": {
"general": {
"sourceId": 0,
"sourceType": 0
}
}
}
},
"currentRegion": 0,
"screens": [
{
"guid": "string",
"screenIdObj": {
"id": 0,
"type": 0
},
"name": "string",
"exist": 0,
"window": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"layers": [
{
"serial": 0,
"type": 0,
"window": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"enable": 0
}
]
}
]
}
],
"count": 0,
"page": 0,
"totalCount": 0,
"totalPage": 0
}
}
修改于 2025-04-22 02:49:34