Quickly Publish Single-Line Text Programs
# Quickly Publish Single-Line Text Programs
Path:
/api/program/singletext
Method: POST
Content-type: application/json; charset=utf-8
API Description: This can be used to quickly publish single-line text programs.
Request
Refer to Definition of Program File Format for relevant fields.
Example
{
"text":"Hello World",
"x":0,
"y":0,
"width":256,
"height":100,
"font":{
"name":"Clerical script",
"size":"36",
"style":{
"i":0,
"b":0,
"u":0
},
"color":"0xFFFFFFFF"
},
"bgcolor":"0xFF000000",
"scroll":{
"dir":"left",
"isconnected":0,
"speed":120
}
}