API Agreement

Overview

  • Request protocol: HTTP/HTTPS.
  • Request method: by default, GET is used to request and commit data, 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 mwcloud-sid=xxxxxxxxx and mwcloud-uid=xxxxxxxxx in cookies

Example Response

The JSON formatted data is as follows. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. The status 0 indicates a successful request, otherwise the request is failed.

{
  "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 ""