Add a source to a database table
Adds a workflow output as a table source; for live tables it also links the workflow and creates a reporting node in Hive.
POST
/api/database-tables/{tableId}/sourcesPath parameters
tableIdnumberrequiredPath parameter: tableId
Body
workflowIdstringrequiredworkflowNamestringrequirednodeNamestringrequiredoutputNamestringrequiredisModulebooleanRequest
curl
curl -X POST https://platform.trickest.com/api/database-tables/{tableId}/sources \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200The created or existing table source
idstringrequiredtableIdstringrequiredworkflowIdstringrequiredworkflowNamestringrequirednodeNamestringrequiredoutputNamestringrequiredisModulebooleanrequiredreportingNodeIdstringrequiredsyncStatusstringrequiredsyncErrorstringrequiredcreatedAtstringrequiredupdatedAtstringrequired400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring