Site Settings
The following settings are configurable per site in the TYPO3 backend under Site Management → Sites → Settings in the TCA_API category.
General
-
- Type
- bool
- Default
true
Enable or disable the API for this site. When disabled, the middleware passes all requests through without processing.
-
- Type
- string
- Default
/_api/
URL path prefix for all API endpoints. Must start and end with a slash. The API is inactive until this is set.
-
- Type
- int
- Default
20
Default number of items returned per page in collection responses. Can be overridden per resource in the resource definition.
-
- Type
- string
- Default
- (empty — all)
Comma-separated list of resource names to expose on this site. Leave empty to allow all registered resources.
-
- Type
- bool
- Default
false
Return verbose error details in API responses, and re-throw contained processor failures instead of degrading the column to
null(see Processor failures are contained). Disable on production sites.
API specification
-
- Type
- string
- Default
PUBLIC
Who may access the OpenAPI JSON spec at
{api. Allowed values:Prefix}openapi. json PUBLIC,FE_,USER BE_,USER BE_,ADMIN NONE.
-
- Type
- string
- Default
TCA_API
Title shown in the OpenAPI spec info block and Swagger UI header.
-
- Type
- string
- Default
- (empty)
Short description shown in the OpenAPI spec info block and Swagger UI.
-
- Type
- string
- Default
1.0. 0
Version string for the OpenAPI spec info block.
-
- Type
- string
- Default
PUBLIC
Who may access the interactive Swagger UI at
{api. Allowed values:Prefix}swagger- ui PUBLIC,FE_,USER BE_,USER BE_,ADMIN NONE.
CORS
-
- Type
- bool
- Default
false
Add CORS headers to API responses.
-
- Type
- string
- Default
*
Value for the
Access-header. UseControl- Allow- Origin *to allow all origins.
-
- Type
- bool
- Default
false
When enabled, adds
Access-to CORS responses. Required when the frontend sends cookies orControl- Allow- Credentials: true Authorizationheaders with cross-origin requests. Note: browsers reject credentialed requests whencorsisOrigin *— set it to the specific origin instead.