This API is used to query information of all tags 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 ID of the shared file system. |
Parameter |
Type |
Description |
---|---|---|
tags |
List<resource_tag> |
Specifies the tag list. For details, see Description of field resource_tag. |
sys_tags |
List<resource_tag> |
Only the op_service permission can obtain this field.
This field cannot be returned in non-op_service scenarios. For details, see Description of field resource_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 |
Failed to complete the request, because of a service error. |