OBJECT

Server

Server

link GraphQL Schema definition

  • type Server implements NyansaEntity, HasLocation, HasVoyanceUrl {
  • # Unique identifier of the server
  • uuid: String!
  • # IP address of the server
  • ipAddress: String
  • # Hostname
  • hostname: String
  • # Best description for the server
  • description: String
  • # List of server types
  • serverTypes: [String!]!
  • # Last seen time of the server
  • lastUpdated: Date
  • # First seen time of the server
  • createdAt: Date
  • # Devices handled by this server between fromDate to now
  • #
  • # Arguments
  • # search: Search string for Omni-search
  • # pageSize: Size of a page
  • # page: Page number to return
  • # sortBy: Fields to sort results by
  • # sortOrder: Order to sort results by
  • # fromDate: Returns results updated after this time
  • # locationFilter: Filter by locations of these names
  • relatedDevices(
  • search: String,
  • pageSize: Int,
  • page: Int,
  • sortBy: [String!],
  • sortOrder: SortingOrder,
  • fromDate: Date,
  • locationFilter: [String!]
  • ): DeviceList!
  • # Metrics aggregated over last ten minutes
  • tenMinAggregatedMetrics: EntityAggregatedMetrics
  • # Metrics aggregated over last hour
  • oneHourAggregatedMetrics: EntityAggregatedMetrics
  • # Metrics aggregated over last day
  • oneDayAggregatedMetrics: EntityAggregatedMetrics
  • # MAC address of the entity
  • macAddr: String
  • # Location names
  • locationNames: [String!]!
  • # URL to Voyance
  • voyanceUrl: String
  • }