Help Center> Elastic Volume Service> API Reference> API v2> EVS Tag> Obtaining All Tags of an EVS Resource Type

Obtaining All Tags of an EVS Resource Type

Function

This API is used to obtain all tags of an EVS resource type.

Constraints

None

URI

  • URI format

    GET /v2/{project_id}/cloudvolumes/tags

  • Parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Specifies the project ID.

    For details about how to obtain the project ID, see Obtaining a Project ID.

Request

None

Response

  • Parameter description

    Parameter

    Type

    Description

    tags

    Object

    Specifies the tag information about all EVS disks.

  • Example response
    {
        "tags": {
            "key_0": [
                "value_0"
            ], 
            "key_1": [
                "value_1", 
                "value_2", 
                "value_3", 
                "value_4"
            ]
        }
    }

Status Codes

  • Normal

    200

Error Codes

For details, see Error Codes.