The API module contains all functionality necessary to provide modern REST-based API interfaces.
Configuration Options
Option | Possible Values | Description |
---|---|---|
api.logging | true / false | If set to true the requests are logged to api_logs table and can be searched within the UI. |
api.forceApplication | true / false | If set to true requests without a valid x-application header will fail. |
api.whitelist | comma seperated IP addresses | A list of IP addresses that is used by the IPWhitelistGuard to check for valid requests |
api.whitelistHeader | string | The index of $_SERVER to check for the remote IP addresses. By default this is REMOTE_ADDR but this can be changed to cater for load balanced installations. |
0 Comments