Help Center/ Elastic Volume Service/ API Reference (Paris Region)/ APIs/ Tag Management/ Obtaining All Tags of an EVS Resource Type
Updated on 2024-03-26 GMT+08:00

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}/os-vendor-tags/{resource_type}

  • Parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    The project ID.

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

Request

None

Response

  • Response parameters

    Parameter

    Type

    Description

    tags

    Object

    The tag information of all 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.