Created
November 15, 2016 13:44
-
-
Save skord/8b4a7e9b18cab835cf490990012ee482 to your computer and use it in GitHub Desktop.
GET /server/1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"attributes": { | |
"current-no-of-conns": 1, | |
"current-no-of-operations": 0, | |
"id": 1, | |
"master-id": -1, | |
"node-id": 1, | |
"number-of-connections": 19, | |
"port": 3306, | |
"protocol": "MySQLBackend", | |
"repl-depth": "0", | |
"server": "mariadb1", | |
"server-version": "10.1.18-MariaDB", | |
"slave-ids": [ | |
2, | |
3, | |
4, | |
5 | |
], | |
"status": "Master, Running" | |
}, | |
"id": "1", | |
"links": { | |
"self": "/servers/1" | |
}, | |
"relationships": { | |
"slaves": { | |
"data": [ | |
{ | |
"id": "2", | |
"type": "servers" | |
}, | |
{ | |
"id": "3", | |
"type": "servers" | |
}, | |
{ | |
"id": "4", | |
"type": "servers" | |
}, | |
{ | |
"id": "5", | |
"type": "servers" | |
} | |
], | |
"links": { | |
"related": "/servers/1/slaves", | |
"self": "/servers/1/relationships/slaves" | |
} | |
} | |
}, | |
"type": "servers" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment