Workflow api elements — part 4
Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.
api/sftp
Section titled “api/sftp”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).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
sftpHost | text | null | not declared | Host |
sftpPort | text | null | not declared | Port |
sftpUsername | text | null | not declared | Username |
sftpPassword | text | null | not declared | If 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. |
sftpPrivateKey | text | null | not declared | Raw value the private key file for authentication. Not needed when using password or SSH-agent authentication. |
sftpFile | text | null | not declared | Path and filename on the SFTP server. |
sftpContent | text | null | not declared | Raw content of the file to write. Not needed when reading a file. |
sftpType | select | json | not declared | Type Values: r, w. |
api/upload
Section titled “api/upload”Upload a file to a target API.
Input ports: default (any; Input), token (any; Token).
Output ports: default (any; Output), authError (any; AuthError).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
target | select | null | yes (requireOption) | Target Values: youtube. |
config | recipes | [] | not declared | Config |