Everabyte API
    Everabyte API
    • Back to home
    • Bucket
    • Create
      POST
    • Update
      PUT
    • Delete
      DELETE
    • Check size
      GET

      Check size

      Prod
      https://api.everabyte.io/api
      Prod
      https://api.everabyte.io/api
      GET
      https://api.everabyte.io/api
      /bucket/size/n2c6tkw2etftult37g3jyql0
      This endpoint retrieves the size of a specified bucket.
      Endpoint: /bucket/size/{bucketId}
      Method: GET
      Path Parameters:
      bucketId (required): The ID of the bucket for which the size is being retrieved. Example: my-example-bucket
      Request Body Parameters:
      None. This endpoint does not accept a request body.
      Example Request:
      GET /bucket/size/my-example-bucket
      This request retrieves the size of the bucket with the ID my-example-bucket.
      Response Codes:
      200 OK: Successfully retrieved the bucket size. The response body will typically contain the size in bytes (or another appropriate unit). Example response body:
      {
        "size": 1234567890 // Size in bytes
      }
      or
      {
          "size": "1.23 GB" // Size in human-readable format
      }
      400 Bad Request: Invalid request parameters (e.g., malformed bucketId).
      404 Not Found: Bucket not found.
      500 Internal Server Error: Server error.

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://api.everabyte.io/api/bucket/size/n2c6tkw2etftult37g3jyql0'

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Example
      {}
      Previous
      Delete
      Built with