1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Added abuse key to open-spec

This commit is contained in:
Eldad Fux 2020-06-06 09:35:06 +03:00
parent 76708f1637
commit 1d47ef7ca0

View file

@ -417,6 +417,7 @@ $utopia->get('/open-api-2.json')
'edit' => 'https://github.com/appwrite/appwrite/edit/master' . $route->getLabel('sdk.description', ''),
'rate-limit' => $route->getLabel('abuse-limit', 0),
'rate-time' => $route->getLabel('abuse-time', 3600),
'rate-key' => $route->getLabel('abuse-key', 'url:{url},ip:{ip}'),
'scope' => $route->getLabel('scope', ''),
'platforms' => $platformList,
];