list_objects
Retrieve object keys from a Qiniu Cloud Storage bucket with pagination support. Specify a prefix for filtered results and use start_after to continue listing from a specific key location. Ideal for managing large datasets.
Instructions
List objects in Qiniu Cloud, list a part each time, you can set start_after to continue listing, when the number of listed objects is less than max_keys, it means that all files are listed. start_after can be the key of the last file in the previous listing.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | Qiniu Cloud Storage bucket Name | |
max_keys | No | Sets the max number of keys returned, default: 20 | |
prefix | No | Specify the prefix of the operation response key. Only keys that meet this prefix will be listed. | |
start_after | No | start_after is where you want Qiniu Cloud to start listing from. Qiniu Cloud starts listing after this specified key. start_after can be any key in the bucket. |
Input Schema (JSON Schema)
{
"properties": {
"bucket": {
"description": "Qiniu Cloud Storage bucket Name",
"type": "string"
},
"max_keys": {
"description": "Sets the max number of keys returned, default: 20",
"type": "integer"
},
"prefix": {
"description": "Specify the prefix of the operation response key. Only keys that meet this prefix will be listed.",
"type": "string"
},
"start_after": {
"description": "start_after is where you want Qiniu Cloud to start listing from. Qiniu Cloud starts listing after this specified key. start_after can be any key in the bucket.",
"type": "string"
}
},
"required": [
"bucket"
],
"type": "object"
}