System Actions
ACCESSSystem actions are used for internal functions, client-specific features, and debugging.
ACCESS
ECHOReturns a temporary websocket access ID. Only used in the web client.
| Property | Value | Req | Default |
|---|---|---|---|
| action | "access" |
✓ |
IFResponse
| Property | Value |
|---|---|
| access_id | string |
| expires | number (Unix ms) |
ECHO
SYNCReturns a string sent in the action. Used for debugging.
| Property | Value | Req | Default |
|---|---|---|---|
| action | "echo" |
✓ | |
| echo | string |
✓ |
Response
| Property | Value |
|---|---|
| echo | string |
IF
Performs a write-only action depending on query based conditional check. The value of the first column of the first row is checked for each query, and the first returning true is executed. If none match an optional else action will be executed. Otherwise, no action occurs.
| Property | Value | Req | Default |
|---|---|---|---|
| action | "if" |
✓ | |
| do | condition[] |
✓ | |
| else | action |
Condition
| Property | Value | Req |
|---|---|---|
| if | select | ✓ |
| then | action | ✓ |
SYNC
Returns a string sent in the action. Used for debugging. Redu
| Property | Value | Req | Default |
|---|---|---|---|
| action | "echo" |
✓ | |
| id | string |
✓ |
Response
| Property | Value |
|---|---|
| id | string |
VIEW
WAIT