# Default configuration for extension with alias: "ember_nexus" ember_nexus: # Affects how many elements can be returned in collection responses. pageSize: # Minimum number of elements which are always returned, if they exist. min: 5 # Default number of elements which are returned if they exist. default: 25 # Maximum number of elements which are returned in a single response. Should not be way more than 100, as performance problems may arise. max: 100 # Handles the /register endpoint. register: # If true, the /register endpoint is active and anonymous users can create accounts. enabled: true # The property name of the identifier. Identifier must be unique across the API, usually the email. uniqueIdentifier: email # Either false or a regex for checking the identifier content. uniqueIdentifierRegex: false # Configures settings related to the execution of expressions expression: # If true, expressions are executed. enabled: true # Minimum length for executable expressions to trigger a warning in the logs. warningLength: 512 # Maximum length for executable expressions. Exceeding the limit will throw an exception. maxLength: 10240 # Configures the /instance-configuration endpoint. instanceConfiguration: # If true, enables the endpoint. If false, 403 error messages are returned. enabled: true # If false, the version number is omitted. showVersion: true # Configures token settings. token: # Minimum lifetime of created tokens. minLifetimeInSeconds: 1800 # Default lifetime of created tokens. defaultLifetimeInSeconds: 10800 # Maximum lifetime of created tokens. Can be set to false to disable maximum limit. maxLifetimeInSeconds: 34214400 # Expired tokens will be deleted after defined time. Can be set to false to disable auto delete feature. tokenDeleteExpiredTokensAutomaticallyInSeconds: 1209600 # Configures the cache. cache: # Seed used to generate Etag values. Changing it invalidates all data cached by clients. etagSeed: '' # Maximum number of items in a collection for which to generate Etags. Bigger collection do not contain Etags due to performance problems. etagUpperLimitInCollectionEndpoints: 100 # Configures feature flags. featureFlag: # If true, the original behavior of some user endpoints in versions before 0.1.6 will no longer be supported. Old behavior will be dropped with version 0.2.0. See GitHub issue #280. 280_OldUniqueUserIdentifierDisabled: false # Configures behavior related to files. file: # Maximum supported file size in bytes. Note: Upstream services like S3 have limits of their own (5TB). maxFileSizeInBytes: 10737418240 # Number of seconds after which unfinished uploads are expired. uploadExpiresInSecondsAfterFirstRequest: 10800 # Number of digits for the upload chunk counter. Number of max chunks can be limited by upstream services, e.g. AWS can only support up to 10.000 chunks, i.e. a chunk digits length of 4. uploadChunkDigitsLength: 4 # Minimum size in bytes of uploaded chunks. Limited by the S3 provider, e.g. AWS requires that chunks are at least 5 MiB big. uploadMinChunkSizeInBytes: 5242880 # Maximum size in bytes of uploaded chunks. Limited by the S3 provider, Caddy and the PHP configuration. uploadMaxChunkSizeInBytes: 105906176 # Name of the S3 bucket used for storage of files. S3StorageBucket: api-storage # Name of the S3 bucket used for temporary storage of uploads. S3UploadBucket: api-upload # Number of levels (folders) used within the S3 storage bucket. S3StorageBucketLevels: 3 # Number of characters used for each level (folder) in the S3 storage bucket. S3StorageBucketLevelLength: 2 # Number of levels (folders) used within the S3 upload bucket. S3UploadBucketLevels: 2 # Number of characters used for each level (folder) in the S3 upload bucket. S3UploadBucketLevelLength: 2