⚙️API Integrazione
Report
Report del traffico
10 min
{ "tab" "examples", "url" "https //api fsflt net/report/traffic reports/last/top categories", "name" "last top categories", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "bucket size", "type" "string", "description" "timing range\nthe bucket size must be one of the following types 24h, 48h, 72h, 7days, 1month, 6month\n\n24h = last 24h report\n48h = last 48h report\n72h = last 72h report\n7days = last 7 days report\n1month = last month report\n6month = last 6 months report" }, { "kind" "required", "name" "category type", "type" "number", "description" "the category type \ncategory type must be one of the following types 1, 2\n\n1 = blocked categories\n2 = allowed categories" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "0btcgb0hqt2z1z39elima", "code" "{\n \\"code\\" 200,\n \\"content\\" \[\n {\n \\"category name\\" \\"advertising\\",\n \\"total requests\\" \\"108506\\",\n \\"category code\\" \\"publicite\\"\n },\n {\n \\"category name\\" \\"online services\\",\n \\"total requests\\" \\"13924\\",\n \\"category code\\" \\"onlineservices\\"\n },\n ]\n}\n", "language" "200" }, { "id" "xwakb6y5gox3husvb1zyw", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "cn2xsg8cpfzdsjepm5llm", "code" "{\r\n \\"code\\" 500, \r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"bucket size\\" \[\r\n \\"the bucket size must be one of the following types 24h, 48h, 72h, 7days \[24h = last 24h report, 48h = last 48h report, 72h = last 72h report, 7days = last 7 days report]\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "0btcgb0hqt2z1z39elima" }, "examples" { "languages" \[ { "id" "4meikrzxmfl s8mqu8rxv", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/last/top categories' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"bucket size\\" \\"string\\",\\"category type\\" \\"number\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "h9rcr0dzc8 xveyzw3zsb", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/last/top categories',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"bucket size\\" \\"string\\",\\"category type\\" \\"number\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "9vyjjeiiwcbltxwsnwyyq", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"category type\\\\\\" \\\\\\"number\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/last/top categories\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "xarv1n4itkzowzz67hd t", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/last/top categories\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"category type\\\\\\" \\\\\\"number\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "clugusiccs6dlov56ps9m", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/last/top categories\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"category type\\\\\\" \\\\\\"number\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "4meikrzxmfl s8mqu8rxv" }, "description" "gets the top categories requested in a period of time", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "https //api fsflt net/report/traffic reports/last/top domains", "name" "last top domains", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "bucket size", "type" "string", "description" "timing range\nthe bucket size must be one of the following types 24h, 48h, 72h, 7days, 1month, 6month\n\n24h = last 24h report\n48h = last 48h report\n72h = last 72h report\n7days = last 7 days report\n1month = last month report\n6month = last 6 months report" }, { "kind" "required", "name" "request type", "type" "number", "description" "the request type \nrequest type must be one of the following types 1, 2, 3\n\n1 = blocked request\n2 = allowed request\n3 = nx unresolved request" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "gshqej9jrxhtxmunvyhwf", "code" "{\n \\"code\\" 200,\n \\"content\\" \[\n {\n \\"domain\\" \\"www googleadservices com\\",\n \\"total requests\\" \\"9009\\"\n },\n {\n \\"domain\\" \\"googleads g doubleclick net\\",\n \\"total requests\\" \\"5521\\"\n },\n ]\n}\n", "language" "200" }, { "id" "awrdo5it47saotzpce6yj", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "razk09hvg3b6gld9 ch2f", "code" "{\r\n \\"code\\" 500, \r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"bucket size\\" \[\r\n \\"the bucket size must be one of the following types 24h, 48h, 72h, 7days \[24h = last 24h report, 48h = last 48h report, 72h = last 72h report, 7days = last 7 days report]\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "gshqej9jrxhtxmunvyhwf" }, "examples" { "languages" \[ { "id" "zmyjjrzotk7v1sd6vjsjo", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/last/top domains' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"bucket size\\" \\"string\\",\\"request type\\" \\"number\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "m96qeujo0nnxsknyelq0r", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/last/top domains',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"bucket size\\" \\"string\\",\\"request type\\" \\"number\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "oyokma0jjmlkbir 9bztw", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"request type\\\\\\" \\\\\\"number\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/last/top domains\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" " frjasfiqf1swvwtdy9ze", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/last/top domains\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"request type\\\\\\" \\\\\\"number\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "kutbdlsagkckbm2dypleo", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/last/top domains\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"request type\\\\\\" \\\\\\"number\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "zmyjjrzotk7v1sd6vjsjo" }, "description" "gets the top domains requested in a period of time", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "https //api fsflt net/report/traffic reports/last/statistics", "name" "last statistics", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "bucket size", "type" "string", "description" "timing range\nthe bucket size must be one of the following types 24h, 48h, 72h, 7days, 1month, 6month\n\n24h = last 24h report\n48h = last 48h report\n72h = last 72h report\n7days = last 7 days report\n1month = last month report\n6month = last 6 months report" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "kom857amqd qkppzxfbdk", "code" "{\n \\"code\\" 200,\n \\"content\\" \[\n {\n \\"total queries\\" \\"37403346\\",\n \\"total blocked\\" \\"160541\\",\n \\"total allowed\\" \\"36940727\\",\n \\"total unresolved\\" \\"302078\\",\n \\"total malwares blocked\\" \\"8994\\"\n }\n ]\n}\n", "language" "200" }, { "id" "fcuwqchpeqhtqxqsccizs", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "e2vppnzvyrawwdorfa2tj", "code" "{\r\n \\"code\\" 500, \r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"bucket size\\" \[\r\n \\"the bucket size must be one of the following types 24h, 48h, 72h, 7days \[24h = last 24h report, 48h = last 48h report, 72h = last 72h report, 7days = last 7 days report]\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "kom857amqd qkppzxfbdk" }, "examples" { "languages" \[ { "id" "yisluu m4z66qvc kbyux", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/last/statistics' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"bucket size\\" \\"string\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "ixuo4zmhx4efo4mf9urzk", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/last/statistics',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"bucket size\\" \\"string\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "s 5re0fh6 fxo6h7lfjrr", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/last/statistics\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "csy9yudoldjepryy5mk0t", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/last/statistics\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "cbr55hnttdds3rsxdaldw", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/last/statistics\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "yisluu m4z66qvc kbyux" }, "description" "gets statistics in a period of time", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "https //api fsflt net/report/traffic reports/last/hourly requests", "name" " per hour request", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "bucket size", "type" "string", "description" "timing range\nthe bucket size must be one of the following types 24h, 48h, 72h, 7days, 1month, 6month\n\n24h = last 24h report\n48h = last 48h report\n72h = last 72h report\n7days = last 7 days report\n1month = last month report\n6month = last 6 months report" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "7se8kdnyz decby ljnyf", "code" "{\n \\"code\\" 200,\n \\"content\\" \[\n {\n \\"timestamp\\" \\"2021 12 20 09 00 00\\",\n \\"total requests\\" 5853694\n },\n {\n \\"timestamp\\" \\"2021 12 20 10 00 00\\",\n \\"total requests\\" 1712199\n },\n {\n \\"timestamp\\" \\"2021 12 20 11 00 00\\",\n \\"total requests\\" 1942722\n },\n ]\n}\n", "language" "200" }, { "id" "da2otrpj5hl dyeh73sg", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "4oyomd45olgvmydgz2tkv", "code" "{\r\n \\"code\\" 500, \r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"bucket size\\" \[\r\n \\"the bucket size must be one of the following types 24h, 48h, 72h, 7days \[24h = last 24h report, 48h = last 48h report, 72h = last 72h report, 7days = last 7 days report]\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "7se8kdnyz decby ljnyf" }, "examples" { "languages" \[ { "id" "vvm4sgp 7vgs50potjpd2", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/last/hourly requests' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"bucket size\\" \\"string\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "9e ncnxhh3ztvkbfur1bi", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/last/hourly requests',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"bucket size\\" \\"string\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "hrnfscvak7o9xxjmgzbri", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/last/hourly requests\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "ykukogcfy1sphmxdgdnpy", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/last/hourly requests\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "emeq xubnahnbwn qmkyi", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/last/hourly requests\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"bucket size\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "vvm4sgp 7vgs50potjpd2" }, "description" "gets hourly requests (blocked and allowed) in a period of time", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total blocked category", "name" "blocked by category", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the report name and category name, defaults en" }, { "kind" "optional", "name" "macro code", "type" "number", "description" "only search for mcarocatogy, defaults to all\nsee panel/categories/macro/list for accepted values" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "pmhvacei4o8xisl1 4jfe", "code" "{\n \\"code\\" 200,\n \\"content\\" { \n \\"title\\" \\"blocked by category\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=891157\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=orange\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=advertising%7c311706%3bonline+services%7c42182%3bdoh+proxy%7c14568%3bweb+stats%7c12699%3bgames%7c7122%3bsoftware+%26+tech%7c3246%3bdangerous+threats%7c1604%3bcdn%7c760\\",\n \\"result\\" \[\n {\n \\"category name\\" \\"advertising\\",\n \\"total requests\\" \\"311706\\",\n \\"category code\\" \\"publicite\\"\n },\n {\n \\"category name\\" \\"online services\\",\n \\"total requests\\" \\"42182\\",\n \\"category code\\" \\"onlineservices\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "lulafin6 3ncmpfrecezs", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "eysnq1i pfnybvo n629w", "code" "{\r\n \\"code\\" 500, \r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"macro code\\" \[\r\n \\"the macro code is invalid, please connect to categories/macro/list for the valid values list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "pmhvacei4o8xisl1 4jfe" }, "examples" { "languages" \[ { "id" "v kmj9elxpzcqrwze lib", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total blocked category' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\",\\"macro code\\" \\"number\\"}'", "customlabel" "" }, { "id" "exumejltv1v8gkvpkxewq", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total blocked category',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\",\\"macro code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "8wshgcebjg8ttqxgmuyld", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"macro code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total blocked category\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "3jqprbmjy8n2qsoif8opp", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total blocked category\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"macro code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "hg1a6snrn052aldhdkbxz", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total blocked category\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"macro code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "v kmj9elxpzcqrwze lib" }, "description" "gets the total number of blocked requests by category for customer in a period of time sorted by categories with more requests", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total allowed category", "name" " allowed by category", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the report name and category name, defaults en" }, { "kind" "optional", "name" "macro code", "type" "number", "description" "only search for mcarocatogy, defaults to all\nsee panel/categories/macro/list for accepted values" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "fnrkkxaygyprtbmf gzla", "code" "{\n \\"code\\" 200,\n \\"content\\" { \n \\"title\\" \\"blocked by category\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=602719\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=green\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=software+%26+tech%7c1084838%3btiktok%7c1040098%3bonline+services%7c588832%3bfacebook%7c471340%3bcdn%7c306955%3bwhatsapp+%28vocals+%26+calls+only%29%7c237272%3bsearch+engines%7c226234%3byoutube%7c128520\\",\n \\"result\\" \[\n {\n \\"category name\\" \\"advertising\\",\n \\"total requests\\" \\"311706\\",\n \\"category code\\" \\"publicite\\"\n },\n {\n \\"category name\\" \\"online services\\",\n \\"total requests\\" \\"42182\\",\n \\"category code\\" \\"onlineservices\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "9fofrcau1uurqfke2qkj ", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "0fajryq7lv hnr0usozls", "code" "{\r\n \\"code\\" 500, \r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"macro code\\" \[\r\n \\"the macro code is invalid, please connect to categories/macro/list for the valid values list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "fnrkkxaygyprtbmf gzla" }, "examples" { "languages" \[ { "id" "oq2i4mi58g5vox0lrfsfx", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total allowed category' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\",\\"macro code\\" \\"number\\"}'", "customlabel" "" }, { "id" "479btfgr7bvdakr ay0h0", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total allowed category',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\",\\"macro code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "jqflkpjgahfsk6kssr1t6", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"macro code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total allowed category\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "0azgpynj4sy0lwxo7cmel", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total allowed category\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"macro code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "dgagpkgn14tmfbjv9w9iy", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total allowed category\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"macro code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "oq2i4mi58g5vox0lrfsfx" }, "description" "gets the total number of allowed requests by category for customer in a period of time sorted by categories with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total dangerous transited", "name" "dangerous requests transited", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the report name and category name, defaults en" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "277ja47z4qh0twdai3vvl", "code" "{\n \\"code\\" 200,\n \\"content\\" { \n \\"title\\" \\"dangerous requests transited\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=244960\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=black\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=games%7c14776%3bchat%7c1083%3bdating%7c333%3bdesktop+wallpapers%7c4\\",\n \\"result\\" \[\n {\n \\"category name\\" \\"games\\",\n \\"total requests\\" \\"14776\\"\n },\n {\n \\"category name\\" \\"chat\\",\n \\"total requests\\" \\"1083\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "ftc ofxnt g xfn6cwg8v", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "g4mutqapudjl1vy7wlxug", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "277ja47z4qh0twdai3vvl" }, "examples" { "languages" \[ { "id" "dvpvsgysf0pyxwtfqklcr", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total dangerous transited' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'", "customlabel" "" }, { "id" "pbloco pimqizkysvxhlg", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total dangerous transited',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "nvbjqhhect9yc13dw8azv", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total dangerous transited\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "ac21jjii llyynlajtgyb", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total dangerous transited\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "2q4ouj7bw1ldkx 13nl8d", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total dangerous transited\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "dvpvsgysf0pyxwtfqklcr" }, "description" "gets the total number of allowed requests by categories deemed dangerous for customer in a period of time sorted by categories with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "examples", "url" "https //api fsflt net/report/traffic reports/total blocked malware", "name" "malware threats blocked", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the report name and category name, defaults en" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "x9ldgjlj4gc83c4fmy b1", "code" "{\n \\"code\\" 200,\n \\"content\\" { \n \\"title\\" \\"unwanted blocked\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=818822\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=black\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=dangerous+threats%7c1604%3bmalicious+web+sites%7c18%3bmalicious+dns+activity%7c14%3bmalicious+activity%7c7%3bfraud+and+scams%7c2%3btrojan%7c1\\",\n \\"result\\" \[\n {\n \\"category name\\" \\"dangerous threats\\",\n \\"total requests\\" \\"1604\\"\n },\n {\n \\"category name\\" \\"malicious web sites\\",\n \\"total requests\\" \\"18\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "nra7sld1ydsa3z54avwex", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" " lcve50nuc 5u7jt3dkyg", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "x9ldgjlj4gc83c4fmy b1" }, "examples" { "languages" \[ { "id" "xswkplw0syxet73l2vbkx", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total blocked malware' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'", "customlabel" "" }, { "id" "jgcouiyluxeewz6ol9x0x", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total blocked malware',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "tiqrxr97a40okrzqwvst0", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total blocked malware\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "kwzioeyfwumbxjkbualal", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total blocked malware\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "yyojrzalslrnluvusgs 3", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total blocked malware\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "xswkplw0syxet73l2vbkx" }, "description" "gets the total number of blocked requests by malware categories for customer in a period of time sorted by categories with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total blocked macrocategory", "name" "blocked for macrocategory", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the report name and macro category name, defaults en" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "pcv9eifzhrarnhplar6ox", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"blocked for macrocategory\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=769647\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=orange\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=ads%2c+spam+%26+web+stats%7c324405%3btechnology%7c46188%3bunwanted+websites%7c23596%3bmalware+%26+threats%7c1646%3bdangerous%7c1228%3bfree+time%7c40%3bnational+government+blacklists%7c5%3bnews%7c2\\",\n \\"result\\" \[\n {\n \\"macro name\\" \\"ads, spam & web stats\\",\n \\"total requests\\" \\"324405\\",\n \\"macro code\\" 7\n },\n {\n \\"macro name\\" \\"technology\\",\n \\"total requests\\" \\"46188\\",\n \\"macro code\\" 9\n },\n ]\n }\n}\n", "language" "200" }, { "id" "xnni9d9nddc3asvkp6niq", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "5i5oyhrknd419pidhpdmo", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "pcv9eifzhrarnhplar6ox" }, "examples" { "languages" \[ { "id" "ihsape eyqdhsqvdegxtb", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total blocked macrocategory' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'", "customlabel" "" }, { "id" "zxhc9gbntfwjjjzwm7ck9", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total blocked macrocategory',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "x2wu ofw6fldo 9gktuki", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total blocked macrocategory\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "wfysz6hodon nft4 cisk", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total blocked macrocategory\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "qw c1rrnxvv7hyr r1asx", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total blocked macrocategory\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "ihsape eyqdhsqvdegxtb" }, "description" "gets the total number of blocked requests by macrocategory for customer in a period of time sorted by macrocategories with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total allowed macrocategory", "name" "allowed for macrocategory", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the report name and macro category name, defaults en" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "1k8ejpuwdngvxykwbjmoh", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"allowed for macrocategory\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=255656\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=green\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=technology%7c2103670%3bsocial+network%7c1821181%3bsearch+engines%7c226234%3baudio+%26+video%7c178934%3bwork%7c59827%3bads%2c+spam+%26+web+stats%7c37286%3bunwanted+websites%7c16196%3bnews%7c10896\\",\n \\"result\\" \[\n {\n \\"macro name\\" \\"ads, spam & web stats\\",\n \\"total requests\\" \\"324405\\",\n \\"macro code\\" 7\n },\n {\n \\"macro name\\" \\"technology\\",\n \\"total requests\\" \\"46188\\",\n \\"macro code\\" 9\n },\n ]\n }\n}\n", "language" "200" }, { "id" "gewrdjv sbnr9uchxtpyr", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "u9sxhsiw8s1cgntj5ilz6", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "1k8ejpuwdngvxykwbjmoh" }, "examples" { "languages" \[ { "id" "qxdckzotmobdtncwauldu", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total allowed macrocategory' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'", "customlabel" "" }, { "id" "u zscr1lqx0bjjyatkni1", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total allowed macrocategory',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "9aoy7k3eestogtcgpyl8r", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total allowed macrocategory\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "odn6y6fpqu9tfwmvnxnuy", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total allowed macrocategory\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "v43jrie1czp0ovrczvz42", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total allowed macrocategory\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "qxdckzotmobdtncwauldu" }, "description" "gets the total number of allowed requests by macrocategory for customer in a period of time sorted by macrocategories with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total allowed country", "name" "allowed by country", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the report name and country name, defaults en" }, { "kind" "optional", "name" "region code", "type" "string", "description" "only search for country region code, defaults to all\nsee panel/countries/region/list for accepted values " } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "omyt1bw6iktkr3dej5cse", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"allowed by country\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=621301\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=green\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=united+states%7c816742%3blatvia%7c74873%3bchina%7c37330%3bmexico%7c23205%3bireland%7c11435%3bsingapore%7c5955%3bgermany%7c4279%3bnetherlands%7c3550\\",\n \\"result\\" \[\n {\n \\"country\\" \\"united states\\",\n \\"total requests\\" \\"816742\\"\n },\n {\n \\"country\\" \\"latvia\\",\n \\"total requests\\" \\"74873\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "it 0vj2hoptpyilko1ga5", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "tkw ywx dal rlec0oofu", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"region code\\" \[\r\n \\"the region code is invalid, please connect to countries/region/list for the valid values list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "omyt1bw6iktkr3dej5cse" }, "examples" { "languages" \[ { "id" "f4vtesop 5eaulq9uokej", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total allowed country' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\",\\"region code\\" \\"string\\"}'", "customlabel" "" }, { "id" "dda6mr bvbn3ouwhvommw", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total allowed country',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\",\\"region code\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "d2iii64jpzzrypxggjevr", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"region code\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total allowed country\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" " hk 5elucv8zcmbds5apy", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total allowed country\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"region code\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "an1ezbanueh x0ulwvejl", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total allowed country\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\",\\\\\\"region code\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "f4vtesop 5eaulq9uokej" }, "description" "gets the total number of allowed requests by country for customer in a period of time sorted by countries with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total allowed geolocation", "name" "allowed geolocation", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the report name and region name, defaults en" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "fv7rtr1lliwjtfml3gqsk", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"allowed geolocation\\",\n \\"items graph\\" \\"no image for this report\\",\n \\"result\\" \[\n {\n \\"region\\" \\"north america\\",\n \\"total requests\\" \\"817119\\",\n \\"region code\\" \\"north america\\"\n },\n {\n \\"region\\" \\"baltics\\",\n \\"total requests\\" \\"74876\\",\n \\"region code\\" \\"baltics\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "odoglsjw75ldlcggsbeuf", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "i rsc235izzgvwq8kktic", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "fv7rtr1lliwjtfml3gqsk" }, "examples" { "languages" \[ { "id" "vqtcl pefy8x54qe m5hb", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total allowed geolocation' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'", "customlabel" "" }, { "id" "7 yz56k4vdedjq0a7kdb0", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total allowed geolocation',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"lang\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "ni2ztlvvlt3 ebrdlxl76", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total allowed geolocation\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "fxtllo we4copshqihe q", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total allowed geolocation\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "ya4kio7 b sga1 ybe7o1", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total allowed geolocation\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "vqtcl pefy8x54qe m5hb" }, "description" "gets the total number of allowed requests by country region for customer in a period of time sorted by countries with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total blocked malware domain", "name" "malware infected host blocked", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "wiekckclzsnxjwmf0qlnz", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"malware infected host blocked\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=572800\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=black\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=omnatuor com%7c592%3bzegons global zego im%7c4%3bnews cimase cc%7c3%3bd24ak3f2b top%7c3%3bpatch b68a5bd56 net%7c2%3btracepath cc%7c2%3bboot b68a5bd56 net%7c2%3bjxn0 51ginkgo com%7c1\\",\n \\"result\\" \[\n {\n \\"domain\\" \\"omnatuor com\\",\n \\"total requests\\" \\"592\\"\n },\n {\n \\"domain\\" \\"zegons global zego im\\",\n \\"total requests\\" \\"4\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "eljxdwtuukzev9 arsphq", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "ffzznggcu7frkpdlnhxpa", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "wiekckclzsnxjwmf0qlnz" }, "examples" { "languages" \[ { "id" "nkoek5syrdpuv3n1upwyo", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total blocked malware domain' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "52xkovouss58j qaqvm9b", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total blocked malware domain',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "hk6ldf5 agdm0frams5c7", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total blocked malware domain\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "r9fgqdqxbjmm7uy3ka5sb", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total blocked malware domain\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "rutgzg3zqh eux2r aduw", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total blocked malware domain\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "nkoek5syrdpuv3n1upwyo" }, "description" "gets the total number of blocked requests by malware domain for customer in a period of time sorted by domains with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total allowed domain", "name" "domains allowed", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "category code", "type" "string", "description" "only search for category, defaults to all\nsee panel/categories/list for accepted values" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the category name, defaults en" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "z7mbjfkvsmjohgcb tivq", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"domains allowed\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=946983\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=green\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=ddns flashstart com%7c73190%3bcloud mikrotik com%7c41785%3bconnectivitycheck gstatic com%7c37853%3bmtalk google com%7c28028%3bgraph facebook com%7c26101%3bmqtt mini facebook com%7c22358%3bplay googleapis com%7c18741%3bg whatsapp net%7c16063\\",\n \\"result\\" \[\n {\n \\"domain\\" \\"connectivitycheck gstatic com\\",\n \\"total requests\\" \\"37853\\"\n },\n {\n \\"domain\\" \\"mtalk google com\\",\n \\"total requests\\" \\"28028\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "x9ccnz2xaydvd7yjtwxcr", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "2o vvbe0chshvkxs1kdt6", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "z7mbjfkvsmjohgcb tivq" }, "examples" { "languages" \[ { "id" "tsrlsthap6jik5nsvarta", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total allowed domain' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"category code\\" \\"string\\",\\"lang\\" \\"string\\"}'", "customlabel" "" }, { "id" "nxnfgjxsu2oltkxi2qcmt", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total allowed domain',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"category code\\" \\"string\\",\\"lang\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "q 4feorhvpkzawfni6cu6", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"category code\\\\\\" \\\\\\"string\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total allowed domain\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "y7q2ymsvjd6prk51bknji", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total allowed domain\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"category code\\\\\\" \\\\\\"string\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "tvucusrda0ouiyhae480u", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total allowed domain\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"category code\\\\\\" \\\\\\"string\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "tsrlsthap6jik5nsvarta" }, "description" "gets the total number of allowed requests by domain for customer in a period of time sorted by domains with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total blocked domain", "name" "domains blocked", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" }, { "kind" "optional", "name" "category code", "type" "string", "description" "only search for category, defaults to all\nsee panel/categories/list for accepted values" }, { "kind" "optional", "name" "lang", "type" "string", "description" "language for the category name, defaults en" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "6ntum5htbluvp eeif72i", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"domains blocked\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=692530\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=orange\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=www googleadservices com%7c17541%3bgoogleads g doubleclick net%7c10013%3bapi16 access sg pangle io%7c7646%3bsdkconfig ad intl xiaomi com%7c4746%3bdns google%7c4526%3bandroid bugly qq com%7c3756%3bfirebase settings crashlytics com%7c3594%3bdata mistat intl xiaomi com%7c3290\\",\n \\"result\\" \[\n {\n \\"domain\\" \\"www googleadservices com\\",\n \\"total requests\\" \\"17541\\"\n },\n {\n \\"domain\\" \\"googleads g doubleclick net\\",\n \\"total requests\\" \\"10013\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "j0uxoz5zlu eqe0dru o", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "aoljhx2e4rww82dahdl1t", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "6ntum5htbluvp eeif72i" }, "examples" { "languages" \[ { "id" "y5clqujmli vnf6q03js7", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total blocked domain' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"category code\\" \\"string\\",\\"lang\\" \\"string\\"}'", "customlabel" "" }, { "id" "jbwbjgbsqlyeueqpf1ukn", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total blocked domain',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\",\\"category code\\" \\"string\\",\\"lang\\" \\"string\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "muxbisuv nt 5zmsify0g", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"category code\\\\\\" \\\\\\"string\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total blocked domain\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "1pxcn3dcjiig0isizi4cg", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total blocked domain\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"category code\\\\\\" \\\\\\"string\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "1jgubkdemlawsorztamv6", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total blocked domain\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"category code\\\\\\" \\\\\\"string\\\\\\",\\\\\\"lang\\\\\\" \\\\\\"string\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "y5clqujmli vnf6q03js7" }, "description" "gets the total number of blocked requests by domain for customer in a period of time sorted by domains with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/total nx domain", "name" "nx not existing domains", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start datetime", "type" "string", "description" "report lower limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "required", "name" "end datetime", "type" "string", "description" "report upper limit, format y m d h\ i s\n(on customer timezone)" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "r4tk9lwgbhewupeqw5sg4", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"nx not existing domains\\",\n \\"top items graph\\" \\"http //graph fsflt net/histogram?rnd=179515\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=grey\&hidelblx=0\&breaklabel=0\&limitchar=16\&dynchartismobile=false\&arrayval=ipv6 api kwai pro com%7c3035%3bgoogle com%7c1468%3bsettings crashlytics com%7c832%3bepdg epc mnc111 mcc732 pub 3gppnetwork org%7c782%3bepdg epc mnc103 mcc732 pub 3gppnetwork org%7c571%3bhttps%3a%2f%2fapp measurement com%2fsdk exp%7c537%3bd3vj4c1ig8mfeg cloudfront net%7c485%3bdebug opendns com%7c434\\",\n \\"result\\" \[\n {\n \\"domain\\" \\"ipv6 api kwai pro com\\",\n \\"total requests\\" \\"3035\\"\n },\n {\n \\"domain\\" \\"google com\\",\n \\"total requests\\" \\"1468\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "zlwis3fierpjhpe0qs l4", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "idmdrum0ffnm0hkn63j i", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "r4tk9lwgbhewupeqw5sg4" }, "examples" { "languages" \[ { "id" "l4 k25cdtj j8nk53qqkq", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/total nx domain' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "1apytm5 cod7fznxz0wq9", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/total nx domain',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start datetime\\" \\"string\\",\\"end datetime\\" \\"string\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "fhusdmy2fh6pxstjscolw", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/total nx domain\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "ta 1klyeb38j51rpu92ti", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/total nx domain\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "axzaxbrd g6ehr0p vk9z", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/total nx domain\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end datetime\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "l4 k25cdtj j8nk53qqkq" }, "description" "gets the total number of nx requests by domain for customer in a period of time sorted by domains with more requests", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/traffic hourly", "name" "by time slot", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start date", "type" "string", "description" "report lower limit, format y m d" }, { "kind" "required", "name" "end date", "type" "string", "description" "report upper limit, format y m d" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "qrsd8iza8scg97r ehh0j", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"by time slot\\",\n \\"items graph\\" \\"http //graph fsflt net/line?rnd=586548\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=orange\&hidelblx=0\&fontsize=9\&breaklabel=0\&limitchar=16\&arrayval=15+12am%7c0%3b15+1am%7c0%3b15+2am%7c0%3b15+3am%7c0%3b15+4am%7c0%3b15+5am%7c0%3b15+6am%7c0%3b15+7am%7c0%3b15+8am%7c0%3b15+9am%7c0%3b15+10am%7c0%3b15+11am%7c0%3b15+12pm%7c0%3b15+1pm%7c0%3b15+2pm%7c0%3b15+3pm%7c0%3b15+4pm%7c0%3b15+5pm%7c0%3b15+6pm%7c0%3b15+7pm%7c0%3b15+8pm%7c0%3b15+9pm%7c0%3b15+10pm%7c0%3b15+11pm%7c0%3b16+12am%7c0%3b16+1am%7c0%3b16+2am%7c0%3b16+3am%7c0%3b16+4am%7c0%3b16+5am%7c0%3b16+6am%7c11301\\",\n \\"result\\" \[\n {\n \\"hour\\" \\"19 6am\\",\n \\"total requests\\" \\"14073\\"\n },\n {\n \\"hour\\" \\"19 7am\\",\n \\"total requests\\" \\"46707\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" " mrprtggm9atvgk9mnst1", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "j4ttjxghxmgzhbz i85cv", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "qrsd8iza8scg97r ehh0j" }, "examples" { "languages" \[ { "id" "7toismbagh2vjaevnnlgc", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/traffic hourly' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start date\\" \\"string\\",\\"end date\\" \\"string\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "6rr mqhr7pdhocdqxrjlb", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/traffic hourly',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start date\\" \\"string\\",\\"end date\\" \\"string\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "o5 1ztcar6q nyki4 dj", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/traffic hourly\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "imbb5oqxi1qg9osakaciz", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/traffic hourly\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "2hex2vzokuclmq1m oj q", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/traffic hourly\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "7toismbagh2vjaevnnlgc" }, "description" "gets the traffic hourly (allowed and blocked) for customer in a period of time", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/traffic daily", "name" "by day", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start date", "type" "string", "description" "report lower limit, format y m d" }, { "kind" "required", "name" "end date", "type" "string", "description" "report upper limit, format y m d" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "98lutieqcg5xxy9kva26f", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"by day\\",\n \\"items graph\\" \\"http //graph fsflt net/line?rnd=514836\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=orange\&hidelblx=0\&fontsize=9\&breaklabel=0\&limitchar=16\&arrayval=11%2f15%7c0%3b11%2f16%7c1954912%3b11%2f17%7c110868%3b11%2f18%7c0%3b11%2f19%7c56271%3b11%2f20%7c0\\",\n \\"result\\" \[\n {\n \\"day\\" \\"11/15\\",\n \\"total requests\\" \\"0\\"\n },\n {\n \\"day\\" \\"11/16\\",\n \\"total requests\\" \\"1954912\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "kkgyx237 bqqcxfycikxb", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "mohozoonpmqf9p uvrzqq", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "98lutieqcg5xxy9kva26f" }, "examples" { "languages" \[ { "id" "cccailuqbuxnsbh2vxekq", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/traffic daily' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start date\\" \\"string\\",\\"end date\\" \\"string\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "u4rop scoo9pp8spwofb2", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/traffic daily',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start date\\" \\"string\\",\\"end date\\" \\"string\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "dvjqc8zrn udg5y8uwrth", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/traffic daily\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "ayhc prazzlewzpdawplj", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/traffic daily\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" " cvjbttysxbxve6tlgk8r", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/traffic daily\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "cccailuqbuxnsbh2vxekq" }, "description" "gets the traffic daily (allowed and blocked) for customer in a period of time", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "tab" "request", "url" "https //api fsflt net/report/traffic reports/traffic weekly", "name" "for weekday", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "x api key", "type" "string", "description" "api key for authorization" } ], "bodydataparameters" \[ { "kind" "required", "name" "customer code", "type" "number", "description" "customer code" }, { "kind" "required", "name" "start date", "type" "string", "description" "report lower limit, format y m d" }, { "kind" "required", "name" "end date", "type" "string", "description" "report upper limit, format y m d" }, { "kind" "optional", "name" "profile code", "type" "number", "description" "only search for profile, defaults to all\nsee panel/profiles/list for profiles list" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "k koa3kkijvqzz0rdukgq", "code" "{\n \\"code\\" 200,\n \\"content\\" {\n \\"title\\" \\"for weekday\\",\n \\"items graph\\" \\"http //graph fsflt net/line?rnd=855625\&typefs=4\&maxwi=958\&maxhe=200\&barwi=60\&barstyle=orange\&hidelblx=0\&fontsize=9\&breaklabel=0\&limitchar=16\&arrayval=monday%7c0%3btuesday%7c2113032%3bwednesday%7c124064%3bthursday%7c0%3bfriday%7c60780%3bsaturday%7c0\\",\n \\"result\\" \[\n {\n \\"day\\" \\"monday\\",\n \\"total requests\\" \\"0\\"\n },\n {\n \\"day\\" \\"tuesday\\",\n \\"total requests\\" \\"2113032\\"\n },\n ]\n }\n}\n", "language" "200" }, { "id" "oro3hgudvburn3przdwsm", "code" "{\r\n \\"message\\" \\"invalid token or unauthorized admin\\"\r\n}", "language" "401" }, { "id" "ek4aqflb1vn6zvffbxkwc", "code" "{\r\n \\"code\\" 500,\r\n \\"message\\" \\"the given data was invalid \\",\r\n \\"errors\\" {\r\n \\"profile code\\" \[\r\n \\"profile not found, please connect to profiles/list for the list\\"\r\n ]\r\n }\r\n}", "language" "500" } ], "selectedlanguageid" "k koa3kkijvqzz0rdukgq" }, "examples" { "languages" \[ { "id" "8jblfj3p1fhv6hnbvfcjs", "language" "curl", "code" "curl location request get 'https //api fsflt net/report/traffic reports/traffic weekly' \\\\\n header 'x api key string' \\\\\n data '{\\"customer code\\" \\"number\\",\\"start date\\" \\"string\\",\\"end date\\" \\"string\\",\\"profile code\\" \\"number\\"}'", "customlabel" "" }, { "id" "zlmc sx5k525e355cjxop", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api fsflt net/report/traffic reports/traffic weekly',\n 'headers' {\n 'x api key' 'string'\n },\n body '{\\"customer code\\" \\"number\\",\\"start date\\" \\"string\\",\\"end date\\" \\"string\\",\\"profile code\\" \\"number\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "mg2k6fyjcbc mye5o aqj", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"x api key\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\";\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"https //api fsflt net/report/traffic reports/traffic weekly\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "cwvy6tmnf0chkhogkki7i", "language" "python", "code" "import requests\n\nurl = \\"https //api fsflt net/report/traffic reports/traffic weekly\\"\n\npayload = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\nheaders = {\n 'x api key' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "rjhxt2wvvhnqo x6q5k5m", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api fsflt net/report/traffic reports/traffic weekly\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"x api key\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"customer code\\\\\\" \\\\\\"number\\\\\\",\\\\\\"start date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"end date\\\\\\" \\\\\\"string\\\\\\",\\\\\\"profile code\\\\\\" \\\\\\"number\\\\\\"}\\"\n\nresponse = https request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "8jblfj3p1fhv6hnbvfcjs" }, "description" "gets the traffic weekly (allowed and blocked) for customer in a period of time", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } }