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
{
"watchlistId": "string",
"tickerId": "string"
}
Request Code Samples
curl --location --request POST 'http://localhost:8100/watchlists/watchlists//items' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"watchlistId": "string",
"tickerId": "string"
}'
Responses
{
"code": 0,
"result": {
"id": "string",
"watchlistId": "string",
"watchlist": {
"id": "string",
"uid": "string",
"name": "string",
"createdAt": "string",
"updatedAt": "string"
},
"tickerId": "string",
"ticker": {
"id": "string",
"uid": "string",
"symbol": "string",
"name": "string"
},
"createdAt": "string",
"updatedAt": "string"
},
"error": "string"
}
Modified at 2026-01-25 17:00:46