Actions3
List Files
AI-generatedSummary
List objects in a Huawei Cloud OBS bucket with optional prefix, delimiter, and pagination controls.
Inputs
- bucketName (required) — Name of the OBS bucket
- prefix — Filter results to keys that begin with this prefix (acts as folder path)
- delimiter — Delimiter to group keys (e.g. '/' to list only one folder level)
- maxKeys — Maximum number of objects to return (1–1000)
- returnAll — Whether to fetch all pages and return all results
Output shape
Returns an array of objects. Each item contains json with key, size, lastModified, etag, storageClass, and type 'object'. If a delimiter is used, common prefixes are returned as items with key and type 'prefix'. If no objects match, a single item with bucket, prefix, count 0, and empty objects array is returned.
When returnAll is false, the maxKeys parameter limits the single page results. When returnAll is true, pagination continues via Marker until IsTruncated is 'false'.