curl --request POST \
--url https://api.siftstack.com/api/v1/calculated-channels:validate-expression \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"expression": {
"expression": "<string>",
"channelReferences": {},
"expressionChannelReferences": [
{
"channelReference": "<string>",
"channelId": "<string>"
}
],
"functionDependencies": [
{
"userDefinedFunctionVersionId": "<string>"
}
]
},
"mode": "EXPRESSION_MODE_UNSPECIFIED"
}
'{
"error": {
"errorMessage": "<string>"
},
"success": {
"dataType": "CHANNEL_DATA_TYPE_UNSPECIFIED"
}
}Used to validate whether or not an expression used for a calculated channel is valid.
curl --request POST \
--url https://api.siftstack.com/api/v1/calculated-channels:validate-expression \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"expression": {
"expression": "<string>",
"channelReferences": {},
"expressionChannelReferences": [
{
"channelReference": "<string>",
"channelId": "<string>"
}
],
"functionDependencies": [
{
"userDefinedFunctionVersionId": "<string>"
}
]
},
"mode": "EXPRESSION_MODE_UNSPECIFIED"
}
'{
"error": {
"errorMessage": "<string>"
},
"success": {
"dataType": "CHANNEL_DATA_TYPE_UNSPECIFIED"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?