This chapter explains the different APIs available to third party servers
This method responds an HTML page with general information about the running server like number of connections, number of process running...
This method is used to check if the server is available or not. Is designed to be used by load balancers when the server is under maintance.
The server will responde 200 (OK) if the server is enabled or 503 (Under Maintance).
To set the server into maintance mode (tell the load balancer that the server is not available) is needed to send a SIGUSR1 signal to the proccess:
kill -SIGUSR1 <pid>
To set the server into normal mode (tell the load balancer that the server is available) is needed to send a SIGUSR2 signal to the proccess:
kill -SIGUSR2 <pid>
With this API the Application server is able to update version number to specified channel.
This is a simple HTTP API (PUT method).
This version accepts only one HTTP PUT method used to update version number
of a channel. The following payload SHALL be POSTED to the endpointURL:
https://server:port/v1/notify/SOME_RANDOM_TOKEN
version=<version_number>
and for desktop notifications:
body=<any text>[&ttl=<ttl>]
The server response can be one of the following: