Alfredo Cardigliano
d4979f8c87
Fix rest/v1/get/interface/l7/stats.lua example
2020-08-25 15:39:01 +02:00
Alfredo Cardigliano
0eaf407514
Example fix
2020-08-25 15:27:35 +02:00
Alfredo Cardigliano
ba2e44ddc6
REST endpoints now return specific HTTP codes on failure ( fix #4278 )
2020-08-20 11:45:17 +02:00
Alfredo Cardigliano
646c5a8d68
Add support for returning HTTP status codes to rest_utils
2020-08-20 10:28:18 +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
8a0525702e
Update internal rest api
2020-08-18 11:48:15 +02:00
Alfredo Cardigliano
65acfacccd
Add REST endpoint for name resolution
2020-08-18 11:38:11 +02:00
Simone Mainardi
16db3cda67
Reworks REST API to return i18n success/error messages
...
Implements #4300
2020-08-17 19:18:16 +02:00
Alfredo Cardigliano
b65154289e
Improve rest/v1/edit/ntopng/user.lua endpoint
2020-08-17 16:46:53 +02:00
Luca Deri
f0ade98875
Merge pull request #4302 from WuerthPhoenix/add_rest_api_to_update_user
...
Add edit user endpoint
2020-08-16 10:14:49 +02:00
Mattia Codato
d9a762feca
Add edit user endpoint
2020-08-14 12:25:36 +02:00
Alfredo Cardigliano
1160066b08
Add logging for all non-get REST calls ( fix #4279 )
2020-08-14 12:02:09 +02:00
Alfredo Cardigliano
628bdd8994
Add tracing of rest set calls
2020-08-13 16:08:25 +02:00
Alfredo Cardigliano
76b740c2b4
Add more flow details (verbose param)
2020-08-11 11:04:44 +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
0c5de96a44
New lua API ntop.createUserSession. New REST API rest/v1/get/ntopng/session.lua to generate session cookies.
2020-07-30 18:08:03 +02:00
Alfredo Cardigliano
375be89b81
Add REST Endpoint for deleting users (implement #4219(
2020-07-30 11:25:20 +02:00
Alfredo Cardigliano
da74202e94
Add dscp info to raw flows
2020-07-21 15:07:32 +02:00
Ronald Henderson
356bfcdedc
Added rest script for custom host data with docs and test scripts ( #4186 )
...
Co-authored-by: root <root@vortex.rwh.shop>
2020-07-21 08:43:39 +02:00
Alfredo Cardigliano
8b4f1c7e07
Add rest endpoint to get interface dscp stats
2020-07-20 17:35:03 +02:00
Alfredo Cardigliano
9fd37cccea
Add rest endpoint to get host dscp stats
2020-07-20 16:35:50 +02:00
Simone Mainardi
aa99b6be61
Implement REST endpoint to get host pool members
2020-07-17 12:55:31 +02:00
Alfredo Cardigliano
a1d9fd3695
Check privileges in rest set
2020-07-16 18:45:58 +02:00
Simone Mainardi
c623f21ba0
Refactors old host_pools_utils to nEdge-only host_pools_nedge
2020-07-16 18:17:19 +02:00
Alfredo Cardigliano
50de4d435a
REST API to set the host alias ( #4145 )
2020-07-16 09:53:24 +02:00
Simone Mainardi
31715e65d2
Implements REST endpoint to check host pool members before bind
...
Implements #4138
2020-07-15 16:02:08 +02:00
Simone Mainardi
6638f66543
Implements REST endpoint to bind host pool members
...
Implements #4136
2020-07-15 11:45:13 +02:00
Simone Mainardi
06aa7097d6
Implements REST endpoint to get host pools
...
Implements #4139
2020-07-14 18:04:02 +02:00
Simone Mainardi
e88a16f3df
Implements REST endpoint to delete host pools
...
Implements #4135
2020-07-14 17:47:27 +02:00
Simone Mainardi
34bb894d15
Implements REST endpoint to edit host pools
...
Implements #4134
2020-07-14 17:43:11 +02:00
Simone Mainardi
b1edce1894
Implement REST endpoint to add host pools
...
Implements #4133
2020-07-14 17:36:08 +02:00
Simone Mainardi
9a8b77e0d7
Allows RESTful api custom_data.lua to accept fields without alias
2020-07-10 10:20:28 +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
46968ab42f
Initial implementation of custom_data.lua host rest endpoint
2020-07-07 15:34:42 +02:00
Luca Deri
643e78f8d5
Implements most of #4113
...
- Removed unused google assistant scripts
- Cleaned up existing REST calls using _POST["payload"]
The _GET["parameter"] element is still present and it will be removed soon
2020-07-06 18:06:40 +02:00
Simone Mainardi
aab7051810
Implements RESTful getters for interface pools and members
...
Implements #4109
2020-07-06 14:22:24 +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
519fec5f94
Implements RESTful edit of interface pools and members
...
Implements #4107
2020-07-06 12:57:01 +02:00
Simone Mainardi
ca1a011c2b
Implements RESTful addition of interface pools and members
2020-07-06 12:38:39 +02:00
Simone Mainardi
fdb486e088
Adds stubs to delete pool members
...
Addresses #4108
2020-07-03 19:14:32 +02:00
Simone Mainardi
d541b4dc03
Adds stubs to edit pool members
...
Addresses #4107
2020-07-03 19:11:29 +02:00
Simone Mainardi
78d2571e0f
Adds REST stubs for the addition of pools
...
Addresses #4140
2020-07-03 14:03:34 +02:00
Simone Mainardi
5ade224d85
Implements global host pools
...
Implements #4086
Refactors host pools to global
Implements host pools migration
Migration fixes
nEdge changes for host pools migration
Create README.host_pools_migration.md
2020-07-01 12:02:09 +02:00
Simone Mainardi
2d0b3f1a55
Implements REST API endpoint to get all ntopng active interfaces
...
Implements #4082
2020-06-25 19:28:48 +02:00
Alfredo Cardigliano
63dc081b1b
Fix host key to name ( fix #4049 )
2020-06-16 10:37:41 +02:00