Queries

Type: User!
Description: Get the information of the user. It returns data such as the ID of the user, the name, the pending group invitations, the favorite items and other details.

Description: Get the list of all UnaConnect connector types

NameDescription

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Description: Get a connectorType

NameDescription

type (String!)

No description


Description: Get a deviceType

NameDescription

type (String!)

No description


Description: Get a notificationType

NameDescription

type (String!)

No description


Description: Get the list of all UnaConnect device types

NameDescription

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Description: Get the list of all UnaConnect notification types

NameDescription

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Description: Get the list of all UnaConnect user permissions

NameDescription

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Type: Group!
Description: Get general information of a group

NameDescription

groupId (String!)

The id of the group


Description: Get the list of Connectors of a group

NameDescription

groupId (String!)

The id of the group

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Description: Get the single connector of a group

NameDescription

connectorId (String!)

The connector id

groupId (String!)

The id of the group


Description: Get the list of Devices of a group

NameDescription

groupId (String!)

The id of the group

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

ascending (Boolean)

The order of the items by default is ordered by last seen value (most recent seen to the latest seen). If ascending is true, we show the latest seen to the most recent seen.

orderedByLastSeen (Boolean)

DEPRECATED


Description: Get the list of role of a group

NameDescription

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Description: Get the list of users of a group

NameDescription

groupId (String!)

No description

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Type: User!
Description: Get the information of the user

NameDescription

userId (String!)

No description


Description: Get the list of all the groups of the user

NameDescription

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Description: No description

NameDescription

input (RequestGroupByDeviceIdInput)

No description


Description: Get the list of notification of the user per groupId

NameDescription

groupId (String)

The group identifier

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Description: Get the notification

NameDescription

notificationId (String!)

The notification identifier

groupId (String!)

The group identifier


Type: Device!
Description: Get the information of a particular device by providing its id

NameDescription

deviceId (String!)

The device identifier

groupId (String)

The group identifier


Description: Get the generic data of a particular device by providing its id

NameDescription

deviceId (String!)

The device identifier

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

beginDate (AWSTimestamp)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp)

The end timestamp of the period to get the data from

ascending (Boolean)

The order of the items by default is ascending


Description: Get the event data of a particular device by providing its id

NameDescription

deviceId (String!)

The device identifier

limit (Int)

The maximum number of items scan

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

beginDate (AWSTimestamp)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp)

The end timestamp of the period to get the data from

ascending (Boolean)

The order of the items by default is ascending


Description: Get the geolocation data of a particular device by providing its id

NameDescription

deviceId (String!)

The ID of a device

limit (Int)

The maximum number of items to retrive

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

beginDate (AWSTimestamp)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp)

The end timestamp of the period to get the data from

ascending (Boolean)

The order of the items by default is ascending


Description: Get the telemetry data of a particular device by providing its id

NameDescription

deviceId (String!)

The ID of a device

limit (Int)

The maximum number of items to retrive

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

beginDate (AWSTimestamp)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp)

The end timestamp of the period to get the data from

ascending (Boolean)

The order of the items by default is ascending


Description: Get all events of a connector

NameDescription

connectorId (String!)

The id of the connector

groupId (String!)

The id of the group

beginDate (AWSTimestamp!)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp!)

The end timestamp of the period to get the data from

ascending (Boolean)

The order of the items by default is ascending


Description: Get the firmwares uploaded in a group

NameDescription

groupId (String!)

The ID of the group

limit (Int)

The maximum number of items to retrieve

nextToken (String)

The key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.


Description: Get all metrics of a connector

NameDescription

groupId (String!)

The id of the group

connectorId (String!)

The id of the connector

beginDate (AWSTimestamp!)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp!)

The end timestamp of the period to get the data from

timeSpan (AWSTimestamp)

The timespan between each item in seconds


Description: Get all metrics of a device

NameDescription

groupId (String!)

The id of the group

deviceId (String!)

The id of the device

beginDate (AWSTimestamp!)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp!)

The end timestamp of the period to get the data from

timeSpan (AWSTimestamp)

The timespan between each item in seconds


Description: Get all metrics of a group

NameDescription

groupId (String!)

The id of the group

beginDate (AWSTimestamp!)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp!)

The end timestamp of the period to get the data from

timeSpan (AWSTimestamp)

The timespan between each item in seconds


Description: Get all metrics of a group

NameDescription

groupId (String!)

The id of the group

inputText (String!)

The input text


Description: Get the device latest Messages of type Data, Geoloc, Event and Telemetry

NameDescription

deviceId (String!)

The device identifier

latestTimestamp (AWSTimestamp)

The end timestamp of the period to get the messages from, if no provided, it is the request time


Type: URL!
Description: Query to export the device messages as CSV files

NameDescription

devicesIds ([String]!)

The devices IDs to export from

groupId (String!)

The group id

beginDate (AWSTimestamp!)

The begin timestamp of the period to get the data from

endDate (AWSTimestamp!)

The end timestamp of the period to get the data from

type (String)

Type of message to export if not provided, it will send Data messages. Can be DATA, GEOLOC, EVENT or TELEMETRY

format (String)

The format of the data. Can be CSV


Type: URL!
Description: Query to get a presigned URL to UnaConnect Blob Storage and be able to do a PUT to the URL received

NameDescription

type (String!)

The type of data to sent : FIRMWARE_FILE and DEVICE_LIST available

fileName (String!)

The name of file to send


Description: Query to get the groupId according to the app

NameDescription

appId (String!)

The ID of the app


Description: Query to run an unasecured command. Command must be in base64

NameDescription

deviceId (String!)

No description

command (String!)

No description


Description: Query to decrypt an unasecured command. Command must be in base64.

NameDescription

deviceId (String!)

No description

command (String!)

No description


Type: Job!
Description: No description

NameDescription

userId (String!)

No description

id (String!)

No description


Description: No description

NameDescription

deviceId (String!)

No description


Description: No description

NameDescription

groupId (String)

No description


Description: No description

NameDescription

groupId (String)

No description

deviceType (String)

No description


Description: No description