console
console.tenant.list
Get a list of the tenants.
Request parameters
Key | JSON data type | Required | Description |
- | - | - | - |
WIP
Response parameters
JSON key result contains an array of JSON objects. Each object contains a search result.
Key | JSON data type | Description |
success | Boolean | Should always be true |
output | String | Table with available tenants |
Example
| {
"version": "2.0",
"method": "console.tenant.list",
"params": {
"apikey": "xxx",
"language": "en"
},
"id": 1
}
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | {
"id": 1,
"jsonrpc": "2.0",
"result": {
"success": true,
"output": [
"Available tenants:",
"+----+---------------+------------------+--------------------------+----------+",
"| ID | Title | (host:port) | database | [status] |",
"+----+---------------+------------------+--------------------------+----------+",
"| 1 | KnowledgeBase | (localhost:3306) | idoit_data_KnowledgeBase | active |",
"+----+---------------+------------------+--------------------------+----------+",
""
]
}
}
|