Workspaces
Reference for the workspaces a caller can reach through Navixy Console: the accessibleWorkspaces query and the ConsoleWorkspace type with its connection.
The workspaces the caller can access, as Navixy Console reports them, with the organization and the zone each one belongs to.
Queries
accessibleWorkspaces
Workspaces the caller can access, optionally narrowed to one organization.
accessibleWorkspaces(
organizationId: ID
first: Int
after: String
last: Int
before: String
): ConsoleWorkspaceConnection!Arguments
organizationId
ID
Only the workspaces of this organization. Leave it out to list the workspaces of every organization you belong to. A value that isn't an organization ID returns VALIDATION_ERROR with field set to organizationId.
last
Int
The last n elements from the paginated list. Requires before — Console pages backward only from a cursor.
Output types:
Objects
ConsoleWorkspace
A workspace the caller can access, as Console reports it.
id
ID!
The workspace ID, as Console issued it: the same value as Workspace.id in Business Data Repository. node(id:) returns the Business Data Repository Workspace for the workspace that your token names, and null for another workspace.
workspaceName
String!
Human-readable workspace name.
organizationId
ID!
The ID of the organization this workspace belongs to: the same value as ConsoleOrganization.id.
organizationDisplayName
String!
Human-readable name of the organization this workspace belongs to.
status
String!
Console's own workspace-status vocabulary (e.g. "active", "suspended").
zoneDisplayName
String!
Human-readable name of the zone (region/cluster) this workspace is hosted in.
zoneRegion
String
Console's own region code for the zone this workspace is hosted in. Null when the zone has none.
Pagination types
ConsoleWorkspaceConnection
A page of workspaces the caller can access.
Implements: Connection
total
The total count of items matching the filter, with precision APPROXIMATE: Console counts every workspace that matches, including one whose ID isn't a workspace ID of this deployment, such as an older workspace or one issued for another region. This query leaves such a workspace out of edges and nodes, so the count can be higher than what the connection returns.
ConsoleWorkspaceEdge
An edge in a ConsoleWorkspaceConnection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
See also
Last updated
Was this helpful?