OBJECT

Query

The root query type which gives access points into the data universe.

link GraphQL Schema definition

  • type Query implements Node {
  • # Exposes the root query type nested one level down. This is helpful for Relay 1
  • # which can only query top level fields if they are in a particular form.
  • query: Query!
  • # The root query type must be a `Node` to work well with Relay 1 mutations. This
  • # just resolves to `query`.
  • nodeId: ID!
  • # Fetches an object given its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID`.
  • node(nodeId: ID!): Node
  • # Reads and enables pagination through a set of `Deployment`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Deployment`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allDeployments(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DeploymentsOrderBy!],
  • condition: DeploymentCondition,
  • filter: DeploymentFilter
  • ): DeploymentsConnection
  • # Reads and enables pagination through a set of `DetectionItem`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DetectionItem`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allDetectionItems(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DetectionItemsOrderBy!],
  • condition: DetectionItemCondition,
  • filter: DetectionItemFilter
  • ): DetectionItemsConnection
  • # Reads and enables pagination through a set of `Image`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Image`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • # includeArchived: Indicates whether archived items should be
  • # included in the results or not.
  • allImages(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ImagesOrderBy!],
  • condition: ImageCondition,
  • filter: ImageFilter,
  • includeArchived: IncludeArchivedOption
  • ): ImagesConnection
  • # Reads and enables pagination through a set of `ImageAnnotation`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `ImageAnnotation`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allImageAnnotations(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ImageAnnotationsOrderBy!],
  • condition: ImageAnnotationCondition,
  • filter: ImageAnnotationFilter
  • ): ImageAnnotationsConnection
  • # Reads and enables pagination through a set of `Model`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Model`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allModels(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ModelsOrderBy!],
  • condition: ModelCondition,
  • filter: ModelFilter
  • ): ModelsConnection
  • # Reads and enables pagination through a set of `ModelDeploymentRule`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `ModelDeploymentRule`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allModelDeploymentRules(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ModelDeploymentRulesOrderBy!],
  • condition: ModelDeploymentRuleCondition,
  • filter: ModelDeploymentRuleFilter
  • ): ModelDeploymentRulesConnection
  • # Reads and enables pagination through a set of `ModelDetectionItem`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `ModelDetectionItem`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allModelDetectionItems(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ModelDetectionItemsOrderBy!],
  • condition: ModelDetectionItemCondition,
  • filter: ModelDetectionItemFilter
  • ): ModelDetectionItemsConnection
  • # Reads and enables pagination through a set of `OrgUser`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `OrgUser`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allOrgUsers(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [OrgUsersOrderBy!],
  • condition: OrgUserCondition,
  • filter: OrgUserFilter
  • ): OrgUsersConnection
  • # Reads and enables pagination through a set of `Organization`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Organization`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allOrganizations(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [OrganizationsOrderBy!],
  • condition: OrganizationCondition,
  • filter: OrganizationFilter
  • ): OrganizationsConnection
  • # Reads and enables pagination through a set of `Server`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Server`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allServers(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ServersOrderBy!],
  • condition: ServerCondition,
  • filter: ServerFilter
  • ): ServersConnection
  • # Reads and enables pagination through a set of `ServerAction`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `ServerAction`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allServerActions(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ServerActionsOrderBy!],
  • condition: ServerActionCondition,
  • filter: ServerActionFilter
  • ): ServerActionsConnection
  • # Reads and enables pagination through a set of `ServerHeartbeat`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `ServerHeartbeat`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allServerHeartbeats(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ServerHeartbeatsOrderBy!],
  • condition: ServerHeartbeatCondition,
  • filter: ServerHeartbeatFilter
  • ): ServerHeartbeatsConnection
  • # Arguments
  • # id: [Not documented]
  • deploymentById(id: UUID!): Deployment
  • # Arguments
  • # id: [Not documented]
  • detectionItemById(id: UUID!): DetectionItem
  • # Arguments
  • # organizationId: [Not documented]
  • # siteId: [Not documented]
  • # customerId: [Not documented]
  • detectionItemByOrganizationIdAndSiteIdAndCustomerId(
  • organizationId: UUID!,
  • siteId: String!,
  • customerId: String!
  • ): DetectionItem
  • # Arguments
  • # id: [Not documented]
  • imageById(id: UUID!): Image
  • # Arguments
  • # id: [Not documented]
  • imageAnnotationById(id: UUID!): ImageAnnotation
  • # Arguments
  • # id: [Not documented]
  • modelById(id: UUID!): Model
  • # Arguments
  • # id: [Not documented]
  • modelDeploymentRuleById(id: UUID!): ModelDeploymentRule
  • # Arguments
  • # modelId: [Not documented]
  • # detectionItemId: [Not documented]
  • modelDetectionItemByModelIdAndDetectionItemId(
  • modelId: UUID!,
  • detectionItemId: UUID!
  • ): ModelDetectionItem
  • # Arguments
  • # id: [Not documented]
  • modelDetectionItemById(id: UUID!): ModelDetectionItem
  • # Arguments
  • # userId: [Not documented]
  • orgUserByUserId(userId: UUID!): OrgUser
  • # Arguments
  • # id: [Not documented]
  • organizationById(id: UUID!): Organization
  • # Arguments
  • # userId: [Not documented]
  • serverByUserId(userId: UUID!): Server
  • # Arguments
  • # deviceId: [Not documented]
  • serverByDeviceId(deviceId: UUID!): Server
  • # Arguments
  • # serialNumber: [Not documented]
  • serverBySerialNumber(serialNumber: String!): Server
  • # Arguments
  • # id: [Not documented]
  • serverActionById(id: UUID!): ServerAction
  • # Arguments
  • # deviceId: [Not documented]
  • # createdAt: [Not documented]
  • serverHeartbeatByDeviceIdAndCreatedAt(
  • deviceId: UUID!,
  • createdAt: Datetime!
  • ): ServerHeartbeat
  • # Arguments
  • # organizationId: [Not documented]
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # filter: A filter to be used in determining which values should
  • # be returned by the collection.
  • allTags(
  • organizationId: UUID,
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • filter: StringFilter
  • ): AllTagsConnection
  • # Gets the user who was identified by our JWT.
  • currentUser: OrgUser
  • # Arguments
  • # email: [Not documented]
  • orgUserByEmail(email: String!): OrgUser
  • # Reads a single `Deployment` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `Deployment`.
  • deployment(nodeId: ID!): Deployment
  • # Reads a single `DetectionItem` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `DetectionItem`.
  • detectionItem(nodeId: ID!): DetectionItem
  • # Reads a single `Image` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `Image`.
  • image(nodeId: ID!): Image
  • # Reads a single `ImageAnnotation` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `ImageAnnotation`.
  • imageAnnotation(nodeId: ID!): ImageAnnotation
  • # Reads a single `Model` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `Model`.
  • model(nodeId: ID!): Model
  • # Reads a single `ModelDeploymentRule` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `ModelDeploymentRule`.
  • modelDeploymentRule(nodeId: ID!): ModelDeploymentRule
  • # Reads a single `ModelDetectionItem` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `ModelDetectionItem`.
  • modelDetectionItem(nodeId: ID!): ModelDetectionItem
  • # Reads a single `OrgUser` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `OrgUser`.
  • orgUser(nodeId: ID!): OrgUser
  • # Reads a single `Organization` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `Organization`.
  • organization(nodeId: ID!): Organization
  • # Reads a single `Server` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `Server`.
  • server(nodeId: ID!): Server
  • # Reads a single `ServerAction` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `ServerAction`.
  • serverAction(nodeId: ID!): ServerAction
  • # Reads a single `ServerHeartbeat` using its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID` to be used in selecting a
  • # single `ServerHeartbeat`.
  • serverHeartbeat(nodeId: ID!): ServerHeartbeat
  • }

link Require by