Users
Reference for the me query, with the caller's organizations, workspaces, products, and roles, and for user-defined catalog items and their mutations.
The me query, which describes the caller, and the catalog items that users define in their workspace.
Queries
me (query)
The caller, with the organizations and workspaces they can switch to.
me: Me!Output types:
Mutations
userCatalogItemCreate
Creates a new user catalog item.
userCatalogItemCreate(
input: UserCatalogItemCreateInput!
): UserCatalogItemPayload @effect(kinds: [NONE])Arguments
input
UserCatalogItemCreateInput!
The input fields for creating the item.
Input types:
Output types:
userCatalogItemUpdate
Updates a user catalog item.
Arguments
input
UserCatalogItemUpdateInput!
The input fields for updating the item.
Input types:
Output types:
userCatalogItemDelete
Deletes a user catalog item.
Refused with IN_USE while another live entity points at it through one of its own fields, custom-field values and field definitions included; the error's blockers name the first five of them, and hasMoreBlockers says whether it left any out.
Arguments
input
CatalogItemDeleteInput!
The input fields for deleting the item.
Input types:
Output types:
Objects
UserCatalogItem
A user-defined catalog item that supports hierarchical workspace.
Implements: CatalogItem, HierarchicalCatalogItem, Node, Versioned, Titled
id
ID!
A globally unique identifier.
version
Int!
The version number for optimistic locking.
title
String!
The human-readable display name. Can be localized.
code
Code!
A machine-readable code, unique within the catalog for a given workspace. A workspace item may reuse the code of the system item it overrides.
order
Int!
The display order within the same level or category.
Arguments of children
orderBy
The ordering options for the returned children. Default: { field: ORDER, direction: ASC }.
Me
The caller of the request, and the organizations and workspaces that the caller can switch to.
id
ID!
The ID of the caller. Other operations of the API use the same ID for the caller.
title
String!
The caller's display name, taken from the access token: the full name, or the email address when the token has no name. The API doesn't store it.
organizations
Every organization in which the caller is an active member in Navixy Console, with its workspaces except terminated ones. Each organization lists only the workspaces that the caller's roles reach. null, with an error at this path, when the list cannot be read: PERMISSION_DENIED when the access token names no caller, NOT_FOUND when Navixy Console has no active user with the caller's ID, and SERVICE_UNAVAILABLE when Navixy Console doesn't answer.
products
[MeProduct!]
The products that the caller may use in the workspace of the access token: the products of the token that a role of the caller covers. The list includes products whose isActive is false. Empty when the token's workspace isn't found or the caller has no role in it. null, with a SERVICE_UNAVAILABLE error at this path, when the product list can't be read.
roles
[MeRole!]
The caller's roles in the workspace of the access token: the active roles of the token's organization that reach this workspace. The API checks every permission against these roles. Empty when the token's workspace isn't found or the caller has no role in it.
MeProduct
A product that the caller may use.
Implements: Titled
title
String!
The name of the product, or its code when the product has no name.
description
String
url
String
The product's user-facing address.
internalPath
String
The product's internal address: an absolute http or https URL, or a path that starts with a single /. Null when none is set.
isActive
Boolean!
Whether the product is switched on.
MeRole
A role of the caller.
Implements: Titled
id
ID!
The ID of the role. The access token lists the caller's roles by these IDs.
title
String!
The human-readable display name.
description
String
isSystem
Boolean!
true for a built-in role, which no administrator can edit.
AccessibleOrganization
An organization the caller can switch to.
id
ID!
The ID of the organization in Navixy Console.
title
String!
The organization's display name in Console.
workspaces
The organization's workspaces other than terminated ones. May be empty.
AccessibleWorkspace
A workspace the caller can switch to.
id
ID!
The ID of the workspace in Navixy Console: the workspace ID that an access token names. When the workspace has data in Business Data Repository, its Workspace.id is the same. Workspaces created before the current ID format aren't listed.
title
String!
The workspace's name in Console.
isActive
Boolean!
Whether the workspace is ready: true when its status in Navixy Console is active. Workspace.isActive follows the same rule. A workspace still being created, stopped or failed is listed with false.
UserCatalogItemPayload
The result of a user catalog item mutation.
Inputs
UserCatalogItemCreateInput
Input for creating a user catalog item.
catalogId
ID!
The catalog to add the item to.
code
The machine-readable code, unique within the catalog and workspace. Auto-generated from title if omitted.
title
String!
The display name.
order
Int
The display order. Auto-calculated as last position if omitted.
parentId
ID
The parent item ID for hierarchical catalogs.
UserCatalogItemUpdateInput
Input for updating a user catalog item.
id
ID!
The item ID to update.
version
Int
The current version for optimistic locking. If omitted, auto-increments without conflict check.
title
String
The new display name.
order
Int
The new display order.
parentId
ID
The new parent ID for hierarchical items.
Pagination types
UserCatalogItemConnection
A paginated list of UserCatalogItem items.
Implements: Connection
UserCatalogItemEdge
An edge in the UserCatalogItem connection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
See also
Last updated
Was this helpful?