Overview
The LiveObjects REST API enables you to:- Query current state of LiveObjects
- Retrieve object history
- List objects in a namespace
- Perform administrative operations
Base URL
All LiveObjects REST API requests use:Authentication
The LiveObjects REST API uses the same authentication as the standard REST API:Basic Authentication
Token Authentication
Objects
Query and manage LiveObject instances.Get Object
Retrieve the current state of a LiveObject:string
Unique identifier for the object.
object
Current state data of the object.
string
Version identifier for the current state.
integer
Timestamp when the object was last modified.
List Objects
List all objects in a namespace:integer
default:"100"
Maximum number of objects to return.
string
Filter objects by ID prefix.
Get Object History
Retrieve the history of state changes for an object:integer
Start time in milliseconds since epoch.
integer
End time in milliseconds since epoch.
integer
default:"100"
Maximum number of history entries to return.
string
default:"backwards"
Query direction:
forwards or backwards.State Operations
Query and modify object state.Update Object State
Update the state of a LiveObject:object
required
New state data to merge with existing state.
string
Optional version for optimistic concurrency control.
Delete Object
Delete a LiveObject:Namespaces
Manage LiveObjects namespaces.Get Namespace Info
Retrieve information about a namespace:string
Namespace identifier.
integer
Number of objects in the namespace.
integer
Timestamp of last activity in milliseconds.
List Namespaces
List all LiveObjects namespaces:Subscriptions
Manage subscriptions to LiveObjects state changes.Get Active Subscriptions
Retrieve active subscriptions for an object:array
List of active subscriptions.
string
Connection ID of the subscriber.
string
Client ID of the subscriber.
Error Handling
The LiveObjects REST API uses standard HTTP status codes: Common errors:400- Invalid request parameters401- Authentication failed403- Insufficient permissions404- Object or namespace not found409- Version conflict (optimistic concurrency)429- Rate limit exceeded
Rate Limits
The LiveObjects REST API shares rate limits with the standard REST API:- State queries: Up to 50 requests per second
- State updates: Up to 2,000 updates per second
