System

Check daemon availability and connectivity

get

/system/ping

Responses
curl -L \
  --url 'http://localhost/v2/system/ping'
{
  "additionalInfo": "text"
}

Get FLECS core and API version

get

/system/version

Responses
curl -L \
  --url 'http://localhost/v2/system/version'
{
  "api": "2.0.0",
  "core": "v2.0.0-???"
}

Get architecture and operating system information

get

/system/info

Responses
curl -L \
  --url 'http://localhost/v2/system/info'
{
  "arch": "amd64",
  "distro": {
    "codename": "bookworm",
    "id": "debian",
    "name": "Debian GNU/Linux 12 (bookworm)",
    "version": "12"
  },
  "kernel": {
    "build": "text",
    "machine": "x86_64",
    "version": "6.7.6-arch1-1"
  },
  "platform": "text"
}

Last updated

Was this helpful?