Zuplo
The Zuplo Developer API, powered by Zuplo

Metering - Buckets

Endpoint:https://dev.zuplo.com

API Metering bucket management


Lists metering buckets

GET
https://dev.zuplo.com
/v1/metering

Lists all buckets belonging to this account.

Lists metering bucketsResponses

The request has succeeded.

  • dataobject[] · required
  • limitinteger · uint32
    Example: 1000
  • offsetinteger · uint32
    Example: 0
  • totalinteger · uint32

Creates a bucket

POST
https://dev.zuplo.com
/v1/metering

Creates a new bucket for this account.

Creates a bucketResponses

The request has succeeded.

  • createdOnstring · date-time · readOnly · required

    When the item was created.

    Example: 2023-04-18T05:54:34.408Z
  • updatedOnstring · date-time · readOnly · required

    When the item was last updated.

    Example: 2023-04-20T05:54:34.408Z
  • idstring · readOnly · required
    Example: mtr_STYBm01FabkgZOP3KtkYdJuO
  • accountNamestring · readOnly · required
    Example: my-account

Gets a bucket

GET
https://dev.zuplo.com
/v1/metering/{bucketId}

Returns the details for a bucket.

Gets a bucketpath Parameters

  • bucketIdstring · required

    The id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.

Gets a bucketResponses

The request has succeeded.

  • createdOnstring · date-time · readOnly · required

    When the item was created.

    Example: 2023-04-18T05:54:34.408Z
  • updatedOnstring · date-time · readOnly · required

    When the item was last updated.

    Example: 2023-04-20T05:54:34.408Z
  • idstring · readOnly · required
    Example: mtr_STYBm01FabkgZOP3KtkYdJuO
  • accountNamestring · readOnly · required
    Example: my-account

Deletes a bucket

DELETE
https://dev.zuplo.com
/v1/metering/{bucketId}

Deletes a bucket and any related resources

Deletes a bucketpath Parameters

  • bucketIdstring · required

    The id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.

Deletes a bucketResponses

There is no content to send for this request, but the headers may be useful.

No data returned