curl --request PUT \
--url https://api.streamkap.com/transforms/{transforms_id}/deploy-job-live/{version_id} \
--header 'Authorization: Bearer <token>'{
"language": "PYTHON",
"value_transform": "<string>",
"key_transform": "<string>",
"topic_transform": "<string>",
"common_transform": "<string>",
"value_schema_transform": "<string>",
"key_schema_transform": "<string>",
"unit_test": {
"test_name": "<string>",
"input__json": [
{
"topic": "<string>",
"value": {},
"key": {},
"timestamp": "2023-11-07T05:31:56Z"
}
],
"output__json": [
{
"topic": "<string>",
"value": {},
"key": {},
"timestamp": "2023-11-07T05:31:56Z"
}
],
"result__json": [
{
"topic": "<string>",
"value": {},
"key": {},
"timestamp": "2023-11-07T05:31:56Z"
}
],
"is_success": true,
"html_diff": "<string>",
"text_diff": "<string>"
}
}curl --request PUT \
--url https://api.streamkap.com/transforms/{transforms_id}/deploy-job-live/{version_id} \
--header 'Authorization: Bearer <token>'{
"language": "PYTHON",
"value_transform": "<string>",
"key_transform": "<string>",
"topic_transform": "<string>",
"common_transform": "<string>",
"value_schema_transform": "<string>",
"key_schema_transform": "<string>",
"unit_test": {
"test_name": "<string>",
"input__json": [
{
"topic": "<string>",
"value": {},
"key": {},
"timestamp": "2023-11-07T05:31:56Z"
}
],
"output__json": [
{
"topic": "<string>",
"value": {},
"key": {},
"timestamp": "2023-11-07T05:31:56Z"
}
],
"result__json": [
{
"topic": "<string>",
"value": {},
"key": {},
"timestamp": "2023-11-07T05:31:56Z"
}
],
"is_success": true,
"html_diff": "<string>",
"text_diff": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
PYTHON, JAVASCRIPT, SQL Show child attributes
Was this page helpful?