Skip to main content

NodeService

This is a node services table

type NodeService implements Node {
id: ID!
name: String!
type: NodeServiceTypeEnum!
poll: String
siteName: String
enabled: Boolean!
createdAt: GQLTDate!
updatedAt: GQLTDate!
devices(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceOrderBy] = []
where: GQLTQueryDeviceWhere
include: [GQLTDeviceIncludeObject] = []
): DeviceBelongsToManyDevicesList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

This is the name of node service that will be displayed.

type (NodeServiceTypeEnum!)#

This is the selection of what type will be your node service.

poll (String)#

This is to know what scheduled time that the service will run.

siteName (String)#

This is the name of the site where node service have been deployed.

enabled (Boolean!)#

This is the inidicator if the node service is enabled or disabled.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

devices (DeviceBelongsToManyDevicesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

Interfaces#

Node#

An object with an ID