All Products
Search
Document Center

PolarDB:DescribeFileSystems

Last Updated:Nov 05, 2026

Queries the file information under a specified path of a PolarFS instance and uses a pagination token to retrieve subsequent results.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

PolarFsInstanceId

string

Yes

The ID of the PolarFS instance to query.

pfs-2ze0i74ka607*****

MaxResults

integer

No

The maximum number of records to return for each request.

10

NextToken

string

No

The pagination token returned from the previous query to retrieve the next page.

token123

FileSystemId

string

No

The absolute path of the directory to query. If you do not specify this parameter, the default path is used.

/test

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

2921D843-433A-5FB3-A03B-4EC093B219F8

MaxResults

integer

The maximum number of records returned for this request.

10

NextToken

string

The pagination token for the next page.

nextToken456

FileCount

integer

The total number of files that meet the specified conditions.

100

FileSystemId

string

The ID of the file system.

fs-123

BucketId

string

The ID of the bucket.

bucket-456

IsTruncated

boolean

Indicates whether the results are truncated. If the value is true, you can use NextToken to query subsequent results.

FileSystems

array<object>

The list of files.

object

FileName

string

The name of the file.

test.txt

Capacity

string

The capacity of the file.

100GB

StorageType

string

The storage type of the file.

SSD

LastModified

string

The time when the file was last modified. The time is in the RFC 3339 UTC format.

2025-03-25T09:37:10Z

Examples

Success response

JSON format

{
  "RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
  "MaxResults": 10,
  "NextToken": "nextToken456",
  "FileCount": 100,
  "FileSystemId": "fs-123",
  "BucketId": "bucket-456",
  "IsTruncated": false,
  "FileSystems": [
    {
      "FileName": "test.txt",
      "Capacity": "100GB",
      "StorageType": "SSD",
      "LastModified": "2025-03-25T09:37:10Z"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.