get__bucket

Code Samples

# You can also use wget
curl -X GET https://backend.flashback.tech/bucket \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

GET /bucket

List Buckets

Get all storage buckets for the authenticated user's organization

Example responses

200 Response

{
  "success": true,
  "buckets": [
    {
      "name": "string",
      "id": "string",
      "storageType": "string",
      "bucket": "string",
      "key": "string",
      "secret": {},
      "endpoint": "string",
      "region": "string",
      "status": "string",
      "lastStatusAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}

Responses

Status
Meaning
Description
Schema

200

List of storage buckets

Inline

Response Schema

Status Code 200

Name
Type
Required
Restrictions
Description

» success

boolean

false

none

none

» buckets

[object]

false

none

none

»» name

string

false

none

none

»» id

string

false

none

none

»» storageType

string

false

none

none

»» bucket

string

false

none

none

»» key

string

false

none

none

»» secret

object

false

none

none

»» endpoint

string

false

none

none

»» region

string

false

none

none

»» status

string

false

none

none

»» lastStatusAt

string(date-time)

false

none

none

»» createdAt

string(date-time)

false

none

none

To perform this operation, you must be authenticated by means of one of the following methods: BearerAuth

Last updated

Was this helpful?