Networks, devices, and sensors · GraphQL query

deviceManufacturer query

Retrieves a DeviceManufacturer by its graph object id: a hardware vendor of discovered devices, most often resolved from the MAC address OUI (Organizationally Unique Identifier). Its devices and models fields list the Device and DeviceModel objects attributed to it; find manufacturers with graphSearch on the DEVICE_MANUFACTURER object type. Returns a not-found error when no object has the id, and an error when the id belongs to another object type.

Response

Returns a DeviceManufacturerPayload!

Arguments

Name Description
id - ID! The DeviceManufacturer identifier.
mockOptions - MockDataInput Options for mock data generation. Options supported: none.

Example

Query

query deviceManufacturer(
  $id: ID!,
  $mockOptions: MockDataInput
) {
  deviceManufacturer(
    id: $id,
    mockOptions: $mockOptions
  ) {
    node {
      id
      orgId
      objectType
      objectTypeLabel
      displayName
      firstSeen
      lastSeen
      seen {
        ...SeenOnlineFragment
      }
      createdAt
      updatedAt
      snapshotInfo {
        ...GraphObjectSnapshotInfoFragment
      }
      name
      url
      devices {
        ...DeviceConnectionFragment
      }
      models {
        ...DeviceModelConnectionFragment
      }
      findings {
        ...FindingsPayloadFragment
      }
      issues {
        ...IssuesPayloadFragment
      }
      issuesSummary {
        ...IssuesSummaryFragment
      }
    }
  }
}

Variables

{"id": 4, "mockOptions": MockDataInput}

Response

{
  "data": {
    "deviceManufacturer": {"node": DeviceManufacturer}
  }
}