Added abuse key to open-spec
This commit is contained in:
parent
76708f1637
commit
1d47ef7ca0
1 changed files with 1 additions and 0 deletions
|
@ -417,6 +417,7 @@ $utopia->get('/open-api-2.json')
|
||||||
'edit' => 'https://github.com/appwrite/appwrite/edit/master' . $route->getLabel('sdk.description', ''),
|
'edit' => 'https://github.com/appwrite/appwrite/edit/master' . $route->getLabel('sdk.description', ''),
|
||||||
'rate-limit' => $route->getLabel('abuse-limit', 0),
|
'rate-limit' => $route->getLabel('abuse-limit', 0),
|
||||||
'rate-time' => $route->getLabel('abuse-time', 3600),
|
'rate-time' => $route->getLabel('abuse-time', 3600),
|
||||||
|
'rate-key' => $route->getLabel('abuse-key', 'url:{url},ip:{ip}'),
|
||||||
'scope' => $route->getLabel('scope', ''),
|
'scope' => $route->getLabel('scope', ''),
|
||||||
'platforms' => $platformList,
|
'platforms' => $platformList,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue