ldc-dam/config/api.php

31 lines
539 B
PHP
Raw Permalink Normal View History

2022-07-28 12:32:37 +02:00
<?php
use App\Lib\Helper;
return [
/**
* Api versions
** this value is sent in response
*/
'version' => Helper::getPackageInfo()['version'],
/**
* Timestamp timeout in seconds
* Request with timestamp older than 30sec
* will be rejected
*/
'timestampTimeout' => 30,
/**
* The number of request
* per user or ip per minutes
*/
'apiRequestRatePerMinute' => 256,
/**
* Service requests cache
* time in minutes
*/
'servicesDBCache' => 10
];