Usage
Settings
Learn about all of the settings of the craft query API
You can define a multi environment aware config in craft/config/craft-query-api.php
. You can find an example in that file.
cacheDuration
Defines the cache duration. Defaults to the cache duration defined in your general.php
.
excludedFieldClasses
Define field classes that should be excluded from the json response. Used for example for excluding the seo settings field, because SEOmatic has its own API endpoint for that.