Class Buckets

Hierarchy

Index

Constructors

constructor

Methods

amount

  • amount(bucketID: GenericID): Promise<number>

create

delete

  • delete(bucketID: GenericID): Promise<string>

deleteVariable

  • deleteVariable(bucketID: GenericID, deleteParams: { origin: string; variable: string }): Promise<string>
  • Delete a bucket variable

    Parameters

    • bucketID: GenericID

      Bucket ID

    • deleteParams: { origin: string; variable: string }

      Variable Details

      • origin: string
      • variable: string

    Returns Promise<string>

edit

exportData

getDevicesAssociated

info

list

  • Retrieves a list with all buckets from account

    default
    queryObj: {
      page: 1,
      fields: ["id", "name"],
      filter: {},
      amount: 20,
      orderBy: "name,asc",
    }

    Parameters

    Returns Promise<BucketInfo[]>

listVariables