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
ThePermanently ALTERdelete actionteams, changesgroups, the definition of a group, database,databases, or user.users.
Under Construction
JOIN
LEAVE
User Actions
TaskGRANT
Actions
cancel
REVOKE
REQUEST
TheRequest CANCELan arbitrary action cancels task(s) assigned to thebe XINAperformed Runby application.a user with required permissions.
{
"action"RETRACT
:Retract "cancel",one "tasks"or :more [user <taskrequests.
ID>,
...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>
}