All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeSessionList

Last Updated:Sep 12, 2024

You can call this operation to query sessions between the ApsaraDB for OceanBase and the application.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the OceanBase cluster.

ob317v4uif****
TenantIdstringYes

The ID of the tenant.

t4louaeei****

Response parameters

ParameterTypeDescriptionExample
object

The return result of the request.

RequestIdstring

The ID of the request.

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C
Dataarray<object>

The object information.

object

The return result.

SessionIdstring

The session ID of the proxy service.

d2c90ad0-bc54-410f-bb89-2dcf14aa3c6d
Hoststring

The address of the client, with the format ip:port.

192.***.**.100:80

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
  "Data": [
    {
      "SessionId": "d2c90ad0-bc54-410f-bb89-2dcf14aa3c6d",
      "Host": "192.***.**.100:80\n"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.