Queries whether a specified directory contains files stored in the IA storage medium or whether a specified file is stored in the IA storage medium.
Operation description
Only General-purpose NAS file systems support this operation.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FileSystemId | string | Yes | The ID of the file system. | 31a8e4**** |
Path | string | Yes | The absolute path of the directory. The path must start with a forward slash (/) and must be a path that exists in the mount target. | /pathway/to/folder |
Response parameters
Examples
Sample success responses
JSON
format
{
"Entry": {
"Type": "File",
"HasInfrequentAccessFile": true,
"MTime": "2021-02-11T10:08:08Z",
"ATime": "2021-02-01T10:08:08Z",
"Size": 1024,
"CTime": "2021-02-11T10:08:10Z",
"StorageType": "InfrequentAccess",
"Name": "file.txt",
"RetrieveTime": "2021-02-11T10:08:08Z",
"Inode": "40"
},
"RequestId": "2D69A58F-345C-4FDE-88E4-BF518948****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidFileSystem.NotFound | The specified file system does not exist. | The specified file system does not exist. |
404 | InvalidParameter.PathNotExist | The specified path does not exist. | The specified path does not exist. |
For a list of error codes, visit the Service error codes.