Skip to main content

Admin Actions

Administrative actions create, modify, or delete XINA data structures, perform user management, or other system functions.

Schema Actions

SCHEMA

Returns the complete environment schema as a JSON object.

{
  "action" : "schema"
}

CREATE

Creates new groups, teams, and databases.

CREATE GROUP

{
  "action" : "create",
  "create" : "group",
  "parent" : <group (optional)>
  "group"  : <group definition>
}

CREATE DATABASE

{
  "action"   : "create",
  "create"   : "database",
  "parent"   : <group or database>
  "database" : <database definition>
}

CREATE TEAM

{
  "action" : "create",
  "create" : "team",
  "team"   : <team definition>
}

ALTER

Edit group, database, team, or user properties.

Under Construction


DROP

Permanently delete teams, groups, databases, or users.

Under Construction

JOIN

LEAVE


User Actions

GRANT


REVOKE


REQUEST

Request an arbitrary action to be performed by a user with required permissions.


RETRACT

Retract one or more user requests.


APPROVE


REJECT


System Functions

ACCESS

Used to acquire temporary access ID for websocket connection.

Example

{
  "action" : "access"
}

Result

{
  "access_id" : "<string>"
  "expires" : <unix_ms_timestamp>
}