PrepressQu Query

getFTPBackend

Topics: Files

Fetch one storage backend as an FTP backend. Null when no backend with that id exists in the caller's tenant, or when it exists but is not FTP — a backend has exactly one kind, so asking for the wrong face is a miss rather than an error. Requires storageBackend:read permission.

Returns

FTPBackend

Arguments

TypeID (sbk_ prefix) of the backend to fetch.

Exact field SDL
"""
Fetch one storage backend as an FTP backend. Null when no backend with that id exists in the caller's tenant, or when it exists but is not FTP — a backend has exactly one kind, so asking for the wrong face is a miss rather than an error. Requires storageBackend:read permission.
"""
getFTPBackend(
  """TypeID (`sbk_` prefix) of the backend to fetch."""
  id: StorageBackendID!
): FTPBackend @topic(names: ["files"])

Declared on Query. Access is checked by the platform for each operation.