为什么我的锻造桶没有显示任何物体?
Why does my forge bucket not show any objects?
我已按照 this 教程进行操作并已成功将我的文件上传至:https://developer.api.autodesk.com/oss/v2/buckets/timmyisabucket/objects/audobon_arch.rvt
它已成功上传,我可以通过调用 https://developer.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6dGltbXlpc2FidWNrZXQvYXVkb2Jvbl9hcmNoLnJ2dA==/metadata/c63a6682-a73c-a2a8-a08c-dfeee25781f4/properties
来验证这一点,它成功 returns 所有对象属性。
然而,当我要求 api 列出存储桶内的所有对象时,它只是 returns 一个空列表!
我调用的端点:https://developer.api.autodesk.com/oss/v2/buckets/timmyisabucket/objects
回复:
{
"items": []
}
我哪里错了?
谢谢
为了解决这个问题,Xiaodong Liang 的有用评论让我了解到我的存储桶类型是使用错误的“瞬时”类型创建的,这意味着我的所有内容都会在 24 小时后被删除。
它应该是临时的或持久的。
Transient
Think of this type of storage as a cache. Use it for
ephemeral results. For example, you might use this for objects that
are part of producing other persistent artifacts, but otherwise are
not required to be available later.
Objects older than 24 hours are removed automatically. Each upload of
an object is considered unique, so, for example, if the same rendering
is uploaded multiple times, each of them will have its own retention
period of 24 hours.
Temporary
This type of storage is suitable for artifacts produced for
user-uploaded content where after some period of activity, the user
may rarely access the artifacts.
When an object has reached 30 days of age, it is deleted.
Persistent
Persistent storage is intended for user data. When a file
is uploaded, the owner should expect this item to be available for as
long as the owner account is active, or until he or she deletes the
item.
我已按照 this 教程进行操作并已成功将我的文件上传至:https://developer.api.autodesk.com/oss/v2/buckets/timmyisabucket/objects/audobon_arch.rvt
它已成功上传,我可以通过调用 https://developer.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6dGltbXlpc2FidWNrZXQvYXVkb2Jvbl9hcmNoLnJ2dA==/metadata/c63a6682-a73c-a2a8-a08c-dfeee25781f4/properties
来验证这一点,它成功 returns 所有对象属性。
然而,当我要求 api 列出存储桶内的所有对象时,它只是 returns 一个空列表!
我调用的端点:https://developer.api.autodesk.com/oss/v2/buckets/timmyisabucket/objects
回复:
{
"items": []
}
我哪里错了?
谢谢
为了解决这个问题,Xiaodong Liang 的有用评论让我了解到我的存储桶类型是使用错误的“瞬时”类型创建的,这意味着我的所有内容都会在 24 小时后被删除。
它应该是临时的或持久的。
Transient
Think of this type of storage as a cache. Use it for ephemeral results. For example, you might use this for objects that are part of producing other persistent artifacts, but otherwise are not required to be available later.
Objects older than 24 hours are removed automatically. Each upload of an object is considered unique, so, for example, if the same rendering is uploaded multiple times, each of them will have its own retention period of 24 hours.
Temporary
This type of storage is suitable for artifacts produced for user-uploaded content where after some period of activity, the user may rarely access the artifacts.
When an object has reached 30 days of age, it is deleted.
Persistent
Persistent storage is intended for user data. When a file is uploaded, the owner should expect this item to be available for as long as the owner account is active, or until he or she deletes the item.