Transforms
Update Reusable Record Transform
Updates a transform in the authenticated user's account.
put/transforms/{transform_id}
Request
- Base URLhttps://dataops.nexla.io/nexla-api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
transform_idinteger required
The unique ID of the transform that needs to be updated.
Headers
Accept'application/vnd.nexla.api.v1+json' | 'application/json'
Setting to application/vnd.nexla.api.v1+json is recommended.
Request body
Example request
{
"name": "test",
"description": "test",
"code": [
{
"operation": "nexla.custom",
"spec": {
"language": "python",
"encoding": "base64"
}
}
]
}Response
Success
Example response
{
"id": 1,
"name": "test",
"description": "test",
"code_encoding": "none",
"code": [
{
"operation": "nexla.custom",
"spec": {
"language": "python",
"encoding": "base64",
"script": "ZGVmIHRyYW5zZm9ybShpbnB1dCwgbWV0YWRhdGEsIGFyZ3MpOgogICMgU2FtcGxlIHB5dGhvbiB0cmFuc2Zvcm0gdG8gcGFzcyBhbGwgYXR0cmlidXRlcyB0aHJvdWdoCiAgcmV0dXJuIGlucHV0"
}
}
],
"updated_at": "2023-01-24T03:26:43.000Z",
"created_at": "2023-01-24T03:26:43.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.