curl --location --request POST '/apis/v1/analysis/507f1f77bcf86cd799439022/drawings' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"drawings": [
{
"type": "FIB_RETRACEMENT",
"clientObjectId": "fib_swing",
"points": [
{
"time": "2025-01-08T00:00:00Z",
"price": 1.085
},
{
"time": "2025-01-09T12:00:00Z",
"price": 1.095
}
],
"levels": [
0,
0.236,
0.382,
0.5,
0.618,
0.786,
1
],
"style": {
"color": "#FFA500",
"lineWidth": 1
}
}
]
}'{
"status": "success",
"message": "Drawings appended successfully",
"data": {
"analysisId": "507f1f77bcf86cd799439022",
"appendedDrawings": 1,
"totalDrawings": 4,
"objectIdMap": {
"fib_swing": "60d5ec49f1b2c8b1f8e4c8a5"
}
}
}