快速发布单行文本节目

555

# 快速发布单行文本节目

Path:

/api/program/singletext

Method: POST

Content-type: application/json; charset=utf-8

接口描述: 快速简单发布单行文本节目

请求参数 相关字段参考目录:节目文件格式定义文档

请求示例

{
    "text":"Hello World",
    "x":0,
    "y":0,
    "width":256,
    "height":100,
    "font":{
        "name":"隶书",
        "size":"36",
        "style":{
            "i":0,
            "b":0,
            "u":0
        },
        "color":"0xFFFFFFFF"
    },
    "bgcolor":"0xFF000000",
    "scroll":{
        "dir":"left",
        "isconnected":0,
        "speed":120
    }
}