Skip to content
Belikhun edited this page Jan 22, 2019 · 2 revisions

/status - Lấy thông tin tình trạng máy chủ

HTTP/1.1 GET /api/status

  • Permission: everyone

  • Require Logged In: false

  • Lưu ý: API này chưa được hoàn thành

Success 200:

Field Type Description
version string Phiên bản

Example:

{
  "code": 0,
  "status": 200,
  "description": "Server Normal",
  "user": null,
  "data": {
    "version": "0.3.7",
    "SERVER_SOFTWARE": "Apache",
    "SERVER_ADDR": "::1",
    "SERVER_PROTOCOL": "HTTP/1.1",
    "HTTP_USER_AGENT": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36",
    "REMOTE_ADDR": "::1"
  },
  "runtime": 0.003901958465576172
}

Clone this wiki locally