realtime
realtime.publish
Publish a typed realtime event.
Parameters
No parameters.
Response
A JSON object.
Errors
A failed call answers the error envelope with a typed code.
Example
substrio op realtime.publish
realtime.stats
Read realtime state.
Parameters
No parameters.
Response
A JSON object.
Errors
A failed call answers the error envelope with a typed code.
Example
curl "$SUBSTRIO_URL/v1/realtime/stats" \
-H "Authorization: Bearer $SUBSTRIO_KEY"
realtime.stream
Subscribe to typed realtime events.
Parameters
No parameters.
Response
A JSON object.
Errors
A failed call answers the error envelope with a typed code.
Example
curl "$SUBSTRIO_URL/v1/realtime" \
-H "Authorization: Bearer $SUBSTRIO_KEY"