plugin.tx_nnrestapi { settings { # where to upload new files. Use @Api\Upload("config[crazytermsapi]") fileUploads { crazytermsapi { defaultStoragePath = 1:/user_upload/apiupload/ } } # Default values for new entries insertDefaultValues { Meramo\Crazytermsapi\Domain\Model\Entry { pid = 4 } } # Reduce JSON in response to certain fields globalDistillers { Meramo\Crazytermsapi\Domain\Model\Entry { #include = uid, title, files flattenFileReferences = 1 } } } }