This API is used to query all tag information about the specified shared file system.
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID of the operator. |
share_id |
Yes |
String |
Specifies the share ID. |
Parameter |
Type |
Description |
|---|---|---|
tags |
Array of resource_tags |
Specifies the list of tags. |
sys_tags |
Array of resource_tags |
Only the op_service permission can obtain this field.
This field cannot be returned in non-op_service scenarios. |
Parameter |
Type |
Description |
|---|---|---|
key |
String |
Specifies the key of the tag. |
value |
String |
Specifies the value of the tag. |
{
"tags": [
{
"key": "key1",
"value": "value1"
},
{
"key": "key2",
"value": ""
}
]
}
Status Code |
Description |
|---|---|
400 Bad Request |
Invalid value. |
401 Unauthorized |
Authentication failed. |
403 Forbidden |
Access to the requested page is forbidden. |
404 Not Found |
The requested resource was not found. |
500 Internal Server Error |
The request is not completed because of a service error. |