← API reference
CANONICAL TYPE REFERENCE

ControllerState

An IoT controller that manages devices

Unique identifier

Associated network ID

handleString!

Unique handle for the controller

nameString

Display name

Controller description

hostString

Host address

portInt

Port number

isActiveBoolean!

Whether the controller is active

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

View exact SDL
"""An IoT controller that manages devices"""
type ControllerState @iac_resource(name: "controller") @iac_ops(create: "createController", read: "getController", update: "updateController", delete: "deleteController") @iac_replace(strategy: DESTROY_BEFORE_CREATE) {
  """Unique identifier"""
  id: ControllerID! @iac_identity(assignedBy: SERVER) @iac_computed
  """Associated network ID"""
  networkId: NetworkID @iac_ref(resource: "network")
  """Unique handle for the controller"""
  handle: String! @iac_forcesReplace
  """Display name"""
  name: String
  """Controller description"""
  description: String
  """Host address"""
  host: String
  """Port number"""
  port: Int
  """Whether the controller is active"""
  isActive: Boolean!
  """Creation timestamp (ISO8601)"""
  createdAt: String! @iac_computed
  """Last update timestamp (ISO8601)"""
  updatedAt: String! @iac_computed
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.