Request
Body Params application/json
{
"type": "candlestickChart",
"data": "string",
"rect": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
}
Request Code Samples
curl --location --request POST 'http://localhost:8100/layouts/layouts//windows' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "candlestickChart",
"data": "string",
"rect": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
}
}'
Responses
{
"code": 0,
"result": {
"id": "string",
"uid": "string",
"type": "candlestickChart",
"data": "string",
"rect": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"layout": {
"id": "string",
"uid": "string",
"name": "string",
"createdAt": "string",
"updatedAt": "string"
},
"createdAt": "string",
"updatedAt": "string"
},
"error": "string"
}
Modified at 2026-04-06 18:38:12