Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password Example:Authorization: Basic *****************
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 'Authorization: Basic <encoded-value>' \
--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-01-25 17:00:46