Hi guys, the List Bucket API is now available.
List Bucket API is a GET request that lists the buckets you have created with your account.
The format is:
GET /oss/v2/buckets[?region={region}&limit={limit}&startAt={startAt}]
region
is the region where the bucket resides. Currently defaults to the US. This function will be more useful when we start storing data in different continents for better performance.
limit
is the number of buckets you'd like to retrieve from this request. Minimum 1, maximum 100. Defaults to 10.
startAt
is the point where you continue from. No default value. Used for pagination.
Sample request:
GET /oss/v2/buckets?limit=10
Host: developer.api.autodesk.com
Authorization: Bearer YOUR_TOKEN
Sample Response:
Status: 200 OK
{
"items": [
{
"bucketKey": "test-bucket-000",
"createDate": 1445334118731,
"policyKey": "temporary"
}
]
}
Comments
You can follow this conversation by subscribing to the comment feed for this post.