diff --git a/Documentation/REST-API/Resources-Server.md b/Documentation/REST-API/Resources-Server.md index d3f939097..a7056c0b9 100644 --- a/Documentation/REST-API/Resources-Server.md +++ b/Documentation/REST-API/Resources-Server.md @@ -241,6 +241,10 @@ least the following fields. * `data.type` * Type of the object, must be `servers` +* `data.attributes.parameters.protocol` + * The [`protocol`](../Getting-Started/Configuration-Guide.md#protocol) to use. + Must be defined. + * `data.attributes.parameters.address` OR `data.attributes.parameters.socket` * The [`address`](../Getting-Started/Configuration-Guide.md#address) or [`socket`](../Getting-Started/Configuration-Guide.md#socket) to use. Only @@ -250,7 +254,6 @@ least the following fields. * The [`port`](../Getting-Started/Configuration-Guide.md#port) to use. Needs to be defined if the `address` field is defined. - The following is the minimal required JSON object for defining a new server. ```javascript diff --git a/Documentation/Release-Notes/MaxScale-2.4.0-Release-Notes.md b/Documentation/Release-Notes/MaxScale-2.4.0-Release-Notes.md index 33148302e..f6f5a0776 100644 --- a/Documentation/Release-Notes/MaxScale-2.4.0-Release-Notes.md +++ b/Documentation/Release-Notes/MaxScale-2.4.0-Release-Notes.md @@ -45,6 +45,12 @@ improvement over the older MD5 hashing algorithm. New users will use the stronger algorithm but old users will continue using the weaker one. To upgrade administrative users, recreate the user. +### REST API - Server creation + +The `protocol` parameter must now always be defined when a server is +created. The previously undocumented default value of `mariadbbackend` now must +be explicitly defined when a server is created via the REST API. + ## Dropped Features ### `debugcli` and `telnetd`