Validate system connection settings before saving. The format of the body contains only the connection details and does not match the normal system object.
Definition
POST https://CLUSTER.DOMAIN/listener/appservices/systems/validate HTTP/1.1
Example Request
curl \
-H "Content-Type: application/json" \
-H "Authorization: Bearer TOKEN" \
-X POST \
-d '{
"system_type": "hbase",
"host": "myhbase.host",
"port": "2181",
"node": "/mynode",
"username": "username",
"password": "password"
}' \
-i \
https://CLUSTER.DOMAIN/listener/appservices/systems/validate
Example Response
HTTP/1.1 200 OK Content-Type: application/json
Response Codes
Code | Description |
---|---|
200 | System is valid. |
400 | Required property missing from request. |
401 | Authorization header not found. |
404 | Resource not found. |