Class Devices

Hierarchy

Index

Constructors

constructor

Methods

create

delete

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

edit

info

list

  • Retrieves a list with all devices from the account

    default

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

    Parameters

    Returns Promise<DeviceListItem[]>

paramList

paramRemove

paramSet

tokenCreate

tokenDelete

tokenList

  • Retrieves a list of all tokens

    default

    queryObj: { page: 1, fields: ["name", "token", "permission"], filter: {}, amount: 20, orderBy: "created_at,desc", }

    Parameters

    Returns Promise<Partial<TokenDataList>[]>