Skip to content

Workflow api elements — part 4

Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.

Interact with an SFTP server. When reading a file, the content of the file is returned on success. When writing a file, the number of bytes written is returned on success. When an error occurs, the error port is triggered with details.

Input ports: default (any; Input).

Output ports: success (any; Success), error (any; Error).

OptionTypeDefaultRequiredDescription
sftpHosttextnullnot declaredHost
sftpPorttextnullnot declaredPort
sftpUsernametextnullnot declaredUsername
sftpPasswordtextnullnot declaredIf empty, the username is used for a login via the SSH-agent of the system. Assumes you have a public / private key setup properly on both the target and this machine.
sftpPrivateKeytextnullnot declaredRaw value the private key file for authentication. Not needed when using password or SSH-agent authentication.
sftpFiletextnullnot declaredPath and filename on the SFTP server.
sftpContenttextnullnot declaredRaw content of the file to write. Not needed when reading a file.
sftpTypeselectjsonnot declaredType Values: r, w.

Upload a file to a target API.

Input ports: default (any; Input), token (any; Token).

Output ports: default (any; Output), authError (any; AuthError).

OptionTypeDefaultRequiredDescription
targetselectnullyes (requireOption)Target Values: youtube.
configrecipes[]not declaredConfig