Release Notes
Announcements
API | Operation Name | Operation Description |
List objects and historical version information. | This function is used to list all objects and their historical versions in the bucket. You can filter specific objects and their historical versions by specifying parameters. |
// Bucket name, which consists of bucketname-appid (appid must be included), can be viewed in the COS console. https://console.tencentcloud.com/cos5/bucketlet bucket = "examplebucket-1250000000";let request = new GetBucketObjectVersionsRequest(bucket);try {let result = await CosXmlBaseService.default().getBucketObjectVersions(request)// result includes http headers, etc.} catch (e) {// Exception handling}
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback