Documentation

Mistake on this page? Email us

Hierarchy

Index

Properties

Properties

filter

filter: object

The device filter

Constructed like so:

 filter: {
   state: { $eq: "bootstrapped" },
   createdAt: { $gte: new Date("01-01-2014"), $lte: new Date("01-01-2018") },
   updatedAt: { $gte: new Date("01-01-2014"), $lte: new Date("01-01-2018") },
   customAttributes: {
     <custom_name_1>: { $eq: "custom_value_1" },
     <custom_name_2>: { $ne: "custom_value_2" }
   }
 }

Type declaration

name

name: string

The name of the query