1
0
forked from docs/doc-exports
doc-exports/docs/evs/api-ref/evs_04_2031.html
zhangyue ccbf63b495 EVS API DOC
Reviewed-by: Muller, Martin <martin.muller@t-systems.com>
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2024-05-16 09:08:21 +00:00

7.1 KiB

Querying Tags of an EVS Disk

Function

This API is used to query the tags of the specified EVS disk.

Constraints

None

URI

  • URI format

    GET /v2/{project_id}/os-vendor-volumes/{volume_id}/tags

  • Parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Specifies the project ID.

    volume_id

    Yes

    Specifies the disk ID.

Request

None

Response

  • Parameter description

    Parameter

    Type

    Description

    tags

    List<resource_tag>

    Specifies the tag list. For details, see Parameters in the tags field.

  • Parameters in the tags field

    Parameter

    Type

    Description

    key

    String

    Specifies the tag key.

    value

    String

    Specifies the tag value.

  • Example response
    {
        "tags": [
            {
                "value": "value1", 
                "key": "key1"
            }, 
            {
                "value": "value2", 
                "key": "key2"
            }
        ]
    }

Status Codes

  • Normal

    200

Error Codes

For details, see Error Codes.