Skip to main content
GET
/
resources
/
buckets
Get buckets
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

OK

An AWS S3 bucket created inside Narrative's AWS account assigned to a specific company.

records
object[]