Backends Action

Request

  1. GET /api/backends

Description

Backends Action returns the Backends list, including Backend’s IP, PORT and other information.

Path parameters

None

Query parameters

  • is_alive

    Optional parameters. Whether to return the surviving BE nodes. The default is false, which means that all BE nodes are returned.

Request body

None

Response

  1. {
  2. "msg": "success",
  3. "code": 0,
  4. "data": {
  5. "backends": [
  6. {
  7. "ip": "192.1.1.1",
  8. "http_port": 8040,
  9. "is_alive": true
  10. }
  11. ]
  12. },
  13. "count": 0
  14. }