attachment.server
Modules
attachment.server
Module attachment.server
API
Definitions
commons/attachment.server
Configurables
attachment.server: port
Port of the service's listener.
attachment.server: basePath
Base path the service is attached at; signed links are served under <basePath>/links.
attachment.server: ns
Namespace of every case this instance stores and serves.
attachment.server: tablePrefix
Prefix of the service's tables; webhook tables use <prefix>webhook_.
attachment.server: auth
Listener auth.
attachment.server: db
Database connection.
attachment.server: storage
Where file content is stored.
attachment.server: storageDir
Directory for FILESYSTEM storage.
attachment.server: maxFileBytes
Largest file any slot accepts, in bytes.
attachment.server: adminRoles
Roles that may act on every case, and how.
attachment.server: webhooks
Webhooks registered at startup, e.g. an agent's endpoint.
attachment.server: webhookDelivery
Webhook delivery tuning.
attachment.server: scopeCreate
Scope required to create cases; users never hold it.
attachment.server: scopeManage
Scope that lets a service reopen and close any case.
attachment.server: scopeUse
Scope required to list, read, upload and submit as a subject.
attachment.server: scopeAdmin
Scope that grants every operation on every case.
attachment.server: scopeWebhooks
Scope required to manage webhooks.
attachment.server: linkSecret
Key that signs download links; a random key is used when empty, so links end with the process.
attachment.server: linkTtlSeconds
Lifetime of a download link, in seconds.
attachment.server: maxPageSize
Largest page a listing returns.
attachment.server: ticketTtlSeconds
Lifetime of an SSE stream ticket, in seconds.
attachment.server: corsAllowOrigins
Origins allowed by CORS.
Import
import commons/attachment.server;Other versions
0.1.0
Metadata
Released date: 27 days ago
Version: 0.1.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.13.4
GraalVM compatible: Yes
Pull count
Total: 1
Current verison: 1
Weekly downloads
Keywords
commons
attachment
upload
files
Contributors