All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeSessionList

Last Updated:Oct 23, 2024

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

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.

Dataobject

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.