Skip to content

Server

httpkom.server

server_info() async

Get information about the LysKOM server.

Request:

GET /<server_id>/server/info HTTP/1.1

Response:

HTTP/1.1 200 OK

{
  "version": "2.1.2",
  "conf_pres_conf": 1,
  "pers_pres_conf": 2,
  "motd_conf": 3,
  "kom_news_conf": 4,
  "mot_of_day": 0
}

Example:

curl -v "http://localhost:5001/lyskom/server/info"