Session Action
Request
1. GET /rest/v1/session
Description
Session Action is used to obtain the current session information.
Path parameters
None
Query parameters
None
Request body
None
Response
1. {
2. "msg": "success",
3. "code": 0,
4. "data": {
5. "column_names": ["Id", "User", "Host", "Cluster", "Db", "Command", "Time", "State", "Info"],
6. "rows": [{
7. "User": "root",
8. "Command": "Sleep",
9. "State": "",
10. "Cluster": "default_cluster",
11. "Host": "10.81.85.89:31465",
12. "Time": "230",
13. "Id": "0",
14. "Info": "",
15. "Db": "db1"
16. }]
17. },
18. "count": 2
19. }
The returned result is the same as System Action. Is a description of the table.
