curl --request POST \
--url https://us.getconvoy.cloud/api/v1/projects/{projectID}/sources/test_function \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"function": "<string>",
"payload": {},
"type": "<string>"
}
'{
"message": "<string>",
"status": true,
"data": {
"log": [
"<string>"
],
"payload": "<unknown>"
}
}This endpoint validates that a filter will match a certain payload structure.
curl --request POST \
--url https://us.getconvoy.cloud/api/v1/projects/{projectID}/sources/test_function \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"function": "<string>",
"payload": {},
"type": "<string>"
}
'{
"message": "<string>",
"status": true,
"data": {
"log": [
"<string>"
],
"payload": "<unknown>"
}
}Was this page helpful?