EnSync Command Reference
This directory contains documentation for all EnSync commands. Each command is documented in its own page with detailed overview and command reference.
Available Commands
Connection Management
CONN - Initiate a connection to the EnSync system
Event Publishing
PUB - Publish an event to specified recipients
Event Subscription
Event Actions
Event Management
REPLAY - Request historical events from a specific point
Command Format
All EnSync commands follow a semicolon-delimited format:
Common Parameters
Parameter | Description | Used In |
---|---|---|
CLIENT_ID | ID of the client sending the command | All commands |
EVENT_NAME | Type of event (follows domain/resource/action pattern) | Most commands |
EVENT_IDEM | Unique ID of a specific event | DISCARD, DEFER, ACK |
Response Format
All responses follow a consistent format:
Success
Error
URL-Like Event Naming
Events in EnSync follow a URL-like hierarchical pattern:
For example:
user/profile/updated
order/payment/processed
system/maintenance/scheduled
This pattern enables hierarchical filtering and logical organization of events.