Return remote MySQL host notes

This function returns the notes associated with the account's remote MySQL® hosts.

Important:

When you disable the MySQL/MariaDB role and remote MySQL is not already configured, the system disables this function.

Authorizations:

Responses

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object

Request samples

uapi --user=username Mysql get_host_notes

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "get_host_notes",
  • "module": "Mysql",
  • "result": {
    • "data": {
      • "1.2.3.45": "The combination on my luggage",
      • "12.34.56.78": "Located somewhere in the Ford Galaxy",
      • "8.8.8.8": "Located on Spaceball 1"
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}