API Agreement

Overview

  • Request protocol: HTTP/HTTPs
  • Request mode: by default, GET is used to request data and commit, and POST is used to upload a file.
  • Request URL: http://ip[:port]/xxx?param1=value1&param2=value2...
  • Return data format: when the status code is 200, it returns JSON data, otherwise it returns HTTP status codes.
  • Login authentication: carry sid=xxxxxxxxx and mwcloud-uid=xxxxxxxxx in cookies

Example Response

The result codes are as follows.

The JSON formatted data is as follows.

{
  "remote-ip": "127.0.0.1:33172",
  "result": 0,
  "status": {
    "system-info": {
      "date-time": 1634882136,
      "cloud-version": "1.1.22535"
    }
  ...
  }
  ...
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""