Pular para o conteúdo principal
POST
Register a file source

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Corpo

application/json

JSON request payload.

kind
string
obrigatório

Transport kind: s3, sftp or ftp.

Exemplo:

"sftp"

name
string
obrigatório

Display name of the file source; unique per client, trimmed, 1 to 255 characters.

Exemplo:

"daily-deliveries"

ftp
object

FTP settings. Send only for kind ftp.

passphrase
string

Write-only passphrase of an sftp private key. Never returned.

Exemplo:

"-"

s3
object

Object storage settings. Send only for kind s3.

secret
string

Write-only credential: the static secret key (s3), the password or private key (sftp) or the password (ftp). Never returned.

Exemplo:

"-"

sftp
object

SFTP settings. Send only for kind sftp.

Resposta

Created

createdAt
string<date-time>
obrigatório

When the file source was created, in UTC

Exemplo:

"2026-01-01T00:00:00Z"

id
string
obrigatório

File source identifier

Exemplo:

"00000000-0000-0000-0000-000000000000"

kind
string
obrigatório

Transport: s3, sftp or ftp

Exemplo:

"sftp"

name
string
obrigatório

Unique name of the file source within the tenant

Exemplo:

"daily-deliveries"

updatedAt
string<date-time>
obrigatório

When the file source was last edited, in UTC

Exemplo:

"2026-01-01T00:00:00Z"

ftp
object

FTP settings, set only when kind is ftp

lastConnection
object

Outcome of the most recent connection test

s3
object

S3 settings, set only when kind is s3

sftp
object

SFTP settings, set only when kind is sftp