Skip to content
phachon edited this page Jun 6, 2018 · 1 revision

System Api

1.System Index

  • Path: /system/index (/)
  • Request: HTTP
  • Method: GET
  • Auth Token: false
  • Params:
  • Success:
{
    "code": 1,
    "message": "success",
    "data": {
         "version": "v0.1"
     }
}

2.System Reload

reload wmqx: restart init all message and redeclare all consumer to rabbitmq

  • Path: /system/reload?
  • Request: HTTP
  • Method: GET
  • Auth Token: true -> How to pass token?
  • Params:
  • Success:
{
    "code": 1,
    "message": "success",
    "data": {}
}
  • Failed:
{
    "code": 0,
    "message": "error",
    "data": {}
}
Clone this wiki locally