Skip to main content

Endpoint

Returns detailed information about the system that Wings is running on, including Wings version, Docker configuration, container statistics, and hardware specifications.

Authentication

This endpoint requires authentication using a Bearer token in the Authorization header.

Query Parameters

string
API version for the response format. Use "2" to receive the full detailed response. Without this parameter, a simplified legacy response is returned.

Response Formats

When using ?v=2, the endpoint returns comprehensive system information:
string
The current Wings version (e.g., "develop" or "v1.11.0")
object
Docker-related information
object
Host system information

Legacy Response (Default)

Without the v query parameter, a simplified response is returned for backward compatibility:
string
System architecture (e.g., "amd64")
integer
Number of CPU threads available
string
Linux kernel version
string
Operating system type (e.g., "linux")
string
Wings version

Example Requests

Example Responses

Error Responses

Use Cases

Health Monitoring

This endpoint is useful for monitoring the health and status of your Wings installation:

Compatibility Checks

Verify that the system meets requirements before deploying servers:

Implementation Details

The system information is gathered from multiple sources:
  • Wings Version: Read from system.Version constant in system/const.go
  • Docker Information: Retrieved via Docker API using client.ServerVersion() and client.Info()
  • System Details: Collected using Go’s runtime package and /etc/os-release file
  • Kernel Version: Parsed from Docker’s kernel detection utilities
The endpoint returns live data from the system and Docker daemon. For frequently updated monitoring, consider caching responses appropriately to reduce load.