This operation enables you to query metadata based on custom query conditions. The query conditions support the AND and OR relationships between metadata fields, making the query more flexible, complex, and accurate.
The Query Metadata page is displayed.
Parameter |
Description |
|---|---|
Name |
Indicates the name of a file or object, excluding the path. |
Owning Account |
Indicates the name of the account to which the file or object belongs. |
Namespace |
Indicates the namespace to which a file or object belongs. |
Path |
Indicates the path of a file, object, or directory. |
Type |
Indicates the type of a file or directory.
|
Size |
Indicates the size of a file or object. Unit: byte |
Last Modified |
Time when a file or an object was last modified. |
Created |
Indicates the time when a file or object is created. |
ID of Owning UNIX User |
Indicates the UNIX user ID when the NFS protocol is used. |
ID of Owning UNIX User Group |
Indicates the UNIX user group ID when the NFS protocol is used. |
Extended File Attribute |
Indicates the xattr attribute of a file. You can use the xattr API to set the custom metadata of a file. This condition is used to query the file list by custom metadata. |
Custom Object Metadata |
Indicates the custom object metadata. When uploading an object, you can customize the metadata header of the object. This condition is used to query the object list by custom metadata. |
Custom Tag |
Indicates the custom label of an object. |
to remove an unnecessary condition.A maximum of 10,000 results can be queried.