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.

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.