MXS-2483: Document REST API corrections
The protocol parameter must always be explicitly defined.
This commit is contained in:
		@ -241,6 +241,10 @@ least the following fields.
 | 
				
			|||||||
* `data.type`
 | 
					* `data.type`
 | 
				
			||||||
  * Type of the object, must be `servers`
 | 
					  * 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`
 | 
					* `data.attributes.parameters.address` OR `data.attributes.parameters.socket`
 | 
				
			||||||
  * The [`address`](../Getting-Started/Configuration-Guide.md#address) or
 | 
					  * The [`address`](../Getting-Started/Configuration-Guide.md#address) or
 | 
				
			||||||
    [`socket`](../Getting-Started/Configuration-Guide.md#socket) to use. Only
 | 
					    [`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
 | 
					  * The [`port`](../Getting-Started/Configuration-Guide.md#port) to use. Needs
 | 
				
			||||||
    to be defined if the `address` field is defined.
 | 
					    to be defined if the `address` field is defined.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
The following is the minimal required JSON object for defining a new server.
 | 
					The following is the minimal required JSON object for defining a new server.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```javascript
 | 
					```javascript
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
					stronger algorithm but old users will continue using the weaker one. To upgrade
 | 
				
			||||||
administrative users, recreate the user.
 | 
					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
 | 
					## Dropped Features
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### `debugcli` and `telnetd`
 | 
					### `debugcli` and `telnetd`
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user