Querying All Tags of a Tenant's Shared File Systems
Function
This API is used to query the tag set of a tenant's all shared file systems.
URI
- GET /v1/{project_id}/sfs-turbo/tags
- Parameter description
Parameter
Mandatory
Type
Description
project_id
Yes
String
Specifies the project ID of the operator. For details about how to obtain the project ID, see Obtaining a Project ID.
Response
- Parameter description
Parameter
Type
Description
tags
Array of tags
Specifies the tag list.
- Description of the tag field
Parameter
Type
Description
key
String
Specifies the key of the tag.
values
Array of strings
Lists the values of the tag. The value is a list of a tenant's all tag values of shared file systems. Only one of the same tag values is displayed.
- Example response
{ "tags" : [ { "key" : "key1", "values" : [ "value1", "" ] }, { "key" : "key2", "values" : [ "value1", "value2" ] } ] }
Status Codes
- Normal
- Abnormal
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.
Last Article: Batch Adding Tags to a Shared File System
Next Article: Permissions Policies and Supported Actions
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.