curl --request GET \
--url https://api-dev.narrative.io/resources/buckets \
--header 'Authorization: Bearer <token>'{
"records": [
{
"id": "45b40bf5-02fc-4f18-bfcd-50ac58dabfa1",
"company_id": 1,
"auth": {
"type": "bucket_policy",
"account_id": "123456789012"
},
"name": "nio-yourcompany-821627dd2931",
"created_at": "2021-08-31T20:22:02Z",
"updated_at": "2021-08-31T20:22:02Z"
}
]
}Return the AWS S3 buckets assigned to the authenticated company.
curl --request GET \
--url https://api-dev.narrative.io/resources/buckets \
--header 'Authorization: Bearer <token>'{
"records": [
{
"id": "45b40bf5-02fc-4f18-bfcd-50ac58dabfa1",
"company_id": 1,
"auth": {
"type": "bucket_policy",
"account_id": "123456789012"
},
"name": "nio-yourcompany-821627dd2931",
"created_at": "2021-08-31T20:22:02Z",
"updated_at": "2021-08-31T20:22:02Z"
}
]
}