v1

latestSwagger 2.02026-08-04232286653.5 KB
S3Buckets

Lists all S3 buckets in the project and returns their details.

get/projects/{project_id}/storage/s3/buckets

Path parameters

project_idstring required

ID of the project that owns the buckets.

Query parameters

next_page_tokenstring

Token that returns the next page of results.

prev_page_tokenstring

Token that returns the previous page of results.

page_sizeinteger

Maximum number of buckets to return per page.

Response

next_page_tokenstring

Next page token.

prev_page_tokenstring

Previous page token.

Example response

{
  "items": [
    {
      "archived_at": "2021-12-03T19:58:34Z",
      "bucket_size": 2.42,
      "created_at": "2021-12-03T19:58:34Z",
      "location": "us-eaststaging1-a",
      "name": "my-awesome-bucket",
      "project_id": "ab4a6b00-aa5f-408e-a9fb-ac6de5eb45ab",
      "retention_period": 30,
      "s3_url": "https://object.us-eaststaging7-b.crusoecloudcompute.com/my-first-bucket",
      "updated_at": "2021-12-03T19:58:34Z",
      "user_id": "S3U_..."
    }
  ]
}