Commit graph

16 commits

Author SHA1 Message Date
Alfredo Cardigliano
3b32c3acd4 Update REST examples 2020-08-28 16:41:40 +02:00
Alfredo Cardigliano
ba2e44ddc6 REST endpoints now return specific HTTP codes on failure (fix #4278) 2020-08-20 11:45:17 +02:00
Simone Mainardi
473b90e9ae Fixes certain API calls using old rest_utils consts
Fixes #4312
2020-08-19 17:16:28 +02:00
Alfredo Cardigliano
1160066b08 Add logging for all non-get REST calls (fix #4279) 2020-08-14 12:02:09 +02:00
Luca Deri
d62303cc23 Added REST call to list all users rest/v1/get/ntopng/users.lua
Added specific error in case an existing user is already existing (REST API rest/v1/add/ntopng/user.lua)
2020-08-07 18:03:34 +02:00
Alfredo Cardigliano
375be89b81 Add REST Endpoint for deleting users (implement #4219( 2020-07-30 11:25:20 +02:00
Simone Mainardi
b1edce1894 Implement REST endpoint to add host pools
Implements #4133
2020-07-14 17:36:08 +02:00
Simone Mainardi
b62fc9de77 Implements RESTful API to get/add/edit/delete active monitoring pools 2020-07-08 18:07:40 +02:00
Simone Mainardi
a96a1b8037 Optimization of snmp_device_pools.lua 2020-07-08 17:17:57 +02:00
Simone Mainardi
2a8b8335a2 Implements RESTful API to get/add/edit/delete local network pools 2020-07-08 16:45:55 +02:00
Simone Mainardi
83e2b10953 Implements pools_rest_utils.lua with common RESTful API functions 2020-07-08 16:34:09 +02:00
Simone Mainardi
53e440c0f7 Allows pool members to be created/edited with zero members 2020-07-08 15:19:21 +02:00
gabryon99
9f05bde6b5 add interface pool page 2020-07-08 11:03:21 +02:00
Simone Mainardi
62c35e82ec Implements RESTful delete of interface pools and members
Implements #4108
2020-07-06 13:06:01 +02:00
Simone Mainardi
ca1a011c2b Implements RESTful addition of interface pools and members 2020-07-06 12:38:39 +02:00
Simone Mainardi
78d2571e0f Adds REST stubs for the addition of pools
Addresses #4140
2020-07-03 14:03:34 +02:00