Document Database Service

Query the Binding Relationship Between an Instance and Tags

2025-07-25 07:01:41
API Introduction

Query the binding relationship between MongoDb instance and tag.

API Restrictions

None

URI
GET /v1/tagOpenApi/listTagResources

Path Parameter

None

Query Parameter

None

Request Parameters

Request Header Parameter

None

Response Parameter

Parameter

Required or Not

Parameter Type

Description


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

prodInstId

Yes

String

Instance ID.

e3d802458aa848b98f456

labelValue

Yes

String

Tag Value

001

labelKey

Yes

String

Tag Key

mongo

Sample Request

Request Header

None

Request parameter query

/v1/tagOpenApi/listTagResources
Response Example
{
    "statusCode": 800,
    "message": "the binding relationship between MongoDb instance and tag is queried successfully",
    "returnObj": [
        {
            "labelValue": "004",
            "prodInstId": "e3d802458aa848b98f45689f143761a8",
            "labelKey": "mongo"
        },
        {
            "labelValue": "007",
            "prodInstId": "f3687b55b1ce4cb1b781fb567b12ab0b",
            "labelKey": "mongo"
        }
    ]
}
Status Code

Status Code

Description

800

Indicate that the request succeeded

900

Indicates that the request failed

Error Codes

None


5h6lFqd1FGYW