files.browse

API: Stable Auth: Users

Browses the contents of a directory.

Request Response Error
ResourceBrowseRequest<UFileIncludeFlags> PageV2<UFile> CommonErrorMessage

The results will be returned using the standard pagination API of UCloud. Consistency is slightly relaxed for this endpoint as it is typically hard to enforce for filesystems. Provider’s are heavily encouraged to try and find all files on the first request and return information about them in subsequent requests. For example, a client might list all file names in the initial request and use this list for all subsequent requests and retrieve additional information about the files. If the files no longer exist then the provider should simply not include these results.