GET sub-accounts/:id/buckets
    • 09 Sep 2024
    • 1 Minute to read
    • PDF

    GET sub-accounts/:id/buckets

    • PDF

    Article summary

    Get Sub-Account Id Buckets

    Returns daily utilizations of all buckets broken down into per-bucket components that belong to the specified Sub-Account.

    URL (GET)

    /api/v1/sub-accounts/:subAccountId/buckets

    Parameters

    Key NameDescriptionRequired
    pageList page number
    sizeList page size
    from (yyyy-mm-dd)Date range from year, month, day
    to (yyyy-mm-dd)Date range to year, month, day
    latest


    Ture or false. When set to true, the latest utilization for the account is returned.
    nameFilter by name
    bucketNumberFilter by bucket number
    regionFilter by region

    Request Body

    None

    Response

    {
        "success": true,
        "message": "Successfully read!",
        "data": {
            "items": [
                {
                    "id": 4344526,
                    "startTime": "2022-07-26",
                    "endTime": "2022-07-27",
                    "activeStorage": 0.00488281252,
                    "deletedStorage": 0,
                    "storageWrote": 0,
                    "storageRead": 0,
                    "activeObjects": 1,
                    "deletedObjects": 0,
                    "egress": 0,
                    "ingress": 0,
                    "apiCalls": 0,
                    "name": "oc19.s1.bkt",
                    "region": "us-east-1",
                    "bucketNumber": 1402212
                },
                {
                    "id": 4339553,
                    "startTime": "2022-07-25",
                    "endTime": "2022-07-26",
                    "activeStorage": 0.00488281252,
                    "deletedStorage": 0,
                    "storageWrote": 0,
                    "storageRead": 0,
                    "activeObjects": 1,
                    "deletedObjects": 0,
                    "egress": 0,
                    "ingress": 0,
                    "apiCalls": 0,
                    "name": "oc19.s1.bkt",
                    "region": "us-east-1",
                    "bucketNumber": 1402212
                },



    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence