70 lines
1.6 KiB
YAML
70 lines
1.6 KiB
YAML
---
|
|
type: object
|
|
properties:
|
|
sftp_server_id:
|
|
type: integer
|
|
description: Internal FTP/SFTP server identifier
|
|
readOnly: true
|
|
name:
|
|
type: string
|
|
description: Name of the FTP/SFTP server
|
|
host:
|
|
type: string
|
|
description: FTP/SFTP host name (optional)
|
|
port:
|
|
type: integer
|
|
description: TCP port number (optional)
|
|
transport:
|
|
type: string
|
|
enum:
|
|
- ftp
|
|
- sftp
|
|
- file
|
|
description: Transport of FTP/SFTP server (optional)
|
|
auth_mode:
|
|
type: string
|
|
enum:
|
|
- password
|
|
- key_file
|
|
- noauth
|
|
description: Authentication mode to use (optional)
|
|
passive:
|
|
type: boolean
|
|
description: Whether or not to use passive mode (optional)
|
|
user_name:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: The user name to use for authentication (optional)
|
|
password:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: The password to use for authentication (optional)
|
|
key_file:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: The key file to use for authentication (optional)
|
|
download_directory:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Path on the remote server we download from (optional)
|
|
upload_directory:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Path on the remote server we upload to (optional)
|
|
status:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Most recent status of the FTP/SFTP server (optional)
|
|
debug:
|
|
type: boolean
|
|
description: If the SMTP connection is set to debug mode (optional)
|
|
additionalProperties: false
|
|
required:
|
|
- name
|