Skip to main content

InstanceConfiguration

Configuration parameters and limits of the current API instance.

Properties

version:string
optional

API version. null if the administrator has disabled exposing it via instanceConfiguration.showVersion.

example "0.1.32"

pageSize:object
optional
min:integer
optional

example 5

default:integer
optional

example 25

max:integer
optional

example 100

register:object
optional
enabled:boolean
optional

example true

uniqueIdentifier:string
optional

example "email"

uniqueIdentifierRegex:one of 2
optional

Either false or a regex for checking the identifier content.

example "/^[^\s@]+@[^\s@]+$/"

expression:object
optional
maxLength:integer
optional

example 10240

file:object
optional
maxFileSizeInBytes:integer
optional

example 10737418240

uploadExpiresAfterFirstRequestInSeconds:integer
optional

example 10800

uploadMinChunkSizeInBytes:integer
optional

example 5242880

uploadMaxChunkSizeInBytes:integer
optional

example 105906176

Raw Schema

{
"type": "object",
"description": "Configuration parameters and limits of the current API instance.",
"properties": {
"version": {
"type": "string",
"nullable": true,
"description": "API version. `null` if the administrator has disabled exposing it via `instanceConfiguration.showVersion`.",
"example": "0.1.32"
},
"pageSize": {
"type": "object",
"properties": {
"min": {
"type": "integer",
"example": 5
},
"default": {
"type": "integer",
"example": 25
},
"max": {
"type": "integer",
"example": 100
}
}
},
"register": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"example": true
},
"uniqueIdentifier": {
"type": "string",
"example": "email"
},
"uniqueIdentifierRegex": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean",
"enum": [
false
]
}
],
"description": "Either `false` or a regex for checking the identifier content.",
"example": "/^[^\\s@]+@[^\\s@]+$/"
}
}
},
"expression": {
"type": "object",
"properties": {
"maxLength": {
"type": "integer",
"example": 10240
}
}
},
"file": {
"type": "object",
"properties": {
"maxFileSizeInBytes": {
"type": "integer",
"example": 10737418240
},
"uploadExpiresAfterFirstRequestInSeconds": {
"type": "integer",
"example": 10800
},
"uploadMinChunkSizeInBytes": {
"type": "integer",
"example": 5242880
},
"uploadMaxChunkSizeInBytes": {
"type": "integer",
"example": 105906176
}
}
}
}
}