From 122b93a43091d343417b2f567b690cf16495cc0e Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Sat, 9 Dec 2017 22:14:34 +0000 Subject: [PATCH] Moved API page to site --- docs/API.md | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/docs/API.md b/docs/API.md index fa799eea..0f8c3916 100644 --- a/docs/API.md +++ b/docs/API.md @@ -1,30 +1 @@ -### We have API built on top of gRPC framework - -It's very-very developer feature and we do not support it right now. You could use instructions from [GoBGP integration](https://fastnetmon.com/docs/gobgp-integration/) and enable it. - -Enable API in configuration file: -```bash -# Enable gRPC api (required for fastnetmon_api_client tool) -enable_api = on -``` - -You could ban IP: -```bash -/opt/fastnetmon/fastnetmon_api_client ban 192.168.1.1 -``` - -You could unban IP: -```bash -/opt/fastnetmon/fastnetmon_api_client unban 192.168.1.1 -``` - -You could check banlist: -```bash -/opt/fastnetmon/fastnetmon_api_client get_banlist -``` - -Sample output: -```bash -192.168.1.1/32 -``` - +We moved this page to our site [here](https://fastnetmon.com/fastnetmon-community-api/)