# API configuration

General settings for API calls can be set in the ./config/api.js file:

Property Description Type Default
responses Global API response configuration Object -
responses.privateAttributes Set of globally defined attributes to be treated as private. String array []
rest REST API configuration Object -
rest.prefix The API prefix String /api
rest.defaultLimit Default limit parameter used in API calls (see REST API documentation) Integer 25
rest.maxLimit Maximum allowed number that can be requested as limit (see REST API documentation). Integer 100

Example: