Replies: 1 comment
-
Rather than creating separate endpoints for each, we could probably just add an optional parameter to the existing endpoint limit the scope of the endpoint to Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey I wonder if we split /api/v1/status/openvpn into 3:
/api/v1/status/openvpn/server
/api/v1/status/openvpn/p2p_servers
/api/v1/status/openvpn/clients
then would it be possible to query that endpoint for server port and conn like :
{"port": "11090", "conn__common_name": "username"}
with only 2 servers and one conected user the response is 1KB but for example with 300 servers and 1000 conns the response will be very big(around 1MB). I only need to fast check if user is connected (no need to transfer so much data), and only periodicly gather all info.
Beta Was this translation helpful? Give feedback.
All reactions