centralApi/relay return relay config (without api key of course)
centralApi/peerStats return peers stat like in the CLI
centralApi/sessionsList return sessions data, doesn't return unassigned server/privates/account
2 new CLI options :
--advertise "http://51.75.140.182:3000" Will do a post request on central server when it turns on/off
--centralapikey "apikey" Required to do post request on central API server / for Central API to do get request on relay (avoid stranger requesting data directly from relay
I will provide the API Key as it's generated when I add a server to the API
This PR add 3 endpoints for central API server
centralApi/relay
return relay config (without api key of course)centralApi/peerStats
return peers stat like in the CLIcentralApi/sessionsList
return sessions data, doesn't return unassigned server/privates/account2 new CLI options : --advertise "http://51.75.140.182:3000" Will do a post request on central server when it turns on/off --centralapikey "apikey" Required to do post request on central API server / for Central API to do get request on relay (avoid stranger requesting data directly from relay
I will provide the API Key as it's generated when I add a server to the API