From 1d47ef7ca08770030a9157ffc7646f1754f767d3 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sat, 6 Jun 2020 09:35:06 +0300 Subject: [PATCH] Added abuse key to open-spec --- app/controllers/web/home.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/web/home.php b/app/controllers/web/home.php index f3e4fd72c8..eee41c4d40 100644 --- a/app/controllers/web/home.php +++ b/app/controllers/web/home.php @@ -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, ];