GET /v1/sessions/:id{
"data": {
"attributes": {
"client": {
"cipher": ""
},
"connected": "Thu Jul 20 15:20:16 2023",
"connections": [
{
"cipher": "",
"connection_id": 9,
"server": "server1"
},
{
"cipher": "",
"connection_id": 9,
"server": "server2"
}
],
"idle": 0.0,
"log": [],
"parameters": {
"log_error": false,
"log_info": false,
"log_notice": false,
"log_warning": false
},
"port": 43050,
"queries": [],
"remote": "::ffff:127.0.0.1",
"state": "Session started",
"user": "maxuser"
},
"id": "1",
"links": {
"self": "http://localhost:8989/v1/sessions/1/"
},
"relationships": {
"services": {
"data": [
{
"id": "RW-Split-Router",
"type": "services"
}
],
"links": {
"related": "http://localhost:8989/v1/services/",
"self": "http://localhost:8989/v1/sessions/1/relationships/services/"
}
}
},
"type": "sessions"
},
"links": {
"self": "http://localhost:8989/v1/sessions/1/"
}
}GET /v1/sessions{
"data": [
{
"attributes": {
"client": {
"cipher": ""
},
"connected": "Thu Jul 20 15:20:16 2023",
"connections": [
{
"cipher": "",
"connection_id": 9,
"server": "server1"
},
{
"cipher": "",
"connection_id": 9,
"server": "server2"
}
],
"idle": 0.0,
"log": [],
"parameters": {
"log_error": false,
"log_info": false,
"log_notice": false,
"log_warning": false
},
"port": 43050,
"queries": [],
"remote": "::ffff:127.0.0.1",
"state": "Session started",
"user": "maxuser"
},
"id": "1",
"links": {
"self": "http://localhost:8989/v1/sessions/1/"
},
"relationships": {
"services": {
"data": [
{
"id": "RW-Split-Router",
"type": "services"
}
],
"links": {
"related": "http://localhost:8989/v1/services/",
"self": "http://localhost:8989/v1/sessions/1/relationships/services/"
}
}
},
"type": "sessions"
}
],
"links": {
"self": "http://localhost:8989/v1/sessions/"
}
}PATCH /v1/sessions/:id{
"data": {
"attributes": {
"parameters": {
"log_info": true
}
}
}
}{
"data": {
"attributes": {
"relationships": {
"filters": {
"data": [
{ "id": "my-cache-filter" },
{ "id": "my-log-filter" }
]
}
}
}
}
}