PrepressMu Mutation

createFolder

Topics: Files

Creates a folder in the caller's tenant. The binding reference must resolve to a storage backend or controller owned by the tenant, the name must be unique within it, and at most one folder may be the tenant default. Requires folder:write permission.

Returns

FolderPayload!

Arguments

Name, transport binding and root path for the new folder.

Exact field SDL
"""
Creates a folder in the caller's tenant. The binding reference must resolve to a storage backend or controller owned by the tenant, the name must be unique within it, and at most one folder may be the tenant default. Requires folder:write permission.
"""
createFolder(
  """Name, transport binding and root path for the new folder."""
  input: CreateFolderInput!
): FolderPayload! @topic(names: ["files"])

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