Common resources
Navixy Repository API is a work in progress. This documentation is published for preview purposes only and doesn't reflect a stable release. Structure, field names, and behaviors are subject to change.
Foundational types, scalars, and interfaces used throughout the API.
Queries
node
Retrieves any entity by its globally unique identifier.
node(id: ID!): NodeArguments
id
ID!
The ID of the entity to retrieve.
Output types:
Node
An object with a globally unique identifier.
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
nodes
Retrieves multiple entities by their globally unique identifiers. Returns items in the same order as the input IDs.
Arguments
ids
[ID!]!
The IDs of the entities to retrieve.
Output types:
Node
An object with a globally unique identifier.
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
Objects
PageInfo
Information about the current page in a paginated connection.
hasNextPage
Boolean!
Whether more items exist after the current page.
hasPreviousPage
Boolean!
Whether more items exist before the current page.
startCursor
String
The cursor pointing to the first item in the current page.
endCursor
String
The cursor pointing to the last item in the current page.
CountInfo
Information about the total count of items in a connection.
count
Int!
The count of items matching the filter.
DeletePayload
The result of a delete mutation.
deletedId
ID!
The ID of the deleted entity.
Enums
OrderDirection
The direction for sorting query results.
ASC
Sort in ascending order (A→Z, 0→9, oldest→newest). NULL values appear last.
DESC
Sort in descending order (Z→A, 9→0, newest→oldest). NULL values appear first.
CountPrecision
The precision level of a total count value.
EXACT
The count is exact, calculated using COUNT(*).
APPROXIMATE
The count is approximate, derived from table statistics.
AT_LEAST
At least this many items exist. Counting stopped early for performance reasons.
Interfaces
Node
An object with a globally unique identifier.
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
Titled
An object with a human-readable display name.
title
String!
The human-readable display name.
Customizable
An object that supports custom field values.
customFields
JSON!
Custom field values as a key-value map. Keys are CustomFieldDefinition codes.
Versioned
An object that supports optimistic locking for concurrency control.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
MultiValue
An interface for field parameters that support selecting multiple values.
isMulti
Boolean!
Whether multiple values can be selected for this field.
Edge
An edge in a paginated connection.
cursor
String!
An opaque cursor for this edge, used for pagination.
Connection
A paginated connection following the Relay Cursor Connections specification.
Scalars
DateTime
An ISO 8601 datetime string with timezone (RFC 3339).
Format
YYYY-MM-DDTHH:mm:ss.sssZ
Example
2025-01-15T14:30:00.000Z
Date
An ISO 8601 date string without time component (RFC 3339).
JSON
An arbitrary JSON value. Can be an object, array, string, number, boolean, or null.
Format
Any valid JSON
Example
{"key": "value", "count": 42}
Specification
GeoJSON
A GeoJSON geometry object (RFC 7946). Supports Point, LineString, Polygon, and other geometry types.
Format
GeoJSON geometry object
Example
{"type": "Point", "coordinates": [125.6, 10.1]}
Specification
Latitude
A geographic latitude coordinate in decimal degrees.
Format
-90.0 to 90.0
Example
37.7749
Longitude
A geographic longitude coordinate in decimal degrees.
Format
-180.0 to 180.0
Example
-122.4194
Locale
A BCP 47 language tag identifying a user locale.
Format
language-REGION
Example
en-US, fr-CA
EmailAddress
An email address conforming to RFC 5322.
Format
user@domain
Example
user@example.com
HexColorCode
A hexadecimal color code. Supports 3-digit (#RGB) or 6-digit (#RRGGBB) format.
Format
#RRGGBB
Example
#FF5733
CountryCode
An ISO 3166-1 alpha-2 country code. Example: US, GB, ES.
Format
Two uppercase letters
Example
US
Code
A machine-readable identifier code.
Constraints:
Allowed characters: ASCII letters (a-z, A-Z), digits (0-9), underscore (_), dot (.), hyphen (-)
Must start with a letter or digit
Case-insensitive for uniqueness checks
Maximum length: 64 characters
Naming conventions:
System items: UPPER_SNAKE_CASE (e.g., DEVICE_TYPE, ACTIVE)
User items: any valid format (e.g., vehicle_car, sensor-v2)
Format
UPPER_SNAKE_CASE, lower_snake_case
Example
DEVICE_TYPE, vehicle_type
Last updated
Was this helpful?