sftpgo-mirror/common
Nicola Murino 43182fc25e
OpenAPI: add users API
These new APIs match the web client features.

I'm aware that some API do not follow REST best practises.

I want to avoid things likes "/user/folders/<path>"

where "path" must be encoded and making it optional create issues, so
I defined resources as query parameters instead of path parameters
2021-06-05 16:07:09 +02:00
..
actions.go pre-upload action: add file open flags 2021-05-31 22:33:23 +02:00
actions_test.go add remote address to transfer and commands logs 2021-06-01 22:28:43 +02:00
clientsmap.go allow to limit the number of per-host connections 2021-05-08 19:45:21 +02:00
clientsmap_test.go allow to limit the number of per-host connections 2021-05-08 19:45:21 +02:00
common.go OpenAPI: add users API 2021-06-05 16:07:09 +02:00
common_test.go add remote address to transfer and commands logs 2021-06-01 22:28:43 +02:00
connection.go add remote address to transfer and commands logs 2021-06-01 22:28:43 +02:00
connection_test.go add remote address to transfer and commands logs 2021-06-01 22:28:43 +02:00
defender.go allow to limit the number of per-host connections 2021-05-08 19:45:21 +02:00
defender_test.go allow to limit the number of per-host connections 2021-05-08 19:45:21 +02:00
httpauth.go telemetry server: add optional https and authentication 2020-12-18 16:04:42 +01:00
httpauth_test.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
protocol_test.go OpenAPI: add users API 2021-06-05 16:07:09 +02:00
ratelimiter.go allow to limit the number of per-host connections 2021-05-08 19:45:21 +02:00
ratelimiter_test.go add rate limiting support for REST API/web admin too 2021-04-19 08:14:04 +02:00
tlsutils.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
tlsutils_test.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
transfer.go add remote address to transfer and commands logs 2021-06-01 22:28:43 +02:00
transfer_test.go add remote address to transfer and commands logs 2021-06-01 22:28:43 +02:00