Document Database Service

Query the O&M task type of the instance and the number of tasks of each type

2025-07-24 09:16:51
API Introduction

Call the describeOperationTaskType API to query the O&M task type of the instance and the number of tasks of each type.

API Restrictions

None

URI
GET  /v1/eventManageOpenApi/describeOperationTaskType

Path Parameter

None

Query Parameter

None

Request Parameters

Request Header Parameter

None

Request Body Parameter

None

Response Parameter

Parameter

Required or Not

Parameter Type

Description

Example

Lower-level Object

statusCode

Yes

Integer

Response Code

Value range: 800 indicates success, 900 indicates failure

800


message

Yes

String

Response information

The XXX information is queried successfully


returnObj

Yes

Object[]

Return object.


returnObj

Table returnObj

Parameter

Required or Not

Parameter Type

Description

Example

Lower-level Object

taskTypeInfoEn

Yes

String

Task type (English)

Console Upgrade


taskTypeInfoZh

Yes

String

Task type (Chinese)

Console upgrade


count

Yes

Integer

Number of pending tasks

1


eventType

Yes

Integer

A value of 0 indicates console upgrade



Sample Request

Request Header

None

Request Body

None

Response Example
{
    "statusCode": 800,
    "message": "the O&M task type of the instance and the number of tasks of each type are queried successfully",
    "returnObj": [
        {
            "taskTypeInfoEn": "Console Upgrade",
            "count": 2,
            "taskTypeInfoZh": "Console upgrade",
            "eventType": 0
        }
    ]
}
Status Code

Status Code

Description

800

Indicate that the request succeeded

900

Indicates that the request failed

Error Codes

None


fDV4VwtOt95T