Skip to main content

Get Bucket Usage

GET 

/storage/buckets/:bucketName/usage/storage

Returns the amount of storage space and number of files a bucket takes up.

Request

Path Parameters

    bucketName stringrequired

    The name of the bucket

Responses

200: Bucket Storage Usage

Schema

    data

    object[]

  • Array [

  • size integer

    The size of the bucket in bytes

    size_kb integer

    The size of the bucket in kilobytes

    num_objects integer

    The number of objects in the bucket

    timestamp date-time

    The time the snapshot was taken

  • ]

  • meta

    object

    page_number integer
    page_size integer
    total_pages integer
    total_results integer
Loading...