PUT
/
transforms
/
{transforms_id}
/
implementation_details
Put Transforms Implementation Details
curl --request PUT \
  --url https://api.streamkap.com/transforms/{transforms_id}/implementation_details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "transform_id": "<string>",
  "version_id": "",
  "implementation": {
    "language": "PYTHON",
    "value_transform": "<string>",
    "key_transform": "<string>",
    "topic_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>"
    }
  }
}'
{
  "transform_id": "<string>",
  "version_id": "",
  "implementation": {
    "language": "PYTHON",
    "value_transform": "<string>",
    "key_transform": "<string>",
    "topic_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>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transforms_id
string
required

Body

application/json
transform_id
string
required
implementation
object
required
version_id
string
default:""

Response

Successful Response

transform_id
string
required
implementation
object
required
version_id
string
default:""