Is it safe to rely on versions ordering in ListObjectVersions response?

0

I have tried calling ListObjectVersions several times and it looks like versions are always sorted from newest to oldest. Is it safe to rely on the assumption that ListObjectVersions will always return all object versions and versions will be sorted from newest to oldest?

Mojex
已提问 1 年前522 查看次数
1 回答
0
已接受的回答

Hello,

The second example in the documentation states that objects are returned in the order they are stored: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions.html#API_ListObjectVersions_Examples

Regards, Jon

profile pictureAWS
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则